]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit76dd1fbebbaebab294dc09230960238746b883b1
tree489c8470c5d196bd1e42ccd45f964ea92f0edc25
parent0bb7a37f8d15e5fb5d21776875f9fbc74e10753a
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