[PATCH 0/3] HID: Win 8 multitouch panels detection in core

From: Benjamin Tissoires
Date: Tue Aug 13 2013 - 10:58:34 EST


Hi guys,

This series is the following of the patch "HID: multitouch: do not init
reports for multitouch devices" which I sent on the 12th of July.

The goal is just to not call a GET_REPORT on input reports to imitate
what Win 8 is doing with the touch panels. However, to have an accurate
detection of Win 8 panels and to not introduce regressions, we need
to adapt the pre-scanning of hid devices.

The first patch drops the custom parsing and relies on the well tested
parser that we have in hid-core. This cleans up the pre-scanning and
allows us to scan the features in addition to the input reports and the
collections.

The second patch uses the pre-scanning method to detect Win 8 multitouch
panels. This allows a simplification in hid-multitouch because those
panels will now use the general path instead of having special quirks
attached during the parsing.

The third patch introduce the actual quirk which would allow us not to
have to maintain a growing list of quirks.

Cheers,
Benjamin

Benjamin Tissoires (3):
HID: Use existing parser for pre-scanning the report descriptors
HID: detect Win 8 multitouch devices in core
HID: do not init input reports for Win 8 multitouch devices

drivers/hid/hid-core.c | 143 +++++++++++++++++++++++++++++++-----------
drivers/hid/hid-multitouch.c | 36 +++++++----
drivers/hid/usbhid/hid-core.c | 11 +++-
include/linux/hid.h | 7 +++
4 files changed, 143 insertions(+), 54 deletions(-)

--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/