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)
commit117309c51dca42121f70cacec801511b76acf75c
treefb50d18679e7e1cfd650c272850535cb9df9a839
parent29191039e21f66e204acffed63c486674a1918bd
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