Files
linux/Documentation/ABI/testing/sysfs-class-leds-gt683r
T
Janne Kanniainen 6522fe1c39 HID: gt683r: move mode attribute to led-class devices
Move led_mode attribute from HID device to led-class devices and
rename it mode. This will also fix race condition by using
attribute-groups.

([email protected]: fix a typo in commit message)

Signed-off-by: Janne Kanniainen <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
2014-07-03 11:14:11 -07:00

16 lines
474 B
Plaintext

What: /sys/class/leds/<led>/gt683r/mode
Date: Jun 2014
KernelVersion: 3.17
Contact: Janne Kanniainen <[email protected]>
Description:
Set the mode of LEDs. You should notice that changing the mode
of one LED will update the mode of its two sibling devices as
well.
0 - normal
1 - audio
2 - breathing
Normal: LEDs are fully on when enabled
Audio: LEDs brightness depends on sound level
Breathing: LEDs brightness varies at human breathing rate