]> git.karo-electronics.de Git - linux-beck.git/commit
HID: thingm: add support for blink(1) mk2
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 14 Apr 2014 20:50:20 +0000 (16:50 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 15 Apr 2014 12:42:52 +0000 (14:42 +0200)
commit3121b1c44d0748f0286fd05b89a76232f40d1091
treeb4d2dcc31491d6b2df322a0b06cfa8938951636b
parentf70ed8a6f7cd9c55cc16287c584cb26efb53cbd7
HID: thingm: add support for blink(1) mk2

The blink(1) mk2 is a new version of the blink(1) USB RGB LED. The new
generation has 2 individually-controllable RGB chips.

This patch adds support for this device to the thingm driver, which
registers 3 new standard LED class instances for the second RGB chip.

Note that the 'n' (set) command does not support setting a color for a
single RGB chip, so it was changed to 'c' (fade) with a timeout of 0.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-thingm.c