PS/2 connector

From Wikipedia, the free encyclopedia Jump to: navigation, search "PS/2 Keyboard" redirects here. For the physical keyboards normally supplied with IBM PS/2 computers (among other hardware), see Model M keyboard.

PS/2 connector

The color-coded PS/2 connection ports (purple for keyboards and green for mice) Type Keyboard and computer mouse data connector Production history Designer Designed Superseded IBM 1987 DIN connector and DE-9 connector

Superseded by Universal Serial Bus General specifications Pins Connector 6 Mini-DIN Data Data signal Serial data at 10 to 16 kHz with 1 stop bit, 1 start bit, 1 parity bit (odd)

Pin out

However. a given system's keyboard and mouse port may not be interchangeable since the two devices use a different set of commands.1 Legacy port status and USB 2 Color code 3 Software issues 4 Hardware issues ○ ○ ○ 4. Its name comes from the IBM Personal System/2 series of personal computers. The PS/2 connector is a 6-pin Mini-DIN connector used for connecting some keyboards and mice to a PC compatible computer system. with which it was introduced in 1987. The PS/2 mouse connector generally replaced the older DE-9 RS-232 "serial mouse" connector.3 Fault isolation • 5 See also . ** On some computers mouse clock for splitter cable. while the PS/2 keyboard connector replaced the larger 5-pin/180° DIN connector used in the IBM PC/AT design.2 Durability 4.1 Hotplugging 4.Female connector from the front Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 +DATA Not connected GND Vcc +CLK Not connected Data Not connected* Ground +5 V DC at 275 mA Clock Not connected** * On some computers mouse data for splitter cable. Contents [hide] • • • • 1 Port availability ○ 1. The PS/2 designs on keyboard and mouse interfaces are electrically similar and employ the same communication protocol.

[4] These PS/2 ports cause fewer problems when KVM switching with non-Wintel systems. Today this code is still used on most PCs. the connectors were also seen on some PC clones with non-standard case designs. such as the DEC AlphaStation line. selecting the appropriate protocol at power-on. The PS/2 mouse interface is substantially different from RS-232 (which was generally used for mice on PCs without PS/2 ports). and newer (Octane etc. and keyboards designed for one can be connected to the other with a simple wiring adapter. The design decision for identical but incompatible connectors would prove aggravating to consumers. Such devices are generally equipped with a USB connector. The pinouts of the connectors are the same. The PS/2 keyboard interface was electrically the same as the 5-pin AT system. Older PS/2-only peripherals can be connected to a USB port via an active adapter.[citation needed] Many keyboards and mice can connect via either USB or PS/2. Indigo 2.[1] This configuration is common on IBM/Lenovo Thinkpad notebooks among many others.• • 6 References 7 External links [edit] Port availability When IBM-compatible PCs widely used the 386 and 486 processors. which generally provides a pair of PS/2 ports at the cost of one USB port.[2] Various Macintosh clone computers from the late 90s featured PS/2 mouse and keyboard ports. manufacturers would later adopt a standardized color code. PS/2 ports are included on some new motherboards. Sometimes the port also allows one of the devices to be connected to the two normally unused pins in the connector to allow both to be connected at once through a special splitter cable. but most computers will not recognize devices connected to the wrong port. but nonetheless many mice were made that could operate on both with a simple wiring adapter. PS/2 mouse and keyboard connectors have also been used in non-IBM PC-compatible computer systems. PS/2 ports only became the norm much later with the introduction of the ATX form factor during 1993–1997.) computers. mouse ports and plugs were green. were purple. and the PS/2 mouse connector was sometimes seen on a separate backplate on systems using a standard AT case. Old laptops generally have a single port that supports either a keyboard or a mouse. including the Motorola StarMax and the Power Computing PowerBase[3] [edit] Legacy port status and USB PS/2 was considered a legacy port by the Intel/Microsoft PC 2001 specification of 2000. Despite this. early IBM RS/6000 CHRP machines and SGI Indy. and the plugs on compliant keyboards. However. Later the PC 97 standard introduced a color code: the keyboard port. Some vendors initially used a different color code: Logitech used the color orange for the keyboard connector for a short period. preferring to connect keyboards and mice via USB ports.[citation needed] [edit] Color code Original PS/2 connectors were black or had the same color as the connecting cable (mainly white). and ship with a simple wiring adapter to allow connection to a PS/2 port. Color Description . but soon switched to purple.

the host system rarely recognizes the new device attached to the PS/2 mouse port. Otherwise.Purple Keyboard Green Mouse Wiring inside keyboard cable varies widely. Hot swapping PS/2 devices usually does not cause damage due to the fact that more modern microcontrollers tend to have more robust I/O lines built into them which are harder to damage than those of older controllers.[citation needed] [edit] Hardware issues This section:Hardware issues does not cite any references or sources. Description Common Alternate Alternate Alternate Alternate Alternate +CLK Green Blue White Yellow White Blue Data White Yellow Green Red Green Yellow GND Yellow Black Orange Gray Black White Vcc Red Red Blue Brown Red Orange [edit] Software issues As of 2010. This issue is slightly alleviated in modern times with the advent of the PS/2 to USB adapter. While this is seldom an issue with standard keyboard devices. (March 2011) [edit] Hotplugging PS/2 ports are designed to connect the digital I/O lines of the microcontroller in the external device directly to the digital lines of the microcontroller on the motherboard. the new device will not function properly. version 8. in a standard implementation both PS/2 ports are usually controlled by a single microcontroller on the motherboard. [edit] Durability PS/2 connectors are not designed to be plugged in and out very often. Unsourced material may be challenged and removed. or machines with less robust port implementations. Most but not all connectors include an arrow or flat section which is usually aligned to the right or top of the jack before being plugged in. [edit] Fault isolation As noted. however. In practice most keyboards can be hot swapped but this should be avoided. Please help improve this article by adding citations to reliable sources. This makes design and manufacturing extremely simple and . but the reader is cautioned that the only reliable method of determining color assignment is to confirm by measuring continuity to the connector. and can be used with the new device. They are not designed to be hot swappable. If they are hot swapped. Here are some more common color codes. Users can just leave the PS/2 plugged into the USB at all times and not risk damaging the pins this way. the devices must be similar enough that the driver running on the host system recognizes.0 of Microsoft's keyboard and mice drivers no longer supports PS/2 (even with USB adapters) in its supported keyboards and supported mice. hot swapping can still potentially cause damage on older machines. The exact direction may vary on older or non-ATX computers and care should be taken to avoid damage or bent pins when connecting devices. which can easily lead to bent or broken pins. PS/2 connectors only insert in one direction and must be rotated correctly before attempting connection.

a rare side effect of this design is that a malfunctioning device can cause the controller to become confused. A way to isolate the problem is to use a USB keyboard or mouse to determine which of the devices is at fault.g. resulting in "both" devices acting A USB to PS/2 adapter can also be used to connect either of the devices to a USB port but the result can be undetermined because PS/2 and USB ports can use different voltages. a bad mouse can cause problems that appear to be the fault of the keyboard). . The resulting problems can be difficult to troubleshoot (e. Due to this difference it is recommend to avoid cheap adapters or try using a USB Keyboard or Mouse when troubleshooting PS/2 related errors. Quality USB to PS/2 adapters have an integrated circuit that compensates the PS/2 USB port voltage differences. However.

Sign up to vote on this title
UsefulNot useful