LED One-shot Trigger

modulename: ledtrig-oneshot.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>LED Trigger support
└─>LED One-shot Trigger
In linux kernel since version 3.1 (release Date: 2011-10-24)  
This allows LEDs to blink in one-shot pulses with parameters
controlled via sysfs. It's useful to notify the user on
sporadic events, when there are no clear begin and end trap points,
or on dense events, where this blinks the LED at constant rate if
rearmed continuously.

It also shows how to use the led_blink_set_oneshot() function.

If unsure, say Y.

source code: