The current LED subsystem always initialises LEDs in the OFF state. This is fine for most LEDs but some should be on right from boot (e.g. POWER LED). Following some discussion with the LED subsystem maintainers, a trigger was recommended as the best way to implement this functionality.
Here is a patch to add a new trigger "default-on" which will initialise an LED in the ON state. It is not compiled by default.
Particular thanks to Rod Whitby for all his help with this.
Signed-off-by: Nick Forbes <nick.forbes@incepta.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch adds a driver for the three LEDs that exists on the
PCEngines ALIX 2 and 3 series boards.
The driver is also added to the Alix profile.
Signed-off-by: Petr Liebman <petrliebman@gmail.com>
--
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9748 3c298f89-4303-0410-b956-a3cf2f4a3e73