linux/Documentation/leds
Samuel Thibault f60c8ba77d Input: export LEDs as class devices in sysfs
This change creates a new input handler called "leds" that exports LEDs on input
devices as standard LED class devices in sysfs and allows controlling their
state via sysfs or via any of the standard LED triggers. This allows to
re-purpose and reassign LDEs on the keyboards to represent states other
than the standard keyboard states (CapsLock, NumLock, etc).

The old API of controlling input LEDs by writing into /dev/input/eventX
devices is still present and will take precedence over accessing via LEDs
subsystem (i.e. it may override state set by a trigger). If input device is
"grabbed" then requests coming through LED subsystem will be ignored.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-06-11 18:18:11 -07:00
..
00-INDEX Documentation/: update 00-INDEX files 2014-02-10 16:01:40 -08:00
leds-blinkm.txt LEDS: add BlinkM RGB LED driver, documentation and update MAINTAINERS 2012-07-24 16:00:51 +08:00
leds-class.txt Input: export LEDs as class devices in sysfs 2015-06-11 18:18:11 -07:00
leds-lm3556.txt Documentation: leds: Fix a typo 2013-08-26 17:22:12 -07:00
leds-lp55xx.txt leds: lp5523: Support LED MUX configuration on running a pattern 2014-01-27 17:28:48 -08:00
leds-lp3944.txt Documentation: leds: Fix a typo 2013-08-26 17:22:12 -07:00
leds-lp5521.txt Documentation: leds-lp5521,lp5523: update device attribute information 2013-08-26 17:22:13 -07:00
leds-lp5523.txt Documentation: leds-lp5521,lp5523: update device attribute information 2013-08-26 17:22:13 -07:00
leds-lp5562.txt leds: lp55xx: configure the clock detection 2013-04-01 11:04:53 -07:00
ledtrig-oneshot.txt leds: add oneshot trigger 2012-07-24 07:52:34 +08:00
ledtrig-transient.txt leds: add new transient trigger for one shot timer activation 2012-05-29 16:22:32 -07:00