From: Andrew Duggan <aduggan@synaptics.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jiri Kosina <jikos@kernel.org>
Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
<benjamin.tissoires@redhat.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
<linux-input@vger.kernel.org>,
Peter Hutterer <peter.hutterer@who-t.net>,
Cameron Gutman <aicommander@gmail.com>,
Thorsten Leemhuis <linux@leemhuis.info>,
Nick Dyer <nick@shmanahar.org>,
Christopher Heiny <cheiny@synaptics.com>
Subject: Re: Crash caused by hid-rmi and no longer working touchscreen
Date: Mon, 10 Apr 2017 12:41:38 -0700 [thread overview]
Message-ID: <b2dab9bf-28ff-09f3-7eba-6a29ca201804@synaptics.com> (raw)
In-Reply-To: <20170410183802.GA39262@dtor-ws>
On 04/10/2017 11:38 AM, Dmitry Torokhov wrote:
> On Mon, Apr 10, 2017 at 03:18:03PM +0200, Jiri Kosina wrote:
>> [ a couple more people from "the other regression thread" added to CC ]
>>
>> On Mon, 10 Apr 2017, Gabriele Mazzotta wrote:
>>
>>> Hi,
>>>
>>> I'm having troubles with hid-rmi using 4.11-rc6. I'm getting some
>>> "rmi_hid_read_block: timeout elapsed" errors and ultimately the
>>> crash you can see at the end of this mail. I will reply to this
>>> mail with a full log that shows all the errors.
>>>
>>> The problem seems to be caused by commit 279967a65b320d174a507498ae
>>> ("HID: rmi: Handle all Synaptics touchpads using hid-rmi").
>>>
>>> My laptop has a Synaptics touchpad and a Synaptics touchscreen.
>>> Because of that commit, hid-rmi is used for both the devices, while
>>> it has always been used only for the touchpad. Needless to say that
>>> the touchscreen no longer works.
>>>
>>> If I revert that commit, everything goes back to normal.
>> Alright, given this is a second regression cause by this switch, I suggest
>> to revert this one for 4.11 still, and work on fixing this properly for
>> 4.12.
>>
>> If noone raises any objections (a few more people added to Cc), I'll queue
>> a 4.11-rc revert tomorrow.
> Yes, we also have this:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=195287
I suspect that the issue might be that both of these touchscreens have
the HID_GD_POINTER usage defined in their HID report descriptor. This
might be because the firmware is configured to support pens. It looks
like the Asus T302CA from the bug does have a pen and the XPS13 9333 may
simply have firmware which has pen support enabled. The HID_GD_POINTER
usage is used in hid-core to differentiate between touchpads and
touchscreens. So if a touchscreen has HID_GD_POINTER defined then
hid-core will bind hid-rmi to it. None, of my test systems have pen
support so I did not anticipate this.
Also, the reason why we can't just support touchscreens using hid-rmi is
because the firmware for HID touchscreens lacks the functionality of
reporting the attention data (finger positions) in a single report. It
ends up being less efficient to run HID touchscreens in RMI mode.
> so reverting seems prudent at this time.
Yes, I agree we should revert the commit. There simply isn't enough time
to come up with and test a new method for differentiating touchpads and
touchscreens before 4.11 is released.
Andrew
> Thanks.
>
prev parent reply other threads:[~2017-04-10 19:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-10 13:14 Crash caused by hid-rmi and no longer working touchscreen Gabriele Mazzotta
2017-04-10 13:15 ` Gabriele Mazzotta
2017-04-10 13:18 ` Jiri Kosina
2017-04-10 18:38 ` Dmitry Torokhov
2017-04-10 19:41 ` Andrew Duggan [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=b2dab9bf-28ff-09f3-7eba-6a29ca201804@synaptics.com \
--to=aduggan@synaptics.com \
--cc=aicommander@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=cheiny@synaptics.com \
--cc=dmitry.torokhov@gmail.com \
--cc=gabriele.mzt@gmail.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@leemhuis.info \
--cc=nick@shmanahar.org \
--cc=peter.hutterer@who-t.net \
/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