PS2_keyboard_and_mouse_mini-DIN-6_connector_pinouts.txt
ANSI art by Dave Burton 1/8/2003
Note: this document uses IBM PC Line-Drawing characters. It will
not look right with a Windows character set. For a version that
does not use IBM PC Line-Drawing charcters, see:
http://burtonsys.com/PS2_keyboard_and_mouse_mini-DIN-6_connector_pinouts.html
IBM PS/2-type mouse and keyboard connectors are both "6-pin mini-DIN"
connectors. The female connectors are on the computer, the male
connectors are on the mouse and keyboard cables that plug into the
computer.
Viewing the female connector (on the computer), the pinout is:
ÀÙ
6o Ú¿ o5
³³
4o ÀÙ o3
Ä¿ ÚÄ
³o o³
2 1
Viewing the male connector (on the keyboard or mouse cable), the pinout is:
ÀÙ
5 ÞÝ 6
ÞÝ
3 4
¿ Ú
1 2
In both cases, the pins are normally used as follows:
pin function
1 data
2 (reserved)
3 gnd
4 +5v
5 clock
6 (reserved)
However, on the NEC Versa 24xx and Panasonic Toughbook CF-35 laptop
computers, and some others, there is just one connector on the computer,
and it uses "reserved" pins to permit connecting both a mouse and a
keyboard via a special "Y-splitter" cable adapter.
The "Y-splitter" cable adapter is connected as follows:
Keyboard (F) Computer (M) Mouse (F)
------------ ------------ ------------
pin function pin function pin function
1=data ÄÄÄÄÄÄÄÄÄÄ 1=data ÚÄÄÄ 1=data
2 n.c. 2 ÄÄÄÄÄÄÄÄÄÄÄÙ 2 n.c.
3=gnd ÄÄÄÄÄÄÄÄÄÄÄ 3=gnd ÄÄÄÄÄÄÄÄÄÄÄ 3=gnd
4=+5v ÄÄÄÄÄÄÄÄÄÄÄ 4=+5v ÄÄÄÄÄÄÄÄÄÄÄ 4=+5v
5=clock ÄÄÄÄÄÄÄÄÄ 5=clock ÚÄÄÄÄÄÄ 5=clock
6 n.c. 6 ÄÄÄÄÄÄÄÄÙ 6 n.c.
This is the "4068"/"AK6K" ("stubby") "PS/2 Keyboard & Mouse Spliter
Mini Din Din6M/F/F" from Blue Diamond.
You can also connect the keyboard or mouse alone to that connector,
without the Y-splitter. I don't know how the computer can tell which
device is plugged into it, though.
There is also another common Y-splitter available, which is connected
as follows:
Keyboard (F) Computer (M) Keyboard #2 (F)
------------ ------------ ---------------
pin function pin function pin function
1=data ÄÄÄÄÄÄÄÄÄÄ 1=data ÄÄÄÄÄÄÄÄÄÄ 1=data
2 n.c. ÄÄÄÄÄÄÄÄÄÄ 2 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 2 n.c.
3=gnd ÄÄÄÄÄÄÄÄÄÄÄ 3=gnd ÄÄÄÄÄÄÄÄÄÄÄ 3=gnd
4=+5v ÄÄÄÄÄÄÄÄÄÄÄ 4=+5v ÄÄÄÄÄÄÄÄÄÄÄ 4=+5v
5=clock ÄÄÄÄÄÄÄÄÄ 5=clock ÄÄÄÄÄÄÄÄÄ 5=clock
6 n.c. ÄÄÄÄÄÄÄÄÄÄ 6 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 6 n.c.
This is the "5228"/"MFF6XI" ("long") "PS/2 Port Splitter" from Blue
Diamond. It cannot be used as a Keyboard/Mouse splitter, because it
doesn't separate the data (& clock) lines of the two devices. I didn't
know what it was good for until I got an email from Ravn Gundersen,
who wrote: "It's used if you want two keyboards to work as one on a
computer. Possible uses are many, one example would be if you want a
barcode scanner connected to ps/2 together with a keyboard, or a barcode
scanner and a magnetic card reader, etc." Thanks, Ravn!
Note: the connector is called a 6-pin mini-DIN, and the keyboard and
mouse connector pinout charts above show six pins, but some mice and
keyboards are made with the (male) connector having only four pins
(i.e., with the unconnected pin 2 and pin 6 missing).