All Topics  
PS/2 connector

 
PS/2 Connector

   Email Print
   Bookmark   Link






 

PS/2 connector



 
 
The PS/2 connector is used for connecting some keyboards and mice to a PC compatible computer system. Its name comes from the IBM Personal System/2
IBM Personal System/2

The Personal System/2 or PS/2 was IBM's third generation of personal computers. The PS/2 line, released to the public in 1987, was created by IBM in an attempt to recapture control of the PC market by introducing an advanced Vendor lock-in architecture....
 series of personal computer
Personal computer

A personal computer is any general-purpose computer whose original sales price, size, and capabilities make it useful for individuals, and which is intended to be operated directly by an end user, with no intervening computer operator....
s, with which it was introduced in 1987. The PS/2 mouse connector generally replaced the older DE-9 RS-232
RS-232

In telecommunications, RS-232 is a standard for serial communications binary data signals connecting between a DTE and a DCE . It is commonly used in computer serial ports....
 "serial mouse" connector, while the keyboard connector replaced the larger 5-pin DIN
DIN connector

A DIN connector is a connector that was originally standardized by the Deutsches Institut f?r Normung , the German national standards organization....
 used in the IBM PC/AT design. The keyboard and mouse interfaces are electrically similar with the main difference being that open collector
Open collector

File:opencollector.jpgOpen collector is a type of output on many Integrated circuits. Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal Bipolar junction transistor#NPN whose collector is externalized on a pin of the IC....
 outputs are required on both ends of the keyboard interface to allow bidirectional communication.






Discussion
Ask a question about 'PS/2 connector'
Start a new discussion about 'PS/2 connector'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


The PS/2 connector is used for connecting some keyboards and mice to a PC compatible computer system. Its name comes from the IBM Personal System/2
IBM Personal System/2

The Personal System/2 or PS/2 was IBM's third generation of personal computers. The PS/2 line, released to the public in 1987, was created by IBM in an attempt to recapture control of the PC market by introducing an advanced Vendor lock-in architecture....
 series of personal computer
Personal computer

A personal computer is any general-purpose computer whose original sales price, size, and capabilities make it useful for individuals, and which is intended to be operated directly by an end user, with no intervening computer operator....
s, with which it was introduced in 1987. The PS/2 mouse connector generally replaced the older DE-9 RS-232
RS-232

In telecommunications, RS-232 is a standard for serial communications binary data signals connecting between a DTE and a DCE . It is commonly used in computer serial ports....
 "serial mouse" connector, while the keyboard connector replaced the larger 5-pin DIN
DIN connector

A DIN connector is a connector that was originally standardized by the Deutsches Institut f?r Normung , the German national standards organization....
 used in the IBM PC/AT design. The keyboard and mouse interfaces are electrically similar with the main difference being that open collector
Open collector

File:opencollector.jpgOpen collector is a type of output on many Integrated circuits. Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal Bipolar junction transistor#NPN whose collector is externalized on a pin of the IC....
 outputs are required on both ends of the keyboard interface to allow bidirectional communication. If a PS/2 mouse is connected to a PS/2 keyboard port (or if a PS/2 keyboard is connected to a PS/2 mouse port), the mouse (or keyboard) may not be recognized by the computer depending on configuration, although most modern computers will recognize the hardware either way.

Port availability


In the 386
Intel 80386

The Intel 80386, otherwise known as the i386 or just 386, is a microprocessor which has been used as the central processing unit of many personal computers and workstations since 1986....
 and 486
Intel 80486

The Intel i486, otherwise known as the 80486, was the first tightly pipeline x86 design. Introduced in 1989, it was also the first x86 chip to use more than a million transistors, due to a large on-chip cache and an integrated floating point unit....
 era, the connectors were also seen on some PC clones with non-standard case designs and the PS/2 mouse connector was sometimes seen on a separate backplate on systems using a standard AT case. However PS/2 ports only became the norm much later with the introduction of the ATX
ATX

The ATX Motherboard form factor was created by Intel in 1995. It was the first big change in computer case and motherboard design in many years....
 form factor
Form factor

Form factor may refer to:* Form factor or emissivity, the proportion of energy transmitted by that object which can be transferred to another object...
 during the Pentium
Pentium

Introduced on March 22, 1993, the original Pentium was the first superscalar x86 architecture microprocessor. Its fifth-generation x86 microarchitecture was a direct extension of the 80486 architecture with dual integer pipeline s, a faster FPU unit, wider data bus, and features for further reduced address calculation latency....
 era (1993-1997). The design decision for identical but incompatible connectors would prove aggravating to consumers. To help alleviate this, PS/2 keyboard and mouse connectors were later color-coded: purple for keyboards and green for mice as defined by the PC 97 standard.

Old laptop
Laptop

A laptop is a personal computer designed for mobile computing small enough to sit on one's lap. A laptop includes most of the Computer hardware of a typical desktop computer, including a Computer display, a computer keyboard, a pointing device as well as a battery, into a single small and light unit....
s generally have a single port that supports either a keyboard or a mouse. 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. This configuration is common on IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
/Lenovo Thinkpad
ThinkPad

ThinkPad is a brand of portable laptop and notebook personal computers originally designed, manufactured and sold by IBM. Since early 2005, the ThinkPad range has been manufactured and marketed by Lenovo, which purchased the International Business Machines Personal Computer division....
 notebooks among many others.

The PS/2 keyboard interface was electrically the same as the 5 pin AT system and keyboards designed for one can be connected to the other with a simple wiring adaptor. The PS/2 mouse interface is somewhat different from RS-232 (which was generally used for mice on PCs without PS/2 ports) 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-PC compatible computer systems, such as the DEC AlphaStation
AlphaStation

AlphaStation was the name given to a series of computer workstations, produced from 1994 onwards by Digital Equipment Corporation, and latterly by Compaq and Hewlett-Packard....
 line, early IBM RS/6000
RS/6000

RISC System/6000, or RS/6000 for short, is a family of RISC and UNIX based Server s, workstations and supercomputers made by IBM in the 1990s....
 CHRP
CHRP

CHRP may refer to:*Common Hardware Reference Platform*Certified Human Resources Professional...
 machines and SGI
SGI

SGI can refer to:*Saskatchewan Government Insurance* Scientific Games International: see Scientific Games Corporation*Silicon Graphics, Inc., a manufacturer of high-performance computing solutions....
 Indy
SGI Indy

The Indy, code-named "Guinness", is a low-end workstation introduced on 12 July 1993. Developed and manufactured by Silicon Graphics , it was the result of their attempt to obtain a share of the low-end computer-aided design market, which was dominated at the time by other workstation vendors; and the desktop publishing and multimedia mark...
, Indigo 2, and newer (Octane
SGI Octane

The SGI Octane and the similar SGI Octane2 are Unix workstations marketed by Silicon Graphics. Both are 2-way Symmetric multiprocessing-capable workstations, originally based on the MIPS architecture R10000 microprocessor....
 etc.) computers.

Today's laptops frequently do not include PS/2 ports and so the port is now regarded as a legacy port
Legacy port

A legacy port is a port or connector on a IBM PC clone that is considered fully or partially obsolete. Some manufacturers, particularly in laptops, remove the legacy ports, making way for modern ports such as Universal Serial Bus....
 on Wintel
Wintel

Wintel is portmanteau of Microsoft Windows and Intel. It usually means a computer based on an Intel x86 compatible processor and running the Microsoft Windows operating system....
, having been superseded by USB
Universal Serial Bus

In information technology, Universal Serial Bus is a Serial communications computer bus standard to electrical connector devices to a host computer....
. Many current keyboards and mice support both USB and PS/2 with a simple wiring adapter and active adapters are available which plug into a USB port and provide a pair of PS/2 ports. PS/2 ports however, can still be found on modern desktop computer motherboards, although some newer motherboards have no PS/2-port or only the keyboard port. These PS/2 ports cause fewer problems when KVM switch
KVM switch

A KVM switch is a hardware device that allows a user to control multiple computers from a single Computer keyboard, Computer display and Computer mouse....
ing with non-Wintel
Wintel

Wintel is portmanteau of Microsoft Windows and Intel. It usually means a computer based on an Intel x86 compatible processor and running the Microsoft Windows operating system....
 systems.

Color code


Original PS/2 connectors were black or had the same color as the connecting cable (mainly white). Later PC 97 color code was introduced. PC 97 made the keyboard port, and the plugs on compliant keyboards, purple; mouse ports and plugs were green. In the beginning, the color scheme was not consistent between vendors. Logitech used the color orange for the keyboard connector for a short period, but switched to purple soon. , this code is still used on most PCs. The pins on the connectors are the same, but most devices are not electronically compatible. Care should be taken to avoid connecting a keyboard to a mouse port or vice versa.

Color Description
  Purple Keyboard
  Green Mouse


Hardware issues

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. They are not designed to be hot swappable
Hot swapping

Hot swapping and hot plugging are terms used to separately describe the functions of replacing system components without shutting down the system....
. 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; however, hot swapping can still potentially cause damage on older machines, or machines with less robust port implementations.

If they are hotswapped, the devices must be similar enough that the driver running on the host system recognizes, and can be used with the new device. Otherwise, the new device will not function properly. While this is seldom an issue with standard keyboard devices, the host system rarely recognizes the new device attached to the PS/2 mouse port. In practice most keyboards can be hotswapped but this should be avoided.

PS/2 connectors are not designed to be plugged in and out very often, 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. 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. 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.

As noted, in a standard implementation both PS/2 ports are usually controlled by a single microcontroller on the motherboard. This makes design and manufacturing extremely simple and cheap. However, a rare side effect of this design is that a malfunctioning device can cause the controller to become confused, resulting in both devices acting erratically. The resulting problems can be difficult to troubleshoot (e.g. a bad mouse can cause problems that appear to be the fault of the keyboard).

See also

  • Bus mouse
    Bus mouse

    A bus mouse is a variety of IBM PC compatible computer mouse which is attached to the computer using a specialized interface . In the late 1980s, mice were not integrated with IBM-compatible personal computers, and the specialized bus interface was one of two popular ways to connect a mouse....
  • DIN connector
    DIN connector

    A DIN connector is a connector that was originally standardized by the Deutsches Institut f?r Normung , the German national standards organization....
  • Din or AT Keyboard
    AT keyboard

    The AT keyboard was a Computer keyboard with 84 keys introduced with the IBM PC/AT computer. It succeeded the 83-key IBM PC keyboard and therefore did not have many of the features seen on modern keyboards such as arrow keys and dual ctrl and Alt key keys....
  • DE-9 connector
  • Universal Serial Bus
    Universal Serial Bus

    In information technology, Universal Serial Bus is a Serial communications computer bus standard to electrical connector devices to a host computer....


External links