mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mattia Dongili <malattia@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: vojtech@suse.cz, Dmitry Torokhov <dtor@mail.ru>
Subject: Synaptics Touchpad not detected in 2.6.13-rc2
Date: Thu, 7 Jul 2005 21:30:27 +0200	[thread overview]
Message-ID: <20050707193027.GA4162@inferi.kami.home> (raw)

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!

             reply	other threads:[~2005-07-07 19:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 19:30 Mattia Dongili [this message]
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

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=20050707193027.GA4162@inferi.kami.home \
    --to=malattia@gmail.com \
    --cc=dtor@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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®