PDA

View Full Version : Mouse woes with KVM switch


pangea33
04-12-2007, 08:35 PM
I have a notebook running Windows XP Pro and a desktop with Mepis Linux. These machines are attached to my lcd and wireless mouse/keyboard through a Belkin kvm switch.

Initally everything works great, but there are some control problems when I switch back and forth between the machines. Initially my mouse would go crazy on the Linux box after switching away and then back. I was able to remedy this by running a short shell script to reinitialize the mouse when I switch back over.

When I switch back to XP there is a problem with my mouse, albeit a minor one but still annoying. The scroll wheel of my mouse stops operating until I reboot. Everything other than that is cool on both machines. Presumeably there is a similar file I can run in Windows to reenable all the mouse features. Incidently the switch has ps/2 connectors for the peripherals and is attached to my notebook via a usb adapter that splits out to two ps/2 sockets.

Any feedback would be greatly appreciated. Any suggestions?

pangea33
04-19-2007, 10:34 PM
In case anyone has the same question in the future I figured I'd post the workaround here. It's pretty hackish, but it gets the job done.

To reenable mouse support in Linux, I have to keep a script handy to run in a shell whenever I switch back to that machine. The command is:

"echo -n reconnect > /sys/bus/serio/devices/serio0/drvctl"

To reenable scroll wheel support in Windows, I actually have to unplug the mouse connection on the front of the kvm for a few seconds, then plug it back in. It's a hack like I said, but at least it works.

saphalline
04-20-2007, 11:36 PM
I've never found a KVM reliable enough to use on my main machine with modern USB/DVI equipment. Old PS2/VGA works well enough on a cluster of servers, but desktops are problematic.

Those work-arounds and hacks you're using are as good as it gets with KVM's.