public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Synaptics Touchpad not detected in 2.6.13-rc2
@ 2005-07-07 19:30 Mattia Dongili
  2005-07-07 20:02 ` Dmitry Torokhov
  0 siblings, 1 reply; 11+ messages in thread
From: Mattia Dongili @ 2005-07-07 19:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: vojtech, Dmitry Torokhov

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!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-10 12:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 19:30 Synaptics Touchpad not detected in 2.6.13-rc2 Mattia Dongili
2005-07-07 20:02 ` Dmitry Torokhov
2005-07-07 21:24   ` Mattia Dongili
2005-07-07 21:28     ` Vojtech Pavlik
2005-07-07 21:39       ` Dmitry Torokhov
2005-07-08  5:40         ` Vojtech Pavlik
2005-07-08 12:55       ` Mattia Dongili
2005-07-08 16:29         ` Dmitry Torokhov
2005-07-08 17:14           ` Mattia Dongili
2005-07-09 14:27           ` Mattia Dongili
2005-07-10 12:26             ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox