Re: mouse problems in 2.4.2

From: Keith Owens (kaos@ocs.com.au)
Date: Sun Mar 25 2001 - 19:47:02 EST


On Sun, 25 Mar 2001 16:27:37 -0800,
Stephen Satchell <satch@fluent-access.com> wrote:
>I'm experiencing the same thing with an ASUS P5A-B running a K6-2/266 with
>Linux 2.2.17, and Windows 98. Central problem appears to be the KVM
>switch I'm using. Save yourself the problem.
>
>I had to reboot all the systems to get regular mouse operation back with
>the Logitech.

I sometimes have keyboard and mouse problems after changing machines
using a mechanical KVM, on a Logitech mouse. This script fixes it for
me.

/usr/local/bin/switched

#!/bin/sh
/etc/rc.d/init.d/gpm restart
/sbin/kbdrate -r 30

I run gpm in redirect -R mode as
  daemon gpm -t $MOUSETYPE -R -m /dev/ttyS0
and tell X11 to read from /dev/gpmdata as
   Protocol "MouseSystems"
   Device "/dev/gpmdata"
not directly from the mouse; the redirect protocol is always
MouseSystems, no matter what the underlying mouse type is. Restarting
gpm after KVM switch then fixes everything else.

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



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:12 EST