]> git.baikalelectronics.ru Git - kernel.git/commit
HID: do not init input reports for Win 8 multitouch devices
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 22 Aug 2013 12:51:09 +0000 (14:51 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 27 Aug 2013 08:00:00 +0000 (10:00 +0200)
commitb183de3f01127432bde05e7da23a54d42a18870d
tree58d40392b363a334656995f127b42daf20a377f4
parent49ce7e4bcc89ee2c612f817039aab83d2375984f
HID: do not init input reports for Win 8 multitouch devices

Some multitouch screens do not like to be polled for input reports.
However, the Win8 spec says that all touches should be sent during
each report, making the initialization of reports unnecessary.
The Win7 spec is less precise, so do not use this for those devices.

Add the quirk HID_QUIRK_NO_INIT_INPUT_REPORTS so that we do not have to
introduce a quirk for each problematic device. This quirk makes the driver
behave the same way the Win 8 does. It actually retrieves the features,
but not the inputs.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Tested-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c
drivers/hid/usbhid/hid-core.c
include/linux/hid.h