diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-06-17 21:20:46 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-06-17 22:28:32 +0200 |
commit | 6c7ad07e9e05a659496e26243643280610c13d3a (patch) | |
tree | 557f8983f185bf7638b37be58fb6e3bc640fee45 /drivers/hid/Kconfig | |
parent | dcc4c2f61cdc7e0ab61b25b8d28205302497a8c4 (diff) | |
download | lwn-6c7ad07e9e05a659496e26243643280610c13d3a.tar.gz lwn-6c7ad07e9e05a659496e26243643280610c13d3a.zip |
HID: migrate USB LED driver from usb misc to hid
This patch migrates the USB LED driver to the HID subsystem.
Supported are Dream Cheeky Webmail Notifier / Friends Alert
and Riso Kagaku Webmail Notifier.
Benefits:
- Avoid using USB low-level calls and use the HID subsystem instead
(as this device provides a USB HID interface)
- Use standard LED subsystem instead of proprietary sysfs entries,
this allows e.g. to use the device with features like triggers
Successfully tested with a Dream Cheeky Webmail Notifier and a
Riso Kagaku Webmail Notifier compatible device.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 5646ca4b95de..04bd2039b23b 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -388,6 +388,18 @@ config HID_LCPOWER ---help--- Support for LC-Power RC1000MCE RF remote control. +config HID_LED + tristate "Simple USB RGB LED support" + depends on HID + depends on LEDS_CLASS + ---help--- + Support for simple USB RGB LED devices. Currently supported are the + Riso Kagaku Webmail Notifier and the Dream Cheeky Webmail Notifier + and Friends Alert. + + To compile this driver as a module, choose M here: the + module will be called hid-led. + config HID_LENOVO tristate "Lenovo / Thinkpad devices" depends on HID |