LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-02-2004, 01:03 PM   #1
mjake
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
KVM mouse wheel problems info


This is not a question per se, I just want to share some info in hopes of helping others, as I have been helped.

I have a Belkin Omniview PS/2 / USB 4 port KVM switch at home and at work and have had various problems with Linux and mice related to the KVM switch. I used various modern Logitech mice (currently the MX500) which I believe all used the IMPS/2 (MS Intellimouse PS/2) protocol.

I had been using the PS/2 ports for the mouse and keyboard (why waste a precious USB port, right?) and here are the symptoms I found with various flavors of Linux:

Redhat 8/9/Fedora Core 1 (I think the common denominators were pre-2.6 kernel and maybe XFree86): when switching to the Linux box, the mouse often went crazy (movements and clicks) at first, and the mouse wheel would only work in one direction after switches.

I found a workaround, although it was inconvenient: switching to a virtual console and back to the X console (Ctrl-Alt-F6 then Ctrl-Alt-F7) would cure both problems. So I got into the habit of doing this after every time I switched to the Linux box.

Fedora Core 2 (2.6 kernel, Xorg): there was no longer any mouse going crazy problem, but after a switch the mouse wheel wouldn't work at all. And this time switching to a virtual console and back didn't help. Obviously rebooting or even restarting X was not worth it after every switch. So I had to look for another solution.

I added a USB mouse to the Linux Box, and found that after a switch the PS/2 mouse on the KVM had no working wheel, but the USB mouse still did. So I bought a PS/2 to USB converter, and plugged the PS/2 mouse wire from the KVM into the USB port and ... it didn't help (mouse still worked, but no wheel after switching).

I have a theory about why. The KVM switch sends some sort of signal to the non-selected computers so that they don't go through a PS/2 disconnect. I think that the signal it sends is basic PS/2, not IMPS/2. Linux/X somehow senses this and decides to switch to the PS/2 protocol, but when the real mouse signal comes back, it doesn't switch back to IMPS/2, it sticks to plain PS/2 and throws away the IMPS/2 specific signals.

So I decided to try using the USB output on the KVM switch and have one USB wire to the Linux box instead of the 2 PS/2 wires. That worked, almost perfectly. No crazy movement or mouse wheel problems after switches.

The problem is that USB mice and more importantly USB keyboards are not recognized at as low a level (by the BIOS?) as PS/2 keyboards and mice. So my keyboard and mice don't work during bootup until Linux is about half booted. I can't skip the countdown in GRUB, and now that I think of it, I can't even boot to a different runlevel. If you are dual booting between OSes or Linux Kernel versions this is a showstopper problem - you can't pick anything non-default to boot to in GRUB without the keyboard. I assume LILO would have the same issue.

Also, you waste a possibly precious USB port.

I hope this helps someone, and maybe a solution to the USB keyboard being recognized at the GRUB stage of booting can be found. It might be easy, I haven't really tried yet.

(Or even better, maybe some genius can figure out how MS Windows avoids these problems, and will fix Linux/X to be as forgiving of KVMs as Windows is.)

Regards,
Marc Jacobsen
 
Old 06-02-2004, 01:16 PM   #2
mjake
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I forgot to mention, my Belkin Omniview PS/2 / USB switch doesn't allow us of both USB and PS/2 simultaneously for one computer. So an obvious solution to the GRUB problem (use the USB for the mouse and the PS/2 for the keyboard) is not an option.

Regards,
Marc Jacobsen
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Problems with KVM moger Red Hat 2 05-27-2011 01:49 PM
mouse problems with kvm switches punt Linux - General 3 11-18-2004 06:04 PM
using wheel mouse to read info with emacs? zeki709 Linux - Software 5 12-08-2003 05:52 PM
Mouse Wheel Problems hstang Linux - General 4 03-24-2003 09:06 PM
Wheel mouse through OmniView KVM? pharaoh Linux - Hardware 3 01-19-2003 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration