]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Add support for T100 keyboard
authorHans de Goede <hdegoede@redhat.com>
Mon, 15 May 2017 07:31:41 +0000 (09:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 22 May 2017 11:54:47 +0000 (13:54 +0200)
commitf00a3c4b0b530df0b1d90baa9817240d61e7dc87
tree489c8470c5d196bd1e42ccd45f964ea92f0edc25
parent12e1026cea5167919a96ec5a07f6c8e7403afbdb
HID: asus: Add support for T100 keyboard

The keyboard dock used with the Asus Transformer T100 series, uses
the same vendor-defined 0xff31 usage-page as some other Asus
keyboards. But with a small twist, it has a small descriptor bug which
needs to be fixed up for things to work.

This commit adds the USB-ID for this keyboard to the hid-asus driver
and makes asus_report_fixup fix the descriptor issue, fixing
various special function keys on this keyboard not working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c
drivers/hid/hid-core.c
drivers/hid/hid-ids.h