From: Thomas Svedberg <thsv@am.chalmers.se>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: KVMs & psmouse losing sync
Date: Sun, 31 Oct 2004 18:05:27 +0100 [thread overview]
Message-ID: <41851B57.5080302@am.chalmers.se> (raw)
In-Reply-To: <200410300038.04193.dtor_core@ameritech.net>
Dmitry Torokhov wrote:
> Hi,
>
> Here is my next attempt at resolving the problem with psmouse losing sync
> when used with KVMs that suppress psmouse announcements when switching back
> to linux box.
>
> The new parameter psmouse.poll is used to have the driver periodically send
> "enable" command to the mouse if there was no data from the device in last
> <poll> msec. If the command errors or times out the driver assumes that the
> mouse was disconnected and next time there is data on the same serio port
> the driver will attempt to reconnect.
>
> The advantages of this approach is that it should work well regardless of
> the protocol (normally it is very hard to differentiate between bare PS/2
> and PS2++) and driver will not pass any bad packets to userpace. The main
> cpms is that we're toast if KVM ACKs the command even when mouse/kbd are
> connected to another box.
>
> The patch is against vanilla 2.6.9, boot with psmouse.poll=500. I would
> appreciate comments/testing. Thanks!
Works great with my Belkin Omni Cube, thank you!
--
/ Thomas
.......................................................................
Thomas Svedberg
Department of Applied Mechanics
Chalmers University of Technology
Address: SE-412 96 Göteborg, SWEDEN
E-mail : thsv@am.chalmers.se, thsv@bigfoot.com
Phone : +46 31 772 1522
Fax : +46 31 772 3827
.......................................................................
prev parent reply other threads:[~2004-10-31 17:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-30 5:38 KVMs & psmouse losing sync Dmitry Torokhov
2004-10-31 17:05 ` Thomas Svedberg [this message]
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=41851B57.5080302@am.chalmers.se \
--to=thsv@am.chalmers.se \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
/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.