From: Peter Osterlund <petero2@telia.com>
To: Mike Keehan <mike_keehan@yahoo.com>
Cc: linux-kernel@vger.kernel.org, Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: Synaptics driver on HP6100 and 2.5.73
Date: 06 Jul 2003 00:41:05 +0200 [thread overview]
Message-ID: <m2fzlkbnr2.fsf@telia.com> (raw)
In-Reply-To: <m2brwb9rzi.fsf@telia.com>
Peter Osterlund <petero2@telia.com> writes:
> Mike Keehan <mike_keehan@yahoo.com> writes:
>
> > The touchpad is recognised OK when the kernel boots,
> > and my usb
> > connected mouse works fine. But I get the following
> > message in
> > the syslog when I try to use the mousepad or any of
> > the buttons :-
> >
> > ... kernel: Synaptics driver lost sync at 1st byte
> >
> > Relevant /var/log/dmesg content:-
> >
> > drivers/usb/core/usb.c: registered new driver hid
> > drivers/usb/input/hid-core.c: v2.0:USB HID core
> > driver
> > mice: PS/2 mouse device common for all mice
> > synaptics reset failed
> > synaptics reset failed
> > synaptics reset failed
>
> The logs from your other mail show that the touchpad is still in
> relative mode (using 3 byte packets) instead of absolute mode (using 6
> byte packets.) I don't know why this happens, but ...
OK, the problem is that the touchpad needs a lot of time to wake up
after a reset command. As we found out in private conversation, 3
seconds is barely enough, so I suggest the following patch to fix the
problem:
--- linux/drivers/input/mouse.resume/psmouse-base.c Sat Jul 5 23:39:14 2003
+++ linux/drivers/input/mouse/psmouse-base.c Sun Jul 6 00:23:17 2003
@@ -201,7 +201,7 @@
psmouse->cmdcnt = receive;
if (command == PSMOUSE_CMD_RESET_BAT)
- timeout = 2000000; /* 2 sec */
+ timeout = 4000000; /* 4 sec */
if (command & 0xff)
if (psmouse_sendbyte(psmouse, command & 0xff))
--
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
next prev parent reply other threads:[~2003-07-05 22:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-26 22:00 Synaptics driver on HP6100 and 2.5.73 Mike Keehan
2003-07-03 22:15 ` Peter Osterlund
2003-07-05 22:41 ` Peter Osterlund [this message]
[not found] <1056747301.654.0.camel@zarquon>
2003-06-27 21:18 ` Mike Keehan
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=m2fzlkbnr2.fsf@telia.com \
--to=petero2@telia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mike_keehan@yahoo.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.