Thread (2 messages) 2 messages, 1 author, 2012-02-09

[PATCH] synaptics enters infinite reconnect loop on resume from suspend on Vostro v13

flat view
STALE5355d

From: Ahmet Inan <hidden>
Date: 2012-01-31 12:58:17

since linux-3.2 (had linux-2.6.38 before), when resuming from suspend,
the synaptics driver enters an infinite loop, trying to reconnect the touchpad
on my wife's Vostro v13 again and again.

linux-3.2 felt like resuming much faster from suspend than linux-2.6.38 did, so
i added an ssleep(1) before doing anything else in synaptics_reconnect()

well it works. got no complaints from my wife since then. ;-)

Ahmet

Signed-off-by: Ahmet Inan <redacted>

diff -Nru linux-3.2.2.orig/drivers/input/mouse/synaptics.c
linux-3.2.2/drivers/input/mouse/synaptics.c
--- linux-3.2.2.orig/drivers/input/mouse/synaptics.c    2012-01-31
12:43:40.528791525 +0100
+++ linux-3.2.2/drivers/input/mouse/synaptics.c 2012-01-31
10:51:29.000000000 +0100
@@ -1219,6 +1219,7 @@
        int retry = 0;
        int error;

+       ssleep(1);
        do {
                psmouse_reset(psmouse);
                if (retry) {

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help