LED Support

modulename: led-core.ko

configname: CONFIG_NEW_LEDS

Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
Say Y to enable Linux LED support. This allows control of supported
LEDs from both userspace and optionally, by kernel events (triggers).

source code: