KVM switch

Last updated
Symbolic representation of a KVM switch. The computer on the right is currently being controlled by the peripherals. Kvm-switch-diagram.svg
Symbolic representation of a KVM switch. The computer on the right is currently being controlled by the peripherals.
Enterprise 1U rack mount KVM showing console and computer ports for DVI and USB (keyboard/mouse) Chassis-Plans-KVM.jpg
Enterprise 1U rack mount KVM showing console and computer ports for DVI and USB (keyboard/mouse)

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]

Contents

Name

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).

Types

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)

USB Hub Based KVM
Also called an Enumerated KVM switch or USB switch selector, a connected/shared USB device must go through the full initiation process (USB enumeration)every time the KVM is switched to another target system/port. The switching to different ports is similar to the process of physically plugging and unplugging a USB device into the targeted system.
Emulated USB KVM
Dedicated USB console port(s) are assigned to emulate special sets of USB keyboard or mouse switching control information to each connected/targeted system. Emulated USB provides an instantaneous and reliable switching action that makes keyboard hotkeys and mouse switching possible. However, this class of KVM switch only uses generic emulations and consequently has only been able to support the most basic keyboard and mouse features. There are also USB KVM devices that allow cross-platform operating systems and basic keyboard and mouse sharing. [4]
Semi-DDM USB KVM
Dedicated USB console port(s) work with all USB-HID (including keyboard and mouse), but do not maintain the connected devices' presence to all of the targeted systems simultaneously. This class of KVM takes advantage of DDM (Dynamic Device Mapping) technology.
DDM USB KVM
Dedicated Dynamic device mapping USB console port(s) work with all USB-HID (including keyboard and mouse) and maintain the connected devices' special functions and characteristics to each connected/targeted system. This class of KVM switch overcomes the frustrating limitations of an Emulated USB Class KVM by emulating the true characters of the connected devices to all the computers simultaneously. This means that you can now use the extra function keys, wheels, buttons, and controls that are commonly found on modern keyboards and mice. [5]
KVM+Dock
A KVM switch with built-in docking station. It combines two devices, a KVM switch and a docking station. The customer expectations for this kind of product has increased due to a rising number of work from home setups that need to share user I/O devices between a personal PC and work laptop as a consequence of COVID pandemic restrictions.
FeatureHub Base ClassEmulated ClassSemi-DDM ClassDDM Class
USB re-enumeration requiredRequired on every switch of portNo, only for keyboard/mouseNo, for all USB-HIDNo, for all USB-HID
Latency in sharing connected USB devicesLongest, depending on connected system's OS (about 10–15 seconds)ShortShortNo latency
Supports Hot-Key CommandNoYes, only on dedicated keyboard portYes, all the console Semi-DDM portsYes, all the console DDM ports
Supports special keyboard and mouse functionsLimited*No, only acts as standard keyboard/mouseYesYes
Windows 7/Windows 8 showing correct connected devicesLimited*No, shows as standard keyboard and mouse no matter what keyboard/mouse are connected to the KVMYesYes
Windows7/Windows 8 built-in touchscreen monitor driver supportLimited*NoYes*Yes
Wireless combo keyboard and mouse supportLimited*NoYes*Yes
USB-HID (other than keyboard/mouse) supportLimited*NoYes*Yes
USB touchscreen sharing supportLimited*NoYes*Yes
Drawing tablet supportLimited*NoYes*Yes
USB wireless unifying receiver supportLimited*NoYes*Yes
ProsPasses all signals between USB devices and target system/computer(s)USB keyboard/mouse switching control, shorter switching time, Hot-Key CommandsFull 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 switchesFull 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)
ConsLongest 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'sSupports 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-HIDStill has latency when switchingHigher cost
Limited*
supported, but does not allow USB re-enumeration, which not only causes long delays in switching, but also sometimes causes HPD (Hot-Plug Device) errors to the OS system(s).
Yes*
Latency time within 1 second while switching between channels/ports.
KVM+Dock
Dual DP1.4 KVM switch with TB4 dock model will be the first model released for full-buss DisplayPort 1.4 sharing for 4K144hz gaming monitors.

Use

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.[ citation needed ] Today, most KVMs are controlled through non-invasive hot-key commands (e.g. Ctrl+Ctrl, Scroll Lock+Scroll Lock and the Print Screen 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]

Video bandwidth

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).

Monitor

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]

Monitors with built-in KVM switch functions
More monitors had been included a built-in KVM switch to be able to have two computer systems (two upstream system connections) to share the monitor. However, since most of current monitors with KVM switch functions had been putting the only hub-class KVM switch with them. There is no HID emulation or no EDID emulation/feeding to all connected systems. In addition, they're limited to having 2 systems connected to it. And only can control one monitor (the monitor itself only) with the built-in KVM switch. The built-in KVM switch CAN not support multi-monitor switching and control via it. [ citation needed ]

Passive and active (electronic) switches

Mechanical switch for keyboard (serial, PS/2 connector) and video (VGA, DE-15 connector) Data Transfer Switch - video and keyboard-8613.jpg
Mechanical switch for keyboard (serial, PS/2 connector) and video (VGA, DE-15 connector)

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.

Software alternatives

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.

Remote KVM devices

There are two types of remote KVM devices that are best described as local remote and KVM over IP.

Local remote (including KVM over USB)

Local remote KVM device design allows users to control computer equipment up to 1,000 feet (300 m) 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 5 metres (16 ft). [11]

KVM over IP (IPKVM)

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. [10] 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.

Whitelisting

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.

Implementation

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.

Computer sharing devices

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.

See also

Related Research Articles

<span class="mw-page-title-main">USB</span> Standard for computer data connections

Universal Serial Bus (USB) is an industry standard that allows data exchange and delivery of power between many types of electronics. It specifies its architecture, in particular its physical interface, and communication protocols for data transfer and power delivery to and from hosts, such as personal computers, to and from peripheral devices, e.g. displays, keyboards, and mass storage devices, and to and from intermediate hubs, which multiply the number of a host's ports.

<span class="mw-page-title-main">Game controller</span> Device used with games or entertainment systems

A game controller, gaming controller, or simply controller, is an input device or input/output device used with video games or entertainment systems to provide input to a video game. Input devices that have been classified as game controllers include keyboards, mice, gamepads, and joysticks, as well as special purpose devices, such as steering wheels for driving games and light guns for shooting games. Controllers designs have evolved to include directional pads, multiple buttons, analog sticks, joysticks, motion detection, touch screens and a plethora of other features.

<span class="mw-page-title-main">Computer terminal</span> Computer input/output device for users

A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. Most early computers only had a front panel to input or display bits and had to be connected to a terminal to print or input text through a keyboard. Teleprinters were used as early-day hard-copy terminals and predated the use of a computer screen by decades. The computer would typically transmit a line of data which would be printed on paper, and accept a line of data from a keyboard over a serial or other interface. Starting in the mid-1970s with microcomputers such as the Sphere 1, Sol-20, and Apple I, display circuitry and keyboards began to be integrated into personal and workstation computer systems, with the computer handling character generation and outputting to a CRT display such as a computer monitor or, sometimes, a consumer TV, but most larger computers continued to require terminals.

Display Data Channel (DDC) is a collection of protocols for digital communication between a computer display and a graphics adapter that enable the display to communicate its supported display modes to the adapter and that enable the computer host to adjust monitor parameters, such as brightness and contrast.

<span class="mw-page-title-main">Gamepad</span> Type of video game controller

A gamepad is a type of video game controller held in two hands, where the fingers are used to provide input. They are typically the main input device for video game consoles.

An output device is any piece of computer hardware that converts information or data into a human-perceptible form or, historically, into a physical machine-readable form for use with other non-computerized equipment. It can be text, graphics, tactile, audio, or video. Examples include monitors, printers, speakers, headphones, projectors, GPS devices, optical mark readers, and braille reader.

Multiplicity is a computer program that enables one keyboard and mouse to access two or more client computers from a host computer. It was developed for Stardock as part of their ThinkDesk subscription service, but is available separately.

<span class="mw-page-title-main">Multiseat configuration</span> Single computer that supports multiple local users at the same time

A multiseat, multi-station or multiterminal system is a single computer which supports multiple independent local users at the same time.

<span class="mw-page-title-main">Computer port (hardware)</span> Computer hardware

A computer port is a hardware piece on a computer where an electrical connector can be plugged to link the device to external devices, such as another computer, a peripheral device or network equipment.This is a non-standard term.

Various accessories for the PlayStation 3 video game console have been produced by Sony and third-party companies. These include controllers, audio and video input devices like microphones, video cameras, and cables for better sound and picture quality.

<span class="mw-page-title-main">Out-of-band management</span> Management of networking equipment

In systems management, out-of-band management is a process for accessing and managing devices and infrastructure at remote locations through a separate management plane from the production network. OOB allows a system administrator to monitor and manage servers and other network-attached equipment by remote control regardless of whether the machine is powered on or whether an OS is installed or functional. It is contrasted to in-band management which requires the managed systems to be powered on and available over their operating system's networking facilities.

The IBM Remote Supervisor Adapter is a full-length ISA or PCI adapter produced by the IBM corporation.

In computing, the term remote desktop refers to a software- or operating system feature that allows a personal computer's desktop environment to be run remotely from one system, while being displayed on a separate client device. Remote desktop applications have varying features. Some allow attaching to an existing user's session and "remote controlling", either displaying the remote control session or blanking the screen. Taking over a desktop remotely is a form of remote administration.

<span class="mw-page-title-main">Dynamic device mapping</span> USB KVM switch technology

Dynamic device mapping is a technology for USB KVM switches which is sometimes implemented as an alternative to standard USB keyboard and mouse emulation.

Display Control Channel (DCC) is an advanced method of implementing on-screen display (OSD) technology on KVM switches. It was developed and patented by ConnectPRO, a company that has been providing KVM and networking solutions since 1992.

A headless computer is a computer system or device that has been configured to operate without a monitor, keyboard, and mouse. A headless system is typically controlled over a network connection, although some headless system devices require a serial connection to be made over RS-232 for administration of the device. Headless operation of a server is typically employed to reduce operating costs.

<span class="mw-page-title-main">Linux console</span> Console of the Linux kernel

The Linux console is a system console internal to the Linux kernel. A system console is the device which receives all kernel messages and warnings and which allows logins in single user mode. The Linux console provides a way for the kernel and other processes to send text output to the user, and to receive text input from the user. The user typically enters text with a computer keyboard and reads the output text on a computer monitor. The Linux kernel supports virtual consoles – consoles that are logically separate, but which access the same physical keyboard and display. The Linux console are implemented by the VT subsystem of the Linux kernel, and do not rely on any user space software. This is in contrast to a terminal emulator, which is a user space process that emulates a terminal, and is typically used in a graphical display environment.

<span class="mw-page-title-main">Rackmount KVM</span> Computer front-end hardware in a rack-mounted form factor

A KVM is a computer input/output device offering the combination of a keyboard, video monitor and mouse. They are typically constructed to fit into a 19-inch rack although there are manufacturers who offer a KVM that can be mounted to a flat surface such as a control console.

<span class="mw-page-title-main">ATEN International</span>

ATEN International Co.(Ltd) is a multinational manufacturer of connectivity and access management hardware headquartered in Xizhi District, New Taipei, Taiwan. Its products include KVM switches, audiovisual switches and matrices, intelligent power distribution units, information technology management systems, and interface adapters. ATEN has subsidiaries in several countries and is the parent company of IOGEAR.

<span class="mw-page-title-main">KVM Splitter</span> Type of hardware device

A KVMSplitter, also known as a Reverse KVM switch, is a hardware device that allows users to control a single computer from one or more sets of keyboards, video monitors, and mice. With a KVM splitter, users access the connected computer consecutively rather than simultaneously. It differs from a KVM Switch which allows multiple computers to be controlled, usually, by a single keyboard, monitor and mouse.

References

  1. "A Close Look at Modern Keyboard/Video/Mouse Switching" (PDF). Archived from the original (PDF) on 14 March 2013. Retrieved 25 June 2012.
  2. Tony DeKerf, Gary D. Davis. "The Keyboard/Video Switch White Paper" (PDF). Archived from the original (PDF) on 14 March 2013. Retrieved 25 June 2012.
  3. "KVM Switches". AutoPlay. Retrieved 2023-03-13.
  4. "Cross-Platform Semi-DDM USB KVM device".
  5. "Technology: USB DDM, DCC, KVMX, DualCoreKVM, FullTime DDC". ConnectPRO.
  6. "KVM Switch Selection Guide". www.raritan.com.
  7. "Tripp Lite: KVM Buying Guide". Archived from the original on 2016-03-04.
  8. "WHDC: Graphics Guide for Windows 7". Microsoft. 2009-06-12.
  9. "WHDC: Display Guidelines for KVM Switches in Windows 7". Microsoft. 2009-06-18.
  10. 1 2 "Understanding the Four Categories of KVM Switches - Raritan". www.raritan.com.
  11. "KVM2USB".