Mutant USB K(V)M Switches?
Zwack asks: "I was wondering about a KVM switch capable of handling both Macintosh and Linux like computers. I would prefer the V part to be optional as I use multiple screens, but I prefer to use a single keyboard and mouse. Ideally there would be an open design out there that I could adapt to my needs. I've worked with large commercial products before with mixed results, but the prices seem exorbitant for my limited home use. I've searched google without any real success. Does anyone know of any low cost products or open designs that they would recommend. Initially PC/Mac support is all that is required, longer term I may want to add Unix workstations into the mix (I used to own Sun and SGI boxes, and I work with a lot of HP and IBM equipment)." The "mutant" part comes from the fact that the switch itself has to offer an easy way to adapt to the different platforms it will connect to. Such a switch might use special cables: a custom connector to the switch, but the opposite end will connect to whatever machine you like, be it a PC, a Mac, a workstation or even a TV. Something like this would strike me as a very useful portable device, has anyone developed something like this yet?
What needs? If it switches the KVM, what else do you need? I guess given a choice, open beats closed. But I don't see the utility here.
I've worked with large commercial products before with mixed results, but the prices seem exorbitant for my limited home use.
"Limited home" users shouldn't buy KVMs. What I mean is that rack-mounted servers are also "exorbitant for...limited home use." They're not targetted at home users. If you want to use them, you pay the price.
The "mutant" part comes from the fact that the switch itself has to offer an easy way to adapt to the different platforms it will connect to. Such a switch might use special cables: a custom connector to the switch, but the opposite end will connect to whatever machine you like, be it a PC, a Mac, a workstation or even a TV. Something like this would strike me as a very useful portable device, has anyone developed something like this yet?
Why has no one developed an adapter that will let you put any engine into any car? This is a ton of work, and it's not the kind of adaptation that can be performed without sticking a real CPU in there with every different kind of interface. It's a lot trickier than just shifting wires around. The end result would be an expensive device that no one would pay for: someone would want it for the SGIPC translation but not want to pay for the HP, Mac, etc. translations in the process! This is best accomplished, IMO, by finding converters to whatever format you can (serial, e.g.) and then getting a switch in that protocol.
Karma: Good (despite my invention of the Karma: sig)
Check out x2vnc and win2vnc. One keyboard and mouse, seamlessly controlling multiple computers on a desk (each with their own monitor) as though they were one big desktop space.
w ww.hubbe.net/~hubbe/win2vnc.html
http://www.hubbe.net/~hubbe/x2vnc.html
http://
I was in a very similar situation myself! I have a MAC tower, a Dell portable, and a HUGE Dell screen. I was appalled by the over-priced boxes out there, but here is my cheep-but-effective solution:
My keyboard and mouse I use is PS/2. (I do have MAC issue keyboard and mouse, but you'll see why I use PS/2.) from there, it travels to my $50 (w/o cables) Linksys PS2KVM2 switch with my screen connected. To my Dell PC, I connect the switch up using some double male patch cords. For the MAC, I got a USB to PS/2 adapter for $15 at a computer show.
It works like a charm! For the Linksys switch, I just have to hit Ctrl twice and I switch computers. It really confuses some of my friends when one minute they are looking at OS X and the next Windows XP. I do have a few notes:
If a switch does not plug into the wall for power, it will draw power from keyboard and mouse inputs. In other words, you can expect things to work unless one powered keyboard and mouse are connected to the switch. If you removed video from the switch, it will still operate as long as the keyboard and mouse are plugged in.
The other note I have is that even though I can still use all the keyboard functions on the MAC. The Windows key functions like the Apple key. The only thing I can't seem to do is do boot-level functions. (Example: If I hold down C at booting, it will not boot to the CD drive.) That's why you should keep your old mac keyboard and mouse around.
I know this isn't a pure USB solution, but it may be cheeper than finding a box that uses USB natively. Hope this helped someone!
AnamanFan - Trying to find the Truth, one post at a time.
I had the exact same problem, two linux machines, a windows machine, and a mac. I had a normal kvm, and all I did was get an adaptor that converts a mouse and a keyboard ps2 inputs to a single usb connector. I then hook the kvm ps2 ports to it, and I hook the adaptor to the mac.
Works great.
Adaptor was about $20 at Fry's.
Brought to you by...
yep you guessed it...
Frank Stallone
If you don't already have at least a basic video switchbox or basic HDI-15 & dual ps2 KVM, you might as well throw the money and do it right.
We're doing this at the office for some secretarial luser who needs both a W2K and Mac box. We picked up one of the Belkin Omniview SOHO 4's and had no problem hooking it up to both platforms. I've also heard that it works with linux (at least on a RH7.0 install someone had...YMMV)
"If I wanted your input on my pet project, I'd stick my hand up your ass and use you like a sock-puppet." - Muse
I ran into this problem a while back. I have a multimonitor setup on my primary machine, but wanted to control my laptop that was sitting next to all the monitors. So I really didn't need a K V or M. Just USB switching.
So I got myself just a plain 3 position USB switch and some long USB A to B cables. I feed my usb keyboard and trackball into a hub and then into the switch. The switch itself is $25. Problem solved.
Here's the switch I use:
http://www.cablesnmor.com/usb-switch-box.html
I also use win2vnc from time to time, but it's lack of wheel support, ALT-TAB support and misunderstanding of multimonitor can make it very confusing to use.
i have a belkin soho four port, does one monitor usb and keyboard/mouse as well as mic and line out.
its pretty sweet.
b
... and I bet after some screwing with /dev/... you will be able to send keystrokes/mouse
:)
data over the network to whatever UN*X box you
have (this should include you OS X Mac).
You can get an old box that would handle to "load" like that for free (or for under $200), I doubt
any "universal" box will be cheaper.
OTOH, if you need to control booting of
your boxen, this would not help... But how often do you need to reboot a UN*X box?
Paul B.
http://www.iogear.com/products/productselect.php?C ategory=KVM
M ain%20I mage.jpg
I have the GCS104U. Bought it for $80 last year, but somehow it's selling for twice that now. 4 computers can share video and one USB mouse/keyboard, and can also share 4 USB peripherals (check the iogear.com web site for better photos, like:
http://www.iogear.com/resources/139/Web%20
The Belking Omniview SOHO is great. I have one for my home PCs. It wasn't exactly cheap, but it probably is one of the better low end KVMs. It takes PS2 in and will send it out to PS2 or USB. It has audio switching. Works fine on Redhat 7 and my guess would be most Linux Distros.
This all was working good until last night when my brother-in-law told me his boss is thinking about giving me one of their old O2's. Where the #*^%$*$ am I going to put a SGI box now? It's a problem that I'm happy to try to figure out. The Old World Mac is slowly becoming a file server and I can free up some space but I would have to start over if I picked up an Alpha and a Sparc. Oh to be a geek
The USB keyboard/mouse worked sucky with the 2.2.x Linux kernel, but it's one happy clam now that I'm using the 2.4.x kernel. USB with 2.2x worked, but you had to boot the box with it hooked up, and then leave it switched to that box. With the 2.4.x kernel, I can switch from one computer to the other at any time.
Can't you read?
"I've searched google without any real success."
I have a few USB kvm switches in my home
I believe it's exactly the same as this model from IOGear, although that's not the name on the box. They cost just over $100 and switch 4 computers each.
On the back, there's a USB port and a video port for each computer. Then there's another port for the monitor and 4 ports for any USB peripherals. I use a sun type-6 usb keyboard, a microsoft optical usb mouse. I believe this should work with a mac too.
Now here's the reality of working with this setup: when you switch between computers, the USB devices are disconnected on one system, then enumerated on the new system. On windows, you get the busy cursor for about 2-3 seconds before the mouse and keyboard become active. On linux or solaris, you get a bunch of new devices in the log appearing or disappearing every time you switch over. Also, on redhat, it seems that if I boot the system without being switched to the keyboard and mouse the window system may not start until you log in and say startx.
Now belkin makes a USB & PS/2 kvm switch. It will even switch audio as well. I bought one of these, only to find out that I can't use my USB keyboard. What it does is accept a PS/2 style keyboard and pass those signals on to computers that need PS/2, and pretend to be a USB keyboard for the other systems. This could eliminate the switching problems (the systems never see a disconnect/reconnect), but you don't get the benefit of a USB keyboard.
Also, for what it's worth, Network Technologies makes a bunch of KVM switches. I had one of their rack-mount switches a while back and it worked fine. I could use a sun type-5 keyboard and mouse with lots of suns and PC's.
The old logitech cordless keyboards I use can be locked onto as many receiving computers as you may want.
What's missing is a program like X2Vnc to catch the mouse pointer and all keystrokes when moving from one end of the screen to another, or maybe with a key-combination.
Any other way it's a totally useless feature, but my laptop don't like ps/2 kvm's either so that's not a solution for me.
PC, Mac, and Sun KVM. Expensive, and specialized cables are required, but they will work on all 3 (and probably others, too, since newer Sun, SGI, and HP machines all use VGA and PS/2). Go Here for details.
I'll second the vote for the Belkin OmniViews. Works great with my mix of Linux and Windoze boxen (with the exception that the mouse sometimes gets weirded out when I switch from a linux box to the windows machine - anyone know how to fix that? The mouse is an Intellimouse Explorer optical USB going through a PS2 adapter to the OmniView switch).
-Vercingetorix
"Necessitas non habet legem." -St. Augustine
Belkin's new line of OmniView KVM's connect to the target computer's with USB. Just run a USB B-A cable from it to the target and both keyboard and mouse are taken care of. It will even switch a Speaker and Mike jack if you want to swap audio between systems as well. Will handle 4 boxen on the unit I use, and with the CAT 5 extender you can put the boxes in the basement out of hearing.
One good thing about music... when it hits you, you feel no pain. So hit me with music. -Bob Marley
When I tried it, the same USB keyboards and mice worked on Sun, Apple, and PC (Windows or Linux). So, I don't understand what kind of "mutation" you need. If you want to, you can throw in a USB-to-PS/2 converter to hook up newer USB keyboards to older PS/2 computers.
Use the application programs x2x and x2vnc to send mouse and keyboard data between computers over the network. It's kind of funky to see the mouse cursor move off the side of the macintosh onto the linux desktop, across that screen, and onto a 3rd monitor which is a windows pc. Keyboard focus follows the mouse cursor.
:-)
You'll probably like this setup better than a kvm anyway. I use it, but keep seperate keyboards/mice stowed behind the cases of any "slave" machines since sometimes i might need to assume direct control of them - games are not fond of taking control via VNC
You could use a KVM for this purpose too - to serve only as a backup to assume direct control of a PC when you can't get ahold of it with x2x or x2vnc.
On the issue of controlling a mixture of mac/pc's with a kvm (if you are dead set on it or if you wish to for the reasons i stated above), why not get one of those USB "port replicator" things with PS/2 keyboard and mouse ports on it? Certainly you could plug the outputs of a kvm into that, and it'd be a lot cheaper than some funky KVM that can handle a mixture of USB/PS2 keyboard or mouse control.
~GoRK
See http://www.avocent.com/Cybex/PublicW2.nsf/668308c7 e3b7e07f86256a3f0055a73b/7eefd056906bbb0f86256a460 050d9e6?OpenDocument
:
:
I just got myself one of these and I'm extremely happy with it. I'm not running Linux on any of my machines, but it would work just fine.
The switch is a 4-port switch made especially for running multiple platforms.
You can attach any PC using USB, PS/2 or AT keyboard, and USB, PS/2 or serial mouse.
You can attach any USB-based Mac with a VGA port.
You can attach any Sun box.
As far as the actual I/O devices you can attach to the switch
- you can use a serial, PS/2 or Sun mouse
- you can use a PS/2 or Sun keyboard
You can't actually attach USB devices to the switch, even though you can have computers that use USB.
The monitor has to be a 15-pin VGA type - but there are adapters available for the old Sun type monitors.
I am currently using this switch with two PCs (both using PS/2 mouse and PS/2 keyboard plugs) running OS/2, and a Sun Ultrasparc 5. Together with the 3 cable sets (2 PC sets and 1 Sun) and shipping, it cost me $399 . I plan to use the 4th port on the switch for a USB-based Mac when I buy a Mac.
The devices I'm using are
- an AZERTY keyboard (yes, I'm French). This worked fine with PCs. To get it recognized as French by the Sun, it took more work. The Sun tries to autodetect the keyboard's language. This only works with Sun keyboards, not with PC keyboards like mine. So it was recognized as US QWERTY. Fortunately, the SwitchView has a special command mode you can use to set parameters. You type the command on the keyboard, and it gets saved into the SwitchViewp.
After I entered CTRL CTRL SUN=23 ENTER, shut down my Sun, and restarted it, it automatically detected my keyboard as AZERTY, emulating a French Sun keyboard ! Joy.
- a Kensington Expert Mouse 4-button trackball . This is one of the explicitly supported trackballs. The firmware of the SwitchView MP specifically knows about this trackball model and a few others. Otherwise it always works as just a 2-button mouse through other switches, both mechanical and electronic. But the SwitchView lets all 4 buttons and acceleration work. Joy !!! This is the best switch I have seen. Make sure your trackball is explicitly supported in the list though, if you want the special features. Also note the newer Expert Mouse / Pro (which I also have) isn't supported yet. It acts as a 2 -button mouse. It probably takes a KVM switch firmware upgrade for it to work. But I'm happy with the old trackball for now.
- as far as monitor, I'm using a 5.5-year old Viewsonic P815 21" monitor. Works great. My OS/2 PCs are running at 1600x1200x16M at 80 Hz, with a Matrox G450 video card. This is the maximum video resolution/rate the switch is rated for. There is a very tiny amount of ghosting, but nothing that bothers me, and I have returned many switches before because the video quality was inadequate. If I increase the refresh rate to 90 Hz, ghosting becomes more noticeable, this is why I reduced it to 80 Hz.
In short, this is the best switch I have ever seen. I cannot recommend it enough. Very much worth the money. And if you know how much real estate costs in Silicon Valley, you understand that the space savings of having only one monitor/keyboard/mouse pays for itself many many times.
-- Julien Pierre http://www.madbrain.com/blog
I assume the problem is the sync the OmniView tries to do. The OmniView broadcasts a generic "nothing to see here" signal to non-selected machines, then syncs the signals with the real keyboard and mouse when you select that machine (and syncs the previously selected machine to the generic signals).
I even tried removing the Mouse & Keyboard hardware from the System, hoping that windows would autodetect a better driver. A couple reboots and a safemode, and I was back where I started.
My biggest bitch though, sometimes the keyboard and mouse don't sync with Windows, and I have to hard reset the box. Stupid non-journaled filesystems!
I saw this article the first day, but hesitated to reply. I'm not sure if I'm bullshitting or not, and you have to remember that I'm mostly a hobbyist and a tinkerer, not someone offering a finished product at this point.
I've been thinking along the same lines myself. I own, more or less, one of everything out there. And while it may only be a mac and pc, or pc and unix box, you have to remember that the mutant KVM would have to be usable with all these and more, or what's the point? First off, let's enumerate the various systems this would have to be designed for.
XT PC with db9 CGA video (serial mouse)
XT PC with db9 CGA video (bus mouse)
XT PC with hdb15 VGA (serial mouse)
XT PC with VGA (bus mouse)
PS/2 (mouse and kb, VGA)
USB PC (mouse and kb, VGA)
Mac ADB (db15 mac VGA)
USB Mac
Sun (type 5 kb and mouse, 13w3)
Next Cube (I believe cubes are all non-ADB, with a sun5 kb and mouse... video is db19, fixed VGA)
NeXT slab (sun type5 kb and mouse, 13w3)
NeXT slab (ADB mouse and kb, 13w3)
SGI (several different formats, only read about them)
DEC (rj11 kb, miniDIN-7 mouse, 3w3 video)
This should work for vaxstations, DECstations, and some alphas
Serial terminal (seems it would be useful)
Amiga (quadrature db9 mouse, db23 multiscan video)
Atari ST (db9 quad mouse, strange miniDIN-19 multiscan/VGA video)
I've missed some, but these are the ones that I can think of, off the top of my head. Some people like me, have most or all of them, sometimes even several of one or another. A single piece KVM just won't work, and adapters are messy at best, and often unworkable. How to fix this?
The first problem that comes to mind, is that of keyboard differences... some are insurmountable. Sure, you can get away with keyboard remapping to some extent. But I think I have a fancier solution, if more expensive. A totally new keyboard. Call this Product #1.
Product #1 is a USB keyboard. It has something along the lines of 140-160 keys. Each key has a real keyswitch, not the damn bubble membranes you see nowdays. Each key also has a small monochrome LCD atop it, with a pixel resolution of 24x24 or so. We can remap any of these keys to any other, and the legend follows. We have plenty of keys, for the 24 function keys that some systems use, the mac specific keys, the "windows" keys, everything. When you press the capslock, maybe even the legends change to reflect this. Hell, maybe game designers could have the game remap icons to certain keys... there could be alot of use in this thing all by itself. Hence, it being USB, allowing it to be a seperate product.
The second problem you'll encounter, is that of a wildly varying group/number of systems people like us might like to use with it. This, I think is also solvable.
Product #2
The KVM itself, would be a attractive chassis, with anywhere from 8 to 64 slots. Perhaps even several models to reflect this. These slots would be much like you see on router hardware, hotpluggable, with no need to open the case. The chassis itself would probably be a passive backplane with a small power supply. There would be one (or possibly more on the high end model) "controller" slot. This slot/card is where you plug in your keyboard, mouse and monitor. If necessary, there could even be several different cards for this, maybe one for a regular ps/2 setup, another for the Uber-keyboard described above, etc. Future insurance against having a DVI flat panel 5 years from now, if you like to think of it that way.
The other slots, would allow you to plug in the perfect match for whatever computer you will use it with. If there is no such card, you call me up, and get a quote from me. I hopefully wouldn't have to charge too much... I get to keep the design, in case someone wants one later. We even make the design open... make your own, or design it and let me put it together. I dunno. But the idea is just too cool, IMO, to not do it.
Can anyone see a technical problem with this?
Can anyone think of a good way to get this happening?
I had a similar problem with two Macs and a x86 Linux box under my desk. My solution was a 4 way ADB KVM switch from Dr. Bott and a Griffin Technology iMate. I plugged the Macs in with the cables included with the switch, and used the iMate and a VGA to Mac video adapter I had lying around to hook up the x86 box. Worked well except for BIOS tweaking, which meant I kept the ps/2 keybaord on top of the machine and easy to reach.
I have since moved and the computers under my desk have changed as well. All my computers now have USB included or through an add-in card, and have VGA or easily adapted to VGA video. In the near future to clear my desk of two extraneous mouse and keyboard sets I plan to get a Dr. Bott 4-way USB/Dual-video KVM switch. This will likely mean keeping an ADB keyboard hidden under my desk for when bad things happen to my older Mac but otherwise is just as workable as my previous setup.
The moral of the story is to pick the lowest common denominator and get adapters for the one or two odd-ball machines. These days that means USB "K" and "M" with a VGA "V" which should work nicely assuming your hardware is less than 10 years old and your OSes are less than 3. I don't know about SGI, IBM or HP but any recent Mac, Wintel, or Sun workstation should work just fine with a USB/VGA KVM like the one I'm looking at buying the Moniswitch Pro Dual VGA.
Well, there have been some interesting (and some pointless comments)...
I didn't think about it, but both of the macs I have are older ADB macs (1 68k and one PowerPC)... I don't have any USB macs at all. USB didn't even strike me as being relevant considering the array of equipment that I am thinking of... Although that does make sense for newer consumer machines.
Of the Linux boxes, two out of four have USB (the others are P90-P133 machines in various server roles)...
Some of the real unix boxes use Serial consoles which work for booting too and for those I'll happily use conserver But some of the other machines I've used in the past used a local keyboard/mouse and wouldn't have it any other way.
I guess that what would be nice is a modular system. Plug in a board per machine which converts universal keyboard/mouse/video signals into specific ones. The boards would probably have to have some sort of DSP on them to convert the signals into USB/ADB/PS2/AT... The video signals would also need to be converted to some extent...
For the moment though, I guess I just want something that can convert ADB to PS2 to AT and back again... And a simple selector.
Z.
-- Under/Overrated is meta-moderation, and therefore is Redundant.