LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-01-2007, 07:45 PM   #1
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
My KVM Woes -- the quest for Linux and Windows harmony


On top of my desk sits a Windows XP box, and an SUSE Linux server sits below; both are set to 1280 x 1024 resolution. I originally hooked them to the monitor, keyboard, and mouse using the BELKIN F1DK102P. For a while, maybe six months, it worked great. And then one day the mouse started acting flaky and then keyboard stopped responding to key-presses. Unplugging and plugging back in fixed it two or three times, but then the keyboard actually died, which was sad because that keyboard and I had been together for a long time and I was very fond of its clickyness.

Next I tried the IOGEAR GCS62. Despite the mouse and keyboard sockets being too close together to accommodate both the AT/PS2 converter and the PS2/USB mouse converter, this KVM worked pretty well. The only problem was that if I shut down the Windows box, which I like to do as often as possible, the KVM shuts down completely: the Linux box is still running and remotely accessible, but the monitor goes blank and the mouse and keyboard turn off (it specifically shuts down when the video card in the windows box turns off, I believe).

Then I tried this Tripplite 2-port KVM. I like this KVM. It's small and simple, comes with its own cables, and can handle the adapters that find their way onto mouse and keyboard plugs with ease. Unfortunately, it behaves exactly the same way as the IOGEAR did. In fact the only KVM I've tried so far that behaves the way I like is the BELKIN (I mean, aside from that whole failing after six months thing).

I've tried shutting everything down and starting them back up in order, Linux first, Windows first... unless the Windows box is on, the inputs and display are all off, which is frustrating because I like to use the Linux box as my default desktop machine.

So, I'd like to have one set of input devices and be able to turn off the Windows box and still be able to see and use the Linux box. If anyone can share a good way to do this, I'd be very grateful.
 
Old 01-01-2007, 11:06 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I use the Trendnet TK-401R. No trouble at all switching between Linux and Windows.

I used to have a Belkin, but the issue was that I could only switch once -- either I could switch from Linux to Window or vice versa, but I could never switch back. The Trendnet KVM didn't have that same behavior. Good luck with it
 
Old 01-08-2007, 11:33 PM   #3
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the suggestion, J.W. I was really hoping this was going to do it, but sadly it did not.

Using the Trendnet TK-401R, I still have keyboard in Linux after Windows shuts down, but no mouse. Also, it worked fine *until* Windows was introduced. In other words, I plugged in the Linux box first and ran it by itself and everything was fine. It wasn't until I turned on Windows and then shut that box down again that the mouse stopped working in Linux. Turning the Windows machine back on returns mouse functionality to the Linux box.

Super frustrating. Clearly, I am cursed or something.

A friend suggested that logging of the PS2 port in Linux is conceivable. Anyone know how to turn that on? Anyone know if that would do me any good? Maybe I should just buy a second mouse?

For the record:

Windows XP
Abit KT7E
AMD Athlon

SUSE 10/KDE
ASRock 939Dual-SATA2
AMD 64-bit

Microsoft Optical Intellimouse USB/PS2
Suntouch K101 keyboard AT/PS2
 
Old 01-08-2007, 11:52 PM   #4
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
One trick I used with my KVM that had similar probs with mouse was to switch to full screen console (Ctrl-Alt-F1) and then back to X (Ctrl-Alt-F7). That seemed to reinitialize the mouse driver.
 
Old 01-09-2007, 12:55 AM   #5
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
Starview SV411, a 4 port KVM that I use, with client's windows boxes and my linux workstations and server I have never had a problem.

no software install for any functionality.
left control, left control, 1-4 to switch systems.

Starview does have 2 port KVM's configured the same way.

ps2 ports for keyboard and mouse on the switch
svga port for monitor.
included cables have one switch connection, svga style, with two colour coded ps2 connectors and the svga connector on the other end.
 
Old 01-20-2007, 01:40 PM   #6
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Synergy for the win!

Thanks for the suggestions. Wasn't prepared to buy a fifth KVM, so I started looking into other options.

VMware was the first thing I thought of. I may still check that out just because it sounds interesting and it's free http://www.vmware.com/products/player/

A friend suggested an even more novel solution: http://synergy2.sourceforge.net/

Synergy shares mouse and keyboard between as many computers of whatever OS as you might have on your desk. It's typically for computers that have their own monitors. At work I've started using it to operate both my OSX desktop with the little Windows laptop that sits beside it. No more leaning over to screw with that tiny, annoying trac-pad. I now control both computers seamlessly with the same mouse and keyboard.

At home, I run the Synergy server on my Linux box and the client on the XP box. That frees up my concerns for the mouse and keyboard. Using a simple A/B switch for the video that I had lying around, I can easily switch the video.

Unlike the KVMs I tried, the A/B switch doesn't care in the slightest whether either box is on or not, and the Synergy client in XP automatically connects at startup. When the XP box is off, the Synergy server waits quietly for it to return.

My only problem now is that my A/B switch is kind of old and degrades the video signal. So I need a new one of those.

Otherwise, I'm happy to report that my office is now a lot quieter.

Sean
 
Old 01-21-2007, 04:59 AM   #7
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Rep: Reputation: 15
Just a quick question, but are all of the KVM's you tried powered by the pc's themselves, so whithout external power supply?

If that's the case it might be the case that's there's just not enough power to keep both systems going. You're problems might be caused by the tiny bit of standby power coming from the windows box. Some KVM manufactors recognize this problem and add a power port to their products. Since you seem to have quite the collection you might want to check and if it does hook up a universal transformer or something. Most KVM's are 5V.
 
Old 01-21-2007, 11:32 PM   #8
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
All have been powered passively. The concept occurred to me vaguely, but I never reconsidered it. Now that you bring it up it sounds plausible. And a power supply should be cheaper than buying a new, high-res A/B switch.

Will report back.
 
Old 02-10-2007, 01:54 PM   #9
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Power supply enables the linux box to remain on even after the Windows box shuts down. So, that's cool.

However, now I have a very greenish screen in Linux (looks fine in Windows), and the scroll wheel on the mouse in Linux no longer works right: only scrolls down regardless of which way the wheel is turned.

Solved one problem, two new ones appeared.

Perhaps computers just hate me?
 
Old 02-10-2007, 06:47 PM   #10
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Rep: Reputation: 15
Not computers, electronics rather in this case, well, as far is I know...

Anyway, the problems you describe might be caused by (you won't be glad to hear this) the power supply. Either it's underpowered or it's sending out it's DC power with a ripple. Try switching it with a model that can deliver more (milli)amps.

I've had some problems with various os's and KVM's as well, from being unresponsive from time to time to whole batches of keys not working. Very helpful when you're just hooking up a server to start ssh and the 'h' key won't work. The problem is universal, and happens on both your cheapass KVM to expensive rack switches, it is all caused by some manufacturers not reading (or just ignoring) the fine print in specifications for a certain standard.
 
Old 02-11-2007, 03:23 PM   #11
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Fascinating. I pirated a power supply of the same volts and amps, and now the scroll wheel works properly. The screen, sadly, is still very greenish.

According to Trendnet, the TK-401R wants a 12V DC, 1A power supply, or a 9V DC, 1A power supply. And the 12V/1A one I bought from Radioshack doesn't work as well as the cheap no-name one I had laying around.

So my question now is how many more milliamps is it safe to add? At what point will I be risking a melt-down?

Thanks.
 
Old 02-11-2007, 04:42 PM   #12
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Rep: Reputation: 15
Green screens (or yellow or blue) are sometimes an indication of a connector that's having a bad contact, causing you to miss a color in the RGB mix. I think you're ok with the power supply if your keyboard and mouse work, since KVM's seldom manipulate the signal coming from the VGA as they do with the ps/2 signals (this is because for vga signals have 2 incoming and 1 outgoing and the other way round for the keyboard and mouse).
 
Old 02-11-2007, 07:04 PM   #13
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Current can be equal or greater than the device wants. Voltage have to be equal that the device wants or else it does not work well or it gets fried (damaged). For any DC power supplies, you have to watch the polarity. I suggest power supplies from Jameco or other electronic stores. When buying switch-mode power supplies, I suggest finding low ripple voltage. For any type of power supply, I suggest voltage regulation is with in 1% or lower.

KVM switches that gets their power from PS/2 connections can be modified to get power from an external sources (AC/DC adapters, DC-DC adapters, batteries), but only if a diode is used. Diodes are one way valves when connected in series with the circuit, so the external power source will not get fried by the PS/2 connectors.

KVM switches are constructed differently. Also mice and keyboards are constructed differently. Buying favorite KVM switch does not always work because it depends on the inputs devices too. Unfortunately, you have to try several input devices that works best for your your KVM switch. Lucky for me, the IOGEAR 4-port PS/2 KVM switch works well with my Hitachi CM771 (monitor), Microsoft Natural (keyboard), and Logitech MX300 (mouse).
 
Old 02-12-2007, 10:41 AM   #14
wagonlips
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
OK, switched cables with the XP box, and the green screen went away. Everything looks lovely now. Scroll wheel works. Linux box is running while the XP box is off. I'm guarding my excitement, but it looks like I've finally reached the end of this saga. I think I'll purchase a really nice KVM cable, just to hedge my bet.

Thanks everybody for your help, especially Kater0000.

Sean
 
  


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
My Next Quest - Windows Games in Linux with Virtual CDs tvynr Linux - Games 2 02-13-2006 09:27 AM
KVM Switch Woes w. RH 9 richlich Red Hat 2 04-18-2005 07:50 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
MWM wants to live in harmony with Linux and Windows. .OK, doesn't really have choice! danno49 LinuxQuestions.org Member Intro 3 10-31-2003 08:50 PM
KVM woes <off topic ish> Dave Campbell Linux - General 0 04-23-2002 05:15 PM

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

All times are GMT -5. The time now is 11:07 PM.

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