From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: "Carlos R. Mafra" <crmafra2@gmail.com>
Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-input@vger.kernel.org
Subject: Re: [bisected regression] Touchpad "paste" stops working after suspend to RAM
Date: Mon, 12 Oct 2009 02:02:24 -0700 [thread overview]
Message-ID: <20091012090224.GB7403@core.coreip.homeip.net> (raw)
In-Reply-To: <20091011193100.GA4410@Pilar.aei.mpg.de>
On Sun, Oct 11, 2009 at 09:31:00PM +0200, Carlos R. Mafra wrote:
> On Sun 11.Oct'09 at 11:01:34 -0700, Dmitry Torokhov wrote:
> > Hi Carols,
> >
> > On Sun, Oct 11, 2009 at 06:21:55PM +0200, Carlos R. Mafra wrote:
> > > Using the latest 2.6.32-rc3+ kernel, the "paste" operation via the
> > > touchpad of my Vaio laptop does not work after suspend to RAM.
> > >
> > > It works flawlessly before s2ram; I select the text with the touchpad
> > > and tap quickly its right corner to paste the selected text.
> > > After a plain 'echo mem > /sys/power/state' the "paste" does not work.
> > >
> > > I bisected it to commit ffd0db97196c1057f09c2ab42dd5b30e94e511d9 ("Input:
> > > add generic suspend and resume for input devices").
> > >
> > > I haven't tested if reverting it from mainline fixes the issue, but
> > > from the patch description I guess that bisection landed correctly
> > > on the culprit.
> > >
> >
> > Please verify that this is the real offending commit by reverting it - I
> > am surprised that it would give any trouble since it is supposed to
> > restore LED state and repeat rate and therefore should only be affecting
> > keyboards.
>
> Reverting it fixes the issue, I've just tested it now.
>
> [ I had to edit the resulting drivers/input/input.c because it did not
> revert cleanly. ]
Carols, I see in the dmesg you supplied earlier ALPS was redetected
successfully, so I guess the problem is that your synclient quirk did
not run after resume. The best way to handle it would be adding a HAL
rule, something like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" contains="synaptics">
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
</match>
</device>
</deviceinfo>
You'd need to add add the corner tapping command.
Still, I am curious to know why we can't simply reinitialize ALPS from
the get go, could you please send me a dmesg of resume done with
i8042.debug? Thanks!
--
Dmitry
next prev parent reply other threads:[~2009-10-12 9:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-11 16:21 Carlos R. Mafra
2009-10-11 18:01 ` Dmitry Torokhov
2009-10-11 19:31 ` Carlos R. Mafra
2009-10-12 9:02 ` Dmitry Torokhov [this message]
2009-10-12 9:35 ` Carlos R. Mafra
2009-10-12 9:51 ` Carlos R. Mafra
2009-10-12 10:09 ` Carlos R. Mafra
2009-10-13 3:24 ` Dmitry Torokhov
2009-10-13 12:07 ` Carlos R. Mafra
[not found] ` <20091013121109.GB4619@Pilar.aei.mpg.de>
[not found] ` <20091013182643.GC21593@core.coreip.homeip.net>
[not found] ` <20091013190819.GA7555@Pilar.aei.mpg.de>
[not found] ` <20091013194654.GD21593@core.coreip.homeip.net>
[not found] ` <20091013202459.GE21593@core.coreip.homeip.net>
2009-10-13 23:16 ` Carlos R. Mafra
2009-10-13 23:56 ` Dmitry Torokhov
2009-10-13 23:57 ` Dmitry Torokhov
2009-10-14 0:51 ` Carlos R. Mafra
2009-10-14 2:30 ` Dmitry Torokhov
2009-10-14 11:13 ` Carlos R. Mafra
2009-10-15 0:44 ` Dmitry Torokhov
2009-10-15 11:08 ` Carlos R. Mafra
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=20091012090224.GB7403@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=crmafra2@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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
all inboxes | Powered by JetHome®