I have a KVM switch hooked up to my Win7 box, and every time I switch away, it seems to disconnect the USB devices - keyboard and mouse.
Is there a setting somewhere to prevent this from happening?
I guess this is KVM switch specific. Some KVM switches emulate virtual keyboard, mouse and monitor for each computer it is connected to whereas some just switch away the connection without further processing. As all of us can guess, the switching type is much cheaper...
Not too much we can do here I believe...
There are three types of USB KVM switch in the market now:
USB Hub based KVM switch
Cheapest one to make, simply just plug and unplug the physical USB cables to your connected systems. Most of the USB KVM switches in the market now are using Hub-based structure. Every time you switch ports, it will cause USB HPD (Hot-plug Detect) error/re-enumeration action for connected systems, specially for Windows 7 OS which checks the status of connected devices all the time.
USB-emulation KVM switch
One or two USB port emulated keyboard or mouse to every connected system.
Pros: faster switching, Cons: doesn't work with most combos or wireless keyboards and mice, also some special functions of keyboards and mice will not work. It's okay for a non-Windows 7 OS, but will cause problems with Windows 7 because Windows 7's device stage does check and monitor devices connected to it all the time.
USB-DDM (Dynamic Device Mapping) KVM switch
Pro: Fastest switching without any USB HPD issue, 100% device mapping to all connected systems which maintains all the special functions of connected devices as long as USB HID devices, including touch-screen monitor, drawing tablet...etc. Cons: not many makers have this kind of switch and it costs more.
This worked for me:
USB Root Hub>
Allow computer to turn off this device to save power.
Universal Serial Bus Controllers
For me, the effect was not immediate, but after 1 week or so, the switch speed has increased dramatically (2-4sec).
Sometimes, I still wait like 13sec, but after restart or unplug, everything works fast again.