Synaptics Touchpad not detected in 2.6.13-rc2

From: Mattia Dongili
Date: Thu Jul 07 2005 - 14:33:15 EST


Hello,

with -rc2 (-rc1 didn't show this behaviour) I get the following when
modprobing psmouse.ko:

atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86,
might be trying access hardware directly.

and the touchpad is not detected at all.

The ps2_adjust_timeout function seems to be the cause, restoring the old
fixed timeout in ps2_command seems to cure this issue (see diff below).
It could be probably done better by detecting which command misses the
the last bytes and recalibrating ps2_adjust_timeout instead. Or maybe
checking the return value of wait_event_timeout for a next round of
wait?

This is the device (on a Vaio GR), which other info could I provide to
better diagnose the problem?

Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2548b1, caps: 0x804753/0x0
input: SynPS/2 Synaptics TouchPad on isa0060/serio1

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse2 event5
B: EV=b
B: KEY=6420 0 70000 0 0 0 0 0 0 0 0
B: ABS=11000003


--- linux-vaio/drivers/input/serio/libps2.c 2005-07-07 21:04:35.000000000 +0200
+++ linux-clean/drivers/input/serio/libps2.c 2005-07-07 21:06:34.000000000 +0200
@@ -210,7 +210,7 @@ int ps2_command(struct ps2dev *ps2dev, u

if (ps2dev->cmdcnt && timeout > 0) {

- timeout = ps2_adjust_timeout(ps2dev, command, timeout);
+ timeout = msecs_to_jiffies(100);
wait_event_timeout(ps2dev->wait,
!(ps2dev->flags & PS2_FLAG_CMD), timeout);
}

--
mattia
:wq!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/