LinuxQuestions.org
Review your favorite Linux distribution.
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 11-05-2003, 09:06 AM   #1
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
Switchbox curiosity


I run two Linux boxes connected to the same keyboard and mouse via a manual switchbox. When I switch from one to the other I always lose mouse control. The keyboard is recognized in switching back and forth. To regain control of the mouse I need to ctrl-alt-backspace which restarts X. What can I do to configure my machines so that I don't lose control of my mouse when switching between the machines via the switchbox.

TIA
 
Old 11-05-2003, 09:09 AM   #2
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
Its a PS/2 mouse right? Well, when the PS/2 mouse is disconnect from the computer, you need to re-initialize it in order to use it again. When you are using your switchbox, the computer sees that as you unpluging your mouse. So, you can either buy another mouse for that computer, or don't use a switchbox.

Why exactly are you doing that anyway?
 
Old 11-05-2003, 09:37 AM   #3
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
You're absolutely correct, I am using a PS/2 mouse. I'm trying to use this setup as I have a limited amount of space on my desk. I tried the two mouse/keyboard route and it got kind of messy. Is there another type of mouse/keyboard solution for multiple computers?

Thanks
 
Old 11-20-2003, 09:03 PM   #4
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
The Answer

The answer is to get a KVM switchbox. That keeps the various PS/2 mice alive!

 
Old 11-21-2003, 05:06 AM   #5
woppa30
LQ Newbie
 
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27

Rep: Reputation: 15
I also have a similar problem, my two machines (Win2K and RH9) are connected to a Belkin Omniview KVM. The Win2K is fine during switching but the RH9 box flips out with the mouse. I tried purchasing a PSU for the KVM in case that was the problem but that didn't solve it. Bugga. Logging out and back in did it for me but thats a pain in the rear. Will try the CTRL ALT backspace thing tonight, otherwise I will try and set RH9 up as a VPN server and connect to its desktop that way through the LAN (as a server it won't be accessed that much apart from through the LAN as opposed to via the keyboard and mouse.
I have tried looking for setting somewhere in the GUI to help out but with no success. I will also be having a god poke around the BIOS over the weekend.
David.
 
Old 11-21-2003, 11:50 AM   #6
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
That's odd. I'm running RH9 on one box and Gentoo on the other. No problems since installing my KVM switch. If you figure out what the problem is, please submit another post.

Bob
 
Old 11-22-2003, 01:05 AM   #7
psoren
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
I'm using a Logitech corless keyboard and mouse with a manual switch box to
three CPUs. Normally I don't often have a problem with losing the mouse. If I do however, I simply ctl-alt-f6 and ctl-alt-f7 to switch from the X-windows console and back. Where I do see a problem is when switching from Windows 98 (gack) back to Linux. The mouse scaling is wrong. Switching consoles fixes this. Note I am not running gpm on the non X-windows console.

The fundamental problem you are encountering is that the switch box is interrupting power to the mouse momentarily as you switch between CPUs. Some switches act
fast enough that the filter capacitors in the mouse hold the power up during switching. A lot is dependant on the mouse/switch combination. Although my mouse is battery
powered, the receiver is still powered from the CPUs. The receiver probably has a
bigger capacitor.

The "electronic" switches which some of the of the others refer to as KVMs (manual
switches are also KVMs) use diodes to supply power from all the CPUs to the
keyboard and mouse. This way the mouse never losses power.

If you are electonically inclined all you need to do is bridge the +5V power switching contacts with a diode. Cathode toward the mouse and keyboard. Alternatively, a 1000uf/16V capacitor between +5 and ground at the mouse connector will probably give enough hold up time for switching.
 
Old 11-22-2003, 05:43 AM   #8
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
Thanks for the reply.
 
  


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
usb printer switchbox mickeyboa Linux - Hardware 0 06-11-2005 02:23 PM
out of curiosity elamigo2004 Linux - Software 1 04-17-2004 03:39 PM
Kopete bug/curiosity yaromir Linux - Software 1 03-30-2004 09:12 AM
out of curiosity aizkorri General 5 12-15-2003 10:16 AM
Out of curiosity: Favorite screensaver = ? J.W. General 16 11-22-2003 11:56 PM

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

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