LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2002, 12:24 PM   #1
jkcunningham
Member
 
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
problem booting with KVM switch


Hi,

I've got several computers running through the same mouse,keyboard, and monitor using a Linksys KVM switch. This has been great, in that I have a lot more desk space than I did when I had three monitors, keyboards and mice running around on it.

However, there's one problem. Occasionally, everything gets turned off (power failure's a couple times, and most recently a guest staying in the room with the computers). When I power the computers back up, any linux machine that can't see the mouse (and by definition only one can at most), doesn't have a mouse, and the logon screen comes up mouseless.

What I've had to do is reboot them one at a time, switching the KVM switch to the corresponding computer until it has scanned past the mouse detection part.

Is there a way to to tell linux not to scan for the mouse? That it already knows what kind of mouse is attached, whether it can see it at the moment or not?

Thanks.

jcunningham
 
Old 06-23-2002, 11:20 PM   #2
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
I have a Linksys KVM and my linux box (RH 7.2, P233, Supermicro MB) doesn't exhibit the problem you described. However, my Thinkpad iSeries 1700 does. I'm curious if anybody has solved this problem for a Thinkpad out there?
 
Old 06-25-2002, 11:34 PM   #3
jkcunningham
Member
 
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Original Poster
Rep: Reputation: 15
Really?! You mean that if you power up your linux box with the KVM switch switched to somewhere other than your linux box, that you have a mouse after its booted?

I know another guy who runs RH 7.2 into a Netgear KVM switch and he has the same problem I do.

I think the problem is kudzu isn't finding a mouse when it scans for one. I'm just trying to figure out if there's a way to tell it "don't worry about it - you've got one, alright?".
 
Old 07-03-2002, 07:42 PM   #4
steved123
Member
 
Registered: May 2002
Location: New Hampshire
Distribution: Fedora Core 6 X86-64
Posts: 82

Rep: Reputation: 15
I use a separate mouse for each system. I have the same problem and that's how I got around it. Also had a similar experience with nt 4.0 It would not find the mouse on the kvm switch either.
 
Old 07-03-2002, 09:08 PM   #5
jkcunningham
Member
 
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Original Poster
Rep: Reputation: 15
Win2k is even worse: it not only doesn't find the mouse, but it boots to 640x480 16 color video - by the time you reboot it all your desktop icons are piled up along one side.

A separate mouse isn't a bad idea. They don't take up much space. Thanks.
 
Old 07-04-2002, 02:46 AM   #6
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
I have a linksys 2 port KVM switch with a Red Hat 7.3 and XP machine. When I boot linux up with the KVM set to the XP machine it has no problem detecting the mouse. I think you might be having a bios issue and not a linux one.
 
Old 08-25-2002, 01:49 AM   #7
itismike
Member
 
Registered: Aug 2002
Location: East Coast, USA
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
I know this is not what you're asking for, but some KVM switches emulate mouses for all computers during boot.

-Mike
 
Old 08-25-2002, 04:34 PM   #8
steved123
Member
 
Registered: May 2002
Location: New Hampshire
Distribution: Fedora Core 6 X86-64
Posts: 82

Rep: Reputation: 15
kvm switch

yup mine works with windows 98 but it does not work with nt 4.0 or linux.
 
Old 08-25-2002, 05:04 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Hey, at work I have a Belkin KVM switch connecting WinNT, Win2K and linux box, whenever windows machines are losing network connectivity (happens overnight) I can't bring linux box up (only hard reboot after a couple of attempts brings the linux back up), I am constantely connecting to it through SSH (the box is in another office), and whenever it happens my SSH session hangs as well. I talked to the other end, to get the linux box off KVM and I can't believe people can be that lazy. Oh well, they are receiving a phone call from one of our help desk rep to reboot linux box - if it works for them fine, I might just telnet into it for revenge.
 
Old 08-25-2002, 11:01 PM   #10
inhiding10
LQ Newbie
 
Registered: Apr 2002
Distribution: Red Hat 7.2
Posts: 2

Rep: Reputation: 0
I have the exact same setup as ChaosX2 does, and I have not had any issues with it at all, no problems. Maybe it is a bios issue.. could be ..
 
Old 08-25-2002, 11:21 PM   #11
jkcunningham
Member
 
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Original Poster
Rep: Reputation: 15
Okay, I'm willing to consider the bios thing. On any pc I've ever worked on, if you don't have a keyboard plugged in when the bios scans for it, you don't ever have a keyboard. So, presumably, if the KVM switch connecting anything to the machine being booted, then the bios can't see the keyboard and it should be in trouble, but that's not the problem. Similarly, I can boot a normal pc with the monitor turned off, then later turn on the monitor and the video is in the same mode it was when I shut it off. Again, no problem.

Now, look at the symptoms with the KVM switch. First of all, its not a keyboard problem, but a mouse and video problem. As far as I know, the bios doesn't even scan for a mouse. It can't be a bios issue.

What clearly seems to be happening is that SuSE 8.0 needs to check something about the mouse at some point in the boot, or it won't think it has a mouse. Win2k doesn't care about the mouse, but - like SuSE 8.0 - it does care about the monitor. If the monitor isn't connected (i.e. switched elsewhere) it comes up in 640 x 480 x 16 color mode.

What is more likely is that the difference is in the Belkin switches you guys are using and the Linksys switch I'm using. Maybe the Belkin provides a different kind of termination to the "off"-switched boxes which allows them to identify what would be there where they switched "on".

Just a thought.
I still think there ought to be a way to tell the kernel not to try to identify certain pieces of hardware, but read it from configuration files ("trust me, its there").

J. Cunningham

Jeff
 
Old 08-25-2002, 11:45 PM   #12
itismike
Member
 
Registered: Aug 2002
Location: East Coast, USA
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
True, my Belkin does emulate devices for me, but because I use a USB mouse and USB isn't loaded yet, I still have to use another mouse for my Linux box. I'm not sure how my winME box knows it'll have a keyboard and mouse to use...maybe I've got USB enabled in the BIOS?

-Mike
 
Old 08-26-2002, 11:17 AM   #13
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
4 port Belkin..

I have to unplug my mouse when I switch from Win2K to RH7.3. I have a logitech optical wheel mouse and it cause things to go crazy on my desktop if I don't unplug it. If I reconfig the mouse to not use the scroll things work fine. I find it a little annoying but not as annoying as Win2K...
 
Old 08-26-2002, 04:24 PM   #14
itismike
Member
 
Registered: Aug 2002
Location: East Coast, USA
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
I'm just trying to undertsand this post, needamiracle. Are you saying that with both computers fully booted, you cannot switch between them without unplugging your mouse from the KVM? Or is this just during boot? If it's just during boot, is your mouse USB? My 4-port supports mouse emulation...doesn't yours?

-Mike
 
Old 08-27-2002, 10:28 AM   #15
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Yes, the only glitch I have is switching between machines...that is when the things go haywire in my window manager. Switching from RH to W2K is fine, everything boots fine as well. The only annoyance is having to unplug the mouse. I have a USB to PS2 adapter on the front of the switch. If I hotkey to any of the machines (scroll lock, scroll lock, then 1-4) things also go wacky. The only real solution that I have found when switching is to unplug then plug in the mouse once I am in KDE. As long as it works I am content... KVMs are great but I wish there was a white paper on making low cost HEADLESS machines with just an ethernet adapter in it. I know you can set the consol output to a serial port, can you set it to an ethernet interface too? The webservers and db servers I run don't need a monitor or keyboard as long as I can SSH to them. I guess another little project can be added to the things I'd like to do with Linux.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM-switch problem no scroll-lock key agts Linux - Newbie 8 12-21-2011 09:44 PM
Problem with KVM switch davcefai Linux - Hardware 2 10-30-2005 03:47 AM
kvm-switch mouse problem linmix Linux - Hardware 4 09-23-2005 10:02 PM
Video problem with KVM switch glyndwr Red Hat 6 07-01-2004 09:56 AM
Mouse problem with Linksys 2port KVM Switch. edmond78 Linux - Hardware 2 08-20-2002 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:12 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