]> 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)
commitd4022c63e8b5c200b5d3d80d433ffd6f0195e86c
tree489c8470c5d196bd1e42ccd45f964ea92f0edc25
parentc86c2975fd83de6264ef234cb5f71f5cd4486eb9
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