Thread (9 messages) 9 messages, 2 authors, 2009-10-13

Re: [bisected regression] Touchpad "paste" stops working after suspend to RAM

From: Carlos R. Mafra <hidden>
Date: 2009-10-11 19:32:58
Also in: lkml

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:
quoted
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. ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help