LED Pattern Trigger

modulename: ledtrig-pattern.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>LED Trigger support
└─>LED Pattern Trigger
In linux kernel since version 4.2 (release Date: 2015-08-30)  
This allows LEDs to be controlled by a software or hardware pattern
which is a series of tuples, of brightness and duration (ms).
If unsure, say N

source code: