j1nx/buildroot-linux-kernel-m3 — pull request #4 by vDorst (2013-04-15 11:29:27+00:00)
Title: Pr led class support+rc trigger

This will help you a bit to support LED Support Class in your device.
Plus it has the Led Trigger Remote Control.

It is also possible to use the led as a link active for wifi modele.

More information: https://www.kernel.org/doc/Documentation/leds/leds-class.txt

You can turn on/off the leds by changing the brightness or the trigger.

turn on:
echo 1 > /sys/class/leds/StatusLed/brightness
turn off:
echo 0 > /sys/class/leds/StatusLed/brightness

changing trigger default-on:
echo default-on > /sys/class/leds/StatusLed/trigger
changing trigger none:
echo none > /sys/class/leds/StatusLed/trigger
changing trigger remote control:
echo rc > /sys/class/leds/StatusLed/trigger