]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Suppress hidinput for Samsung IR control
authorRobert Schedel <r.schedel@yahoo.de>
Fri, 11 Apr 2008 07:21:48 +0000 (09:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Apr 2008 09:34:59 +0000 (11:34 +0200)
commit40d769daae6d791312f4ced43e3682ba549c6a39
tree035095531be273910e76696b2410166e42740ae3
parentb7f86b19dee6251cd41675d8e686ca70a6255396
HID: Suppress hidinput for Samsung IR control

Samsung USB remotes (0419:0001) report six keys via standard HID usage pages
(arrow keys, OK, Power).  Kernel 2.6.25 maps those to input events (in addition
to the hiddev report).  The remaining 43 keys are reported via proprietary HID
report page and therefore by hiddev only.

Applications using hiddev and input device might process the 6 standard keys
twice.  To avoid this, the input device will be suppressed for the Samsung
remote with a quirk entry, forcing to use the hiddev device only.

LIRC already contains the proper support.

Signed-off-by: Robert Schedel <r.schedel@yahoo.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-quirks.c