]> git.baikalelectronics.ru Git - kernel.git/commit
HID: microsoft: Add ID's for Surface Type/Touch Cover 2
authorReyad Attiyat <reyad.attiyat@gmail.com>
Tue, 28 Jan 2014 15:17:57 +0000 (16:17 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Jan 2014 15:18:59 +0000 (16:18 +0100)
commit6b66a8e15d03b05cfb42d5219820c61844a02661
treefb50d18679e7e1cfd650c272850535cb9df9a839
parentdbbc62a51c6180c02183d1819d8fb0f281dd3d52
HID: microsoft: Add ID's for Surface Type/Touch Cover 2

The Microsoft Surface Type/Touch cover 2 devices have the flag HID_DG_CONTACTID
in their reports.This causes the device to bind to the hid-multitouch driver,
which doesn't handle generic keyboard/mouse input events.  The patch adds
the hardware id's of the device to hid-microsoft and to the HID special
driver array, which makes the device get handled by hid-generic/hid-input
properly.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=64811
Singed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com>
Reviewed-by: Benjamin Tissoires<benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-microsoft.c