LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2006, 06:15 PM   #1
aliebel
LQ Newbie
 
Registered: Feb 2006
Distribution: SUSE RHEL4
Posts: 8

Rep: Reputation: 0
Mouse goes haywire after KVM switch


My mobo is K8N-E Deluxe and am running RHEL4 (CentOS). My keyboard and mouse have the old PS/2 connectors on them as does my Belkin 4 port KVM switch. When I start up the system all is fine IF it is the selected system. The problem occurs when I switch to another system and come back. I tried connecting a second PS/2 mouse directly to the K8N-E and just share the Keyboard and Video for that system. The thing is the exact thing happens when I switch away and come back.

Any ideas on what to do here? Would using a USB KVM swith make any difference?
 
Old 02-18-2006, 08:19 PM   #2
astender
LQ Newbie
 
Registered: Nov 2004
Location: Tennessee
Distribution: FC3, SuSE10,RHEL4 & LFS6.0
Posts: 29

Rep: Reputation: 15
Hello,
Go to your bootloader configuration file and add the following to the end of your kernel line. "psmouse.proto=bare". I use grub and the line that defines the boot command starts with kernel. That may or may not be the case if you use LILO. What you need to do is append what is in the quotes above to the end of the boot lie for the kernel. If you want to test it out before you add the extra paramaters get into edit mode in your boot loader and do it interactivly before you actually edit the .conf file. I have a belkin KVM swith and this works for me.

Arnie
 
Old 03-14-2007, 02:27 PM   #3
Ferd
LQ Newbie
 
Registered: Nov 2005
Distribution: MEPIS
Posts: 6

Rep: Reputation: 0
astender:

I need to figure out what the name of my bootloader config file is. I looked in /boot/grub/ and thought I was looking for something like grub.conf. I don't find anything like that. The closest thing is something like menu.lst which I edited and tried appending the string, "psmouse.proto=bare" to the end of the line starting with "kernel" under the MEPIS section. My system is set up to dual boot WinME and MEPIS. Anyway, this didn't do anything for me except that when it boots up the system doesn't seem to understand it because I get some kind of message telling me it doesn't recognize this string as any kind of command. In my case, I am connecting a usb logitech optical mouse to a ps2 adapter which plugs into the kvm switch. I don't understand yet how to follow your suggestion of "getting into edit mode on the boot loader to interactively try it out before editing the .conf file". Any more detail on this would be helpful.
 
Old 03-14-2007, 05:58 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Maybe the USB->PS/2 adapter is the problem. I had a similar problem and contacted Belkin's support. They told me that such adapters don't work with their PS/2 KVM switches
 
Old 03-14-2007, 06:36 PM   #5
Ferd
LQ Newbie
 
Registered: Nov 2005
Distribution: MEPIS
Posts: 6

Rep: Reputation: 0
dracolich:

That may be true. The empirical results are that I don't have any trouble using it with either of my windows machines--I only have trouble when I switch away from my linux box and then come back to it after going to windows.
 
Old 03-14-2007, 06:53 PM   #6
astender
LQ Newbie
 
Registered: Nov 2004
Location: Tennessee
Distribution: FC3, SuSE10,RHEL4 & LFS6.0
Posts: 29

Rep: Reputation: 15
menu.lst

Ferd:
/boot/grub/menu.lst is the right file. Here is one stanza from mine:

title LFS Linux-2.6.8.1
root (hd0,0)
kernel /lfskernel-2.6.8.1 ro root=/dev/hda3 rhgb quiet psmouse.proto=bare

I have used this method to fix this problem on RedHat9, many versions of Fedora and SuSE and now my LFS. They all work fine. Make sure you didn't interject a newline or something else that may have made the addition look like a new command instead of an argument to the kernel line. BTW, I also like adding a soft link to the /boot/grub/menu.lst from /etc/grub.conf. Some distros have them. I would need to reboot my server to look at the menu again but the way I remember it when the grub menu comes up use the arrow keys to highlight the desired line and I think yoou hit the "e" key to get into edit mode then hit "enter" to boot when you are done. There should be instructions on the menu page but you have to arrow up or down to stop the boot from timing out and taking the default. Hope that helps.
 
Old 03-14-2007, 07:48 PM   #7
Ferd
LQ Newbie
 
Registered: Nov 2005
Distribution: MEPIS
Posts: 6

Rep: Reputation: 0
astender:

That looks like what I tried to do. I'm pretty sure I didn't have a newline in there and have done it correctly. I'll try your suggestion and double check these things and let you know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kvm-switch mouse problem linmix Linux - Hardware 4 09-23-2005 10:02 PM
SuSE 9.1 Pro, mouse goes haywire on KVM switch cj12345 Linux - Distributions 4 04-19-2005 09:53 PM
imps2 mouse doesn't work with KVM switch compu73rg33k Linux - Hardware 6 05-27-2004 10:29 AM
KVM SWITCH/ Mouse freezing in X SlackinMonkeee Linux - General 10 12-18-2003 05:46 PM
Keyboard/mouse dropout with KVM switch BioHak Linux - Hardware 3 05-28-2003 02:05 PM


All times are GMT -5. The time now is 06:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration