Re: mouse problems in 2.4.2

Keith Owens (kaos@ocs.com.au)
Mon, 26 Mar 2001 10:47:02 +1000


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/