From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
To: Benjamin Tissoires <benjamin.tissoires@gmail.com>,
Henrik Rydberg <rydberg@euromail.se>,
Jiri Kosina <jkosina@suse.cz>, Stephane Chatty <chatty@enac.fr>,
Alexander Holler <holler@ahsoftware.de>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] HID: Win 8 multitouch panels detection in core
Date: Wed, 21 Aug 2013 17:40:17 +0200 [thread overview]
Message-ID: <1377099620-23947-1-git-send-email-benjamin.tissoires@redhat.com> (raw)
Hi guys,
this is the v2 of the rework of the pre-scanning of the hid report descriptors.
This allows us to be able to detect Win 8 multitouch panels.
I tried to take into account all of the previous reviews, and I think the patch
series is in a better shape now.
Alexander, Srinivas, could you please review/test patches 1/3 and 2/3 as they
will both impact hid_sensor_hub detection now. From the report descriptors
Alexander sent, I would say that it will work now, but it's always better to
have different testers :)
Cheers,
Benjamin
Changes in v2:
- moved "flags" processing in patch 2/3
- do not introduce parser->flags, but use hid->group as a temporary flag placeholder
- hid_scan_report() is less verbose when errors are found in the descriptor
- hid_scan_report() is tolerant to parsing errors
- fixed usage_page handling in hid_scan_collection(), which fixes sensors detection
- amended commit messages
- #define and #undef HID_FLAG_* in hid-core.c instead of hid.h
Benjamin Tissoires (3):
HID: Use hid_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 | 2 +
4 files changed, 137 insertions(+), 55 deletions(-)
--
1.8.3.1
next reply other threads:[~2013-08-21 15:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 15:40 Benjamin Tissoires [this message]
2013-08-21 15:40 ` [PATCH v2 1/3] HID: Use hid_parser for pre-scanning the report descriptors Benjamin Tissoires
2013-08-21 18:15 ` Henrik Rydberg
2013-08-22 8:31 ` Benjamin Tissoires
2013-08-21 15:40 ` [PATCH v2 2/3] HID: detect Win 8 multitouch devices in core Benjamin Tissoires
2013-08-21 18:26 ` Henrik Rydberg
2013-08-22 12:01 ` Benjamin Tissoires
2013-08-21 15:40 ` [PATCH v2 3/3] HID: do not init input reports for Win 8 multitouch devices Benjamin Tissoires
2013-08-21 21:24 ` [PATCH v2 0/3] HID: Win 8 multitouch panels detection in core Srinivas Pandruvada
2013-08-22 8:37 ` Benjamin Tissoires
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1377099620-23947-1-git-send-email-benjamin.tissoires@redhat.com \
--to=benjamin.tissoires@redhat.com \
--cc=benjamin.tissoires@gmail.com \
--cc=chatty@enac.fr \
--cc=holler@ahsoftware.de \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@euromail.se \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).