Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Hardware

Using USB As A KVM Switch? 6

Don Faulkner asks: "One of the features of USB that people are really excited about is the 'multi-headed support.' In other words, I should be able to connect several sets of [monitor, keyboard, mouse (and other stuff like joystick, printer, etc.)] to one computer, maybe distribute these throughout my house, and move seamlessly from one to the next. What if we turn this around? What if I wanted to control several computers in a rack, all from one location? This is done today with KVM (Keybard/Video/Mouse) switches, some of which are very sophisticated. Could USB do the same thing? Most computers have two USB ports, so you could theoretically daisy-chain the computers together, but this would be bad for reliability (take down one computer, and everything past it on the chain disappears). So, we would probably want to use a hub, and attach the head to that. Has anyone tried this? Anyone seen it done?" Here's an interesting sidenote: the USB 2.0 specs were just released. You might check out what they have to say about KVM switches.
This discussion has been archived. No new comments can be posted.

Using USB As A KVM Switch?

Comments Filter:
  • That's great, but I'm not sure how relevant it is to the topic at hand. In a KVM switch, you don't use the keyboard to send the video signal either. In the PS/2 world, one mouse can only be connected to a single PC.. That's why we have KVM switches.. The fact that you can't connect one USB mouse to multiple PCs directly isn't an added limitation that USB has compared to PS/2.
    Further down the page, you can see how I manage this at home.. It works fine, because my monitor handles the switching between which USB "chain" is active.
    Normal KVM switches tend to have a "ghost" circuit, that tricks the PC into thinking that it has an idle mouse/keyboard attached. The same sort of thing could be constructed for USB.. Read the USB device info into a small buffer in the KVM switch, and then don't notify the PC of disconnection unless the USB device is unplugged from the switchbox itself.
    In this way, you could have as many PCs connected to the switchbox as you cared to build ports for. Of course, the video signal would travel over a video cable, just as it does currently. The advantage is that you can hot-plug USB devices, and that there are many more types of devices available.. You could share, say, a USB biometric authentication device (thumbprint scanner) across a rack full of servers with this kind of thing. Its usefulness is limited to geeks (me) that have more than two PCs, but it could still turn a profit.
  • I'm not sure how well this works in linux, but I can tell you from experience that using my Mitsubishi 900U monitor with 3 port downstream usb and 2 port upstream usb in windows is NOT ideal. There are many problems with switching between the two computers. Sometimes the devices won't get detected when I switch, and if one computer crashes I usually have to turn the monitor off and back on again before the other computer gets the devices.
  • Well, I have this monitor. [mitsubishi-display.com] I connect two PCs running Win98/Windows200 to it. I connect one of them to the BNC inputs, and the other to the DSub. I connect my mouse [www.razerz...mtargetnew] and my keyboard [supremetyrant.com] to it. When I press the left-most button on the monitor, it switches control between the PCs. Assuming that they're both on, it works like a champ. I definitely think that there's a place in the market for a standalone unit that does this, though. Unfortunately, anything that isn't built into the monitor is going to have a detrimental effect on your image quality. That's why I switched from a KVM switch to a monitor that had it integrated. Also, it's vitally important that you have rock-solid USB support. I'm running 8 simultaneous USB devices now, so I've gotten all the kinks worked out. Win2k's USB support works substantially better than Win98SE's.
  • by Anonymous Coward on Friday April 28, 2000 @06:18AM (#1105149)
    I work for a major corporation that is heavily involved with USB, and while I'm not directly involved with it, I am (organizationally) right next to the main USB group here.

    You can't 'daisy chain' USB. Every USB tree can have at most one PC on it. (This does not include special USB communications devices that allow communications between computers, similar in concept but not in execution to a null modem.) While you could connect multiple sets of keyboards and mice to your computer via USB (and a co-worker has told me about hooking 100 mice up to a computer at a time for testing), you have to remember that each link on the USB chain has to be five meters or less, thus limiting its usefulness for long-distance stuff. (See this link [icron.com] for a company that's trying to change that.)

    You can't have a USB monitor. While some monitors have USB hubs built in, and allow you to control things like brightness or picture shape with them, USB (even 2.0) is nowhere near fast enough to handle an uncompressed video signal.

    So, in response to your original question: Yes, you can use USB for a KM (but not V) switch, and it's easier and cheaper than the more advanced elecctronics that are necessary for a KM switch that can hide the connection and disconnection of the PS/2 keyboard / mouse from the computer. The best way to do it would be to plug a single keyboard and mouse into a hub, and then run a single USB cable from each computer to near that hub, and then either with a switch or manually change which computer is plugged into the hub.

    There are only four wires in a USB cable, and because it's hot swappable, any switch box that you create only has to be an actual switch, nothing more advanced is necessary. However, this does have the disadvantage that you can't switch too quickly. (Fast plugging-and-unplugging can screw up the Windows 98 USB stack.)
  • by Anonymous Coward
    I'm also using a 900u, but in this case to switch between a Win98 box and a Mac (G3), sharing a keyboard and mouse. The Mac handles switching just fine, but the Win98 box loses keyboard support about 1 out of 3 times. And if the Win98 box goes to sleep, forget about it! Force reboot... I switched back to having two keyboards and mice. I'm using a logitech wingman mouse, and a Macally Keyboard, which is sold for the Mac, so maybe thats the issue...
  • ...try www.blackbox.co.uk [blackbox.co.uk]. They sell some - look quite nice.

I tell them to turn to the study of mathematics, for it is only there that they might escape the lusts of the flesh. -- Thomas Mann, "The Magic Mountain"

Working...