A KVM switch (with KVM being an abbreviation for "keyboard, video, and mouse") is a hardware device that allows a user to control multiple computers from one or more sets of keyboards, video monitors, and mouse.[1]
Switches to connect multiple computers to one or more peripherals have had multiple names.
The earliest name was Keyboard Video Switch (KVS).[2] With the advent of the mouse, the Keyboard, Video and Mouse (KVM) switch became popular. The name was introduced by Remigius Shatas, the founder of Cybex (now Vertiv), a peripheral switch manufacturer, in 1995.[3] Some companies call their switches Keyboard, Video, Mouse and Peripheral (KVMP).
USB keyboards, mice, and I/O devices are the most common devices connected to a KVM switch. The classes of KVM switches discussed below are based on different types of core technologies, which vary in how the KVM switch handles USB I/O devices—including keyboards, mice, touchscreen displays, etc. (USB-HID = USB Human Interface Device)
Feature | Hub Base Class | Emulated Class | Semi-DDM Class | DDM Class |
---|---|---|---|---|
USB re-enumeration required | ||||
Latency in sharing connected USB devices | Short | Short | ||
Supports Hot-Key Command | , only on dedicated keyboard port | , all the console Semi-DDM ports | , all the console DDM ports | |
Supports special keyboard and mouse functions | Limited* | , only acts as standard keyboard/mouse | ||
Windows 7/Windows 8 showing correct connected devices | Limited* | , shows as standard keyboard and mouse no matter what keyboard/mouse are connected to the KVM | ||
Windows7/Windows 8 built-in touchscreen monitor driver support | Limited* | |||
Wireless combo keyboard and mouse support | Limited* | |||
USB-HID (other than keyboard/mouse) support | Limited* | |||
USB touchscreen sharing support | Limited* | |||
Drawing tablet support | Limited* | |||
USB wireless unifying receiver support | Limited* | |||
Pros | Passes all signals between USB devices and target system/computer(s) | USB keyboard/mouse switching control, shorter switching time, Hot-Key Commands | Full USB keyboard/mouse switching control, DDM ports can work with all USB-HID class devices, Short switching time (latency: within 1 sec.), Hot-Key commands (apply to all USB Semi-DDM ports), Lower cost than Full DDM class switches | Full USB keyboard/mouse switching control, DDM ports can work with all USB-HID class devices, Shortest switching time (no latency), Hot-Key commands (apply to all USB DDM ports) |
Cons | Longest latency, delay in device availability, Can't use USB keyboard/mouse to control KVM switching process, No Hot-Key command, Generates HPD error when switching with particular OS's | Supports only limited/fixed general keyboard and mouse profiles, Special keyboard and mouse functions will not work, Can only share "standard" USB keyboard/mouse, Can't share other USB-HID such as: touchscreen monitor, drawing tablet, etc., Generated HPD error while using other USB-HID | Still has latency when switching | Higher cost |
A KVM Switch is a hardware device used in data centers that allows the control of multiple computers from a single keyboard, monitor and mouse (KVM).[6] The switch allows data center personnel to connect to any server in the rack. A common example of home use is to enable the use of the full-size keyboard, mouse and monitor of the home PC with a portable device such as a laptop, tablet PC or PDA, or a computer using a different operating system.
KVM switches offer different methods of connecting the computers. Depending on the product, the switch may present native connectors on the device where standard keyboard, monitor and mouse cables can be attached. Another method to have a single DB25 or similar connector that aggregated connections at the switch with three independent keyboard, monitor and mouse cables to the computers. Subsequently, these were replaced by a special KVM cable which combined the keyboard, video and mouse cables in a single wrapped extension cable. The advantage of the last approach is in the reduction of the number of cables between the KVM switch and connected computers. The disadvantage is the cost of these cables.
The method of switching from one computer to another depends on the switch. The original peripheral switches (Rose, circa 1988) used a rotary switch while active electronic switches (Cybex, circa 1990) used push buttons on the KVM device. In both cases, the KVM aligns operation between different computers and the users' keyboard, monitor and mouse (user console).
In 1992–1993, Cybex Corporation engineered keyboard hot-key commands. Today, most KVMs are controlled through non-invasive hot-key commands (e.g., and the keys). Hot-key switching is often complemented with an on-screen display system that displays a list of connected computers.
KVM switches differ in the number of computers that can be connected. Traditional switching configurations range from 2 to 64 possible computers attached to a single device. Enterprise-grade devices interconnected via daisy-chained and/or cascaded methods can support a total of 512 computers equally accessed by any given user console.[7]
While HDMI, DisplayPort, and DVI switches have been manufactured, VGA is still the most common video connector found with KVM switches for industrial applications and manufacturing applications, although many switches are now compatible with HDMI and DisplayPort connectors. Analogue switches can be built with varying capacities for video bandwidth, affecting the unit's overall cost and quality. A typical consumer-grade switch provides up to 200 MHz bandwidth, allowing for high-definition resolutions at 60 Hz.
For analog video, resolution and refresh rate are the primary factors in determining the amount of bandwidth needed for the signal. The method of converting these factors into bandwidth requirements is a point of ambiguity, in part because it is dependent on the analogue nature and state of the hardware. The same piece of equipment may require more bandwidth as it ages due to increased degradation of the source signal. Most conversion formulas attempt to approximate the amount of bandwidth needed, including a margin of safety. As a rule of thumb, switch circuitry should provide up to three times the bandwidth required by the original signal specification, as this allows most instances of signal loss to be contained outside the range of the signal that is pertinent to picture quality.
As CRT-based displays are dependent on refresh rate to prevent flickering, they generally require more bandwidth than comparable flat panel displays.High-resolution and High-refresh-rate monitors become standard setups for advanced high-end KVM switches (specially with Gaming PC).
A monitor uses DDC and EDID, transmitted through specific pins, to identify itself to the system. KVM switches may have different ways of handling these data transmissions:
Microsoft guidelines recommend that KVM switches pass unaltered any I2C traffic between the monitor and the PC hosts, and do not generate HPD events upon switching to a different port while maintaining stable non-noise signal on inactive ports.[8] [9]
KVM switches were originally passive, mechanical devices based on multi-pole switches and some of the cheapest devices on the market still use this technology. Mechanical switches usually have a rotary knob to select between computers. KVMs typically allow sharing of two or four computers, with a practical limit of about twelve machines imposed by limitations on available switch configurations. Modern hardware designs use active electronics rather than physical switch contacts with the potential to control many computers on a common system backbone.
One limitation of mechanical KVM switches is that any computer not currently selected by the KVM switch does not 'see' a keyboard or mouse connected to it. In normal operation this is not a problem, but while the machine is booting up it will attempt to detect its keyboard and mouse and either fail to boot or boot with an unwanted (e.g. mouseless) configuration. Likewise, a failure to detect the monitor may result in the computer falling back to a low resolution such as (typically) 640x480. Thus, mechanical KVM switches may be unsuitable for controlling machines which can reboot automatically (e.g. after a power failure).
Another problem encountered with mechanical devices is the failure of one or more switch contacts to make firm, low resistance electrical connections, often necessitating some wiggling or adjustment of the knob to correct patchy colors on screen or unreliable peripheral response. Gold-plated contacts improve that aspect of switch performance, but add cost to the device.
Most active (electronic rather than mechanical) KVM devices provide peripheral emulation, sending signals to the computers that are not currently selected to simulate a keyboard, mouse and monitor being connected. These are used to control machines which may reboot in unattended operation. Peripheral emulation services embedded in the hardware also provides continuous support where computers require constant communication with the peripherals.
Some types of active KVM switches do not emit signals that exactly match the physical keyboard, monitor, and mouse, which can result in unwanted behavior of the controlled machines. For example, the user of a multimedia keyboard connected to a KVM switch may find that the keyboard's multimedia keys have no effect on the controlled computers.
There are software alternatives to some of the functionality of a hardware KVM switch, such as Multiplicity, Synergy, and Barrier, which does the switching in software and forwards input over standard network connections. This has the advantage of reducing the number of wires needed. Screen-edge switching allows the mouse to function over both monitors of two computers.
There are two types of remote KVM devices that are best described as local remote and KVM over IP.
Local remote KVM device design allows users to control computer equipment up to 1000feet away from the user consoles (keyboard, monitor and mouse). They always need direct cable connection from the computer to the KVM switch to the console[10] and include support for standard category 5 cabling between computers and users interconnected by the switch device. In contrast, USB powered KVM devices are able to control computer equipment using a combination of USB, keyboard, mouse and monitor cables of up to 5m (16feet).[11]
KVM switch over IP devices use a dedicated micro-controller and potentially specialized video capture hardware to capture the video, keyboard, and mouse signals, compress and convert them into packets, and send them over an Ethernet link to a remote console application that unpacks and reconstitutes the dynamic graphical image. KVM over IP subsystem is typically connected to a system's standby power plane so that it's available during the entire BIOS boot process.These devices allow multiple computers to be controlled locally or globally with the use of an IP connection. There are performance issues related with LAN/WAN hardware, standard protocols and network latency so user management is commonly referred to as "near real time".
Access to most remote or "KVM" over IP devices today use a web browser, although many of the stand-alone viewer software applications provided by many manufacturers are also reliant on ActiveX or Java.
Some KVM chipsets or manufacturers require the "whitelisting" or authority to connect to be implicitly enabled. Without the whitelist addition, the device will not work. This is by design and required to connect non-standard USB devices to KVMs. This is completed by noting the device's ID (usually copied from the Device manager in Windows), or documentation from the manufacturer of the USB device.
Generally all HID or consumer grade USB peripherals are exempt, but more exotic devices like tablets, or digitisers or USB toggles require manual addition to the white list table of the KVM.
In comparison to conventional methods of remote administration (for example in-band Virtual Network Computing or Terminal Services), a KVM switch has the advantage that it doesn't depend on a software component running on the remote computer, thus allowing remote interaction with base level BIOS settings and monitoring of the entire booting process before, during, and after the operating system loads. Modern KVM over IP appliances or switches typically use at least 128-bit data encryption securing the KVM configuration over a WAN or LAN (using SSL).
KVM over IP devices can be implemented in different ways. With regards to video, PCI KVM over IP cards use a form of screen scraping where the PCI bus master KVM over IP card would access and copy out the screen directly from the graphics memory buffer, and as a result it must know which graphics chip it is working with, and what graphics mode this chip is currently in so that the contents of the buffer can be interpreted correctly as picture data. Newer techniques in OPMA management subsystem cards and other implementations get the video data directly using the DVI bus. Implementations can emulate either PS/2 or USB based keyboards and mice. An embedded VNC server is typically used for the video protocol in IPMI and Intel AMT implementations.
KVM switches are called KVM sharing devices because two or more computers can share a single set of KVM peripherals. Computer sharing devices function in reverse compared to KVM switches; that is, a single PC can be shared by multiple monitors, keyboards, and mice. A computer sharing device is sometimes referred to as a KVM Splitter or reverse KVM switch. While not as common, this configuration is useful when the operator wants to access a single computer from two or more (usually close) locations - for example, a public kiosk machine that also has a staff maintenance interface behind the counter, or a home office computer that doubles as a home theater PC.