From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Daniel Drake <dsd@laptop.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Peter Hutterer <peter.hutterer@who-t.net>,
"X.Org Devel List" <xorg-devel@lists.freedesktop.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Multitouch regression in 3.3 on thinkpad X220 clickpad
Date: Fri, 20 Apr 2012 10:01:32 -0700 [thread overview]
Message-ID: <20120420170132.GA32261@core.coreip.homeip.net> (raw)
In-Reply-To: <CAMLZHHTpNPbbMwrNmZf5Japk2b3gNZ7eAhU5xoG+a1jEPk96ig@mail.gmail.com>
On Fri, Apr 20, 2012 at 08:27:37AM -0600, Daniel Drake wrote:
> On Fri, Apr 20, 2012 at 1:21 AM, Benjamin Herrenschmidt
> <benh@kernel.crashing.org> wrote:
> > So Peter and I have been discussing a problem I observed on my brand new
> > ThinkPad X220 and it's multitouch "clickpad". I've been digging a bit
> > more today and bisected the regression to:
> >
> > commit 7968a5dd492ccc38345013e534ad4c8d6eb60ed1
> > Input: synaptics - add support for Relative mode
> >
> > Without that commit, I can draw two "traces" when using two fingers in
> > mtview (after removing the device from X), each follow one finger.
> >
> > With that commit applied, this doesn't work anymore: it appears to be
> > unable to track more than one finger. IE. If i put a finger on the
> > touchpad, I can draw, but a second finger is then ignored (or causes one
> > or two spots in a random place to appear but that's about it).
> >
> > Now other multitouch operations such as two finger scrolling seem to
> > work in X. I'm not familiar with the inner workings of the input layer
> > or the synaptic touchpads. I'll dig a bit more this week-end if I have
> > time, but it would save me plenty of that precious time if you guys
> > could hint me at things to look at :-)
>
> Sorry to cause you this trouble.
> It's the first I've heard of issues with this patch, and unfortunately
> I don't have any immediate diagnosis for you.
> The patch isn't supposed to change behaviour of the existing default
> mode which is called "absolute mode".
>
> What I would suggest looking at is
> synaptics_set_advanced_gesture_mode(). Is this being called, does it
> run to completion?
It looks we lost a condition in synaptics_set_advanced_gesture_mode().
It used to be:
if (!(SYN_CAP_ADV_GESTURE(priv->ext_cap_0c) ||
SYN_CAP_IMAGE_SENSOR(priv->ext_cap_0c)))
return 0;
and now simply is:
if (!SYN_CAP_ADV_GESTURE(priv->ext_cap_0c))
return 0;
Could you try restoring the condition and see if it fixes the
regression?
Thanks.
--
Dmitry
next prev parent reply other threads:[~2012-04-20 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 7:21 Benjamin Herrenschmidt
2012-04-20 14:27 ` Daniel Drake
2012-04-20 17:01 ` Dmitry Torokhov [this message]
2012-04-21 0:16 ` Benjamin Herrenschmidt
2012-04-21 6:00 ` Dmitry Torokhov
2012-04-21 15:03 ` Daniel Drake
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=20120420170132.GA32261@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=dsd@laptop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter.hutterer@who-t.net \
--cc=xorg-devel@lists.freedesktop.org \
/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
Powered by JetHome