]> git.baikalelectronics.ru Git - kernel.git/commit
HID: support primax keyboards violating USB HID spec
authorTerry Lambert <tlambert@chromium.org>
Sat, 15 Oct 2011 00:18:54 +0000 (17:18 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Oct 2011 15:04:41 +0000 (17:04 +0200)
commit098ddbef1e3e54d1c90b788ae369b45918a5541d
tree26d1db6daac7fb2f5c1b6e8ea430026ef9e54c59
parentccc8dfc5ea6cd51ff778c60b7c54796c623ad904
HID: support primax keyboards violating USB HID spec

Primax keyboards with the issue this driver addresses report modifier
keys as in band key events instead of as out of band modifier bits,
resulting in the modifier keys generating key up events immediately
before the keys they are intended to modify.  This driver rewrites
the raw report data from such keyboards into USB HID 1.11 compliant
report data.  It only matches the USB vendor and product IDs for the
keyboard it has been tested on. Since there are several keyboards,
notably a number of laptops and folding USB keyboards known to have
similar unresolved problem reports, the list is expected to grow.

Signed-off-by: Terry Lambert <tlambert@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-primax.c [new file with mode: 0644]