summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-led.c
Commit message (Collapse)AuthorAgeFilesLines
* HID: hid-led: fix Delcom support on big endian systemsHeiner Kallweit2016-07-081-1/+1
| | | | | | | Properly handle this __le16 value on big endian systems. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: add support for Greynut LuxaforHeiner Kallweit2016-07-071-0/+26
| | | | | | | | | | Add support for Greynut Luxafor. This device has two groups of three independent LED's each. Successfully tested with such a device. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: add support for Delcom Visual Signal Indicator G2Heiner Kallweit2016-07-071-0/+98
| | | | | | | | | | Add support for the HID-compliant Delcom Visual Signal Indicator generation 2 devices. Successfully tested with part no 904000 from the family of these devices. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: remove report id from struct hidled_configHeiner Kallweit2016-07-071-11/+2Star
| | | | | | | | | Delcom uses the report id to submit command information. To be able to use the hidled framework also for Delcom devices we have to remove the report id from struct hidled_config. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: add support for ThingM blink(1)Heiner Kallweit2016-06-231-0/+66
| | | | | | | | | | Add support for ThingM blink(1) and make the dedicated ThingM driver obsolete. Successfully tested with a blink(1) mk2. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: add support for reading from LED devicesHeiner Kallweit2016-06-231-0/+29
| | | | | | | Add support for reading data from LED devices. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-led: add support for devices with multiple independent LEDsHeiner Kallweit2016-06-231-30/+55
| | | | | | | Add generic support for devices with multiple independent LED's. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: migrate USB LED driver from usb misc to hidHeiner Kallweit2016-06-171-0/+288
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>