From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: Jason Gerecke <killertofu@gmail.com>
Cc: Ping Cheng <pinglinux@gmail.com>,
Linux Input <linux-input@vger.kernel.org>,
Jiri Kosina <jikos@kernel.org>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Subject: Re: [PATCH] HID: Support i2c-hid multitouch compatible Wacom touchscreens
Date: Fri, 28 Apr 2017 09:59:42 +0300 [thread overview]
Message-ID: <2a8fe649-7178-647f-346b-0c7f0420be15@linux.intel.com> (raw)
In-Reply-To: <CANRwn3QrURkBgB4gjWfwz4WknpOefLAP9Pj7v=Ax9Z+VGKKPMA@mail.gmail.com>
Hi
On 04/28/2017 01:48 AM, Jason Gerecke wrote:
> On Thu, Apr 27, 2017 at 8:09 AM, Benjamin Tissoires
> <benjamin.tissoires@redhat.com> wrote:
>> On Apr 27 2017 or thereabouts, Jarkko Nikula wrote:
>>> Vendor specific handling in hid_scan_report() overrides the hid->group
>>> to HID_GROUP_WACOM for all devices with vendor ID equal to
>>> USB_VENDOR_ID_WACOM.
>>>
>>> However there is an i2c-hid multitouch compatible Wacom touschreen which
>>> is parsed as generic HID_GROUP_MULTITOUCH_WIN_8 device but
>>> hid-multitouch doesn't probe because of this overriding.
>>>
>>> Support this touschreen by overring the group only when the bus is
>>> different than I2C.
>>>
>>> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
>>> ---
>>> I'm not an HID expert and I don't know is there any existing Wacom
>>> tablets using the I2C bus. There are USB and Bluetooth tablets so that's
>>
>> I'd say there are other I2C Wacom tablets. Jason and Ping can confirm.
>>
>
> Absolutely. There are a number of I2C tablets out there. The device
> table for wacom.ko includes "{ I2C_DEVICE_WACOM(HID_ANY_ID) }" so that
> we can attempt to handle them.
>
>>> the reason I'm checking id->bus != BUS_I2C when overring the group.
>>> I've done only basic testing that device is registered as an
>>> hid-multitouch device and "hexdump /dev/input/eventX" produces a bunch
>>> of hexadecimals when touschscreen is touched.
>>
>> What's the issue of having wacom.ko loaded for this particular
>> touchscreen? wacom.ko should handle it properly.
>>
Cool, it appears to handle it. I just didn't have CONFIG_HID_WACOM
enabled. I thought the hid-multitouch should handle it as the HID and
report descriptors looked similar than other I2C HID touchspanels I have
here.
So please discard this patch.
--
Jarkko
prev parent reply other threads:[~2017-04-28 6:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 13:57 [PATCH] HID: Support i2c-hid multitouch compatible Wacom touchscreens Jarkko Nikula
2017-04-27 15:09 ` Benjamin Tissoires
2017-04-27 22:48 ` Jason Gerecke
2017-04-28 6:59 ` Jarkko Nikula [this message]
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=2a8fe649-7178-647f-346b-0c7f0420be15@linux.intel.com \
--to=jarkko.nikula@linux.intel.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=killertofu@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=pinglinux@gmail.com \
--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).