Serial Pin-outs: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 228: Line 228:
|-
|-
|}
|}

=== Almost Rollover Cable ===

{|
|-
|| 8P8C || 8P8C
|-
|1||8
|-
|2||7
|-
|3||6
|-
|4||4
|-
|5||5
|-
|6||3
|-
|7||2
|-
|8||1
|-
|}

This cable uses the Sun pinout, with a minor modification: the two GND wires are connected straight through. With DB9<->8P8C modular jacks, you cannot connect the DB9 GND to both GND pins of the 8P8C end (i.e., you can't stick two pins in one hole). Connecting using a standard rollover is fine when connecting e.g. the Netra to a DB9, but if two DB9s are connected via a standard rollover, GND will be an open circuit. The "almost" rollover connects the two GND lines straight through to avoid this problem. The module jacks we have now use 8P8C pin 4 for GND.


===Half-Cables ===
===Half-Cables ===

Revision as of 22:22, 24 April 2008

The idea is to connect pairs of systems with 2 serial cables to create a bidirectional link. We would then run a getty over one of the ports on each machine. This would allow us to login to any server if networking breaks.

The following is a list of our servers and how many serial ports they currently have:

  • caffeine (1 header)
  • natural-flavours (1 on-board)
  • artificial-flavours (1 on-board)
  • taurine (1 on-board, 1 virtual)
  • perpugilliam (2 on-board)
  • citric-acid (2 on-board)
  • potassium-citrate (2 on-board)
  • ascorbic-acid (2 on-board)

We would need the following:

  • 3 x Dual PCI Serial Port Card (PCI-2S)
  • 6 x Null-modem/Crossover Serial Cables (CB-NM9FF)

Total: $70.53

Pinouts

RS-232 over DB9

Female

 5 4 3 2 1
  9 8 7 6

Male

 1 2 3 4 5
  6 7 8 9

1 DCD
2 RXD
3 TXD
4 DTR
5 GND
6 DSR
7 RTS
8 CTS
9 RI

Serial ports on common PC hardware have this pin-out.

RS-232 over DB25

Female

 13 12 11 10 09 08 07 06 05 04 03 02 01
  25 24 23 22 21 20 19 18 17 16 15 14

Male

 01 02 03 04 05 06 07 08 09 10 11 12 13
  14 15 16 17 18 19 20 21 22 23 24 25

2 TXD
3 RXD
4 RTS
5 CTS
6 DSR
7 GND
8 DCD
12 SDCD
13 SCTS
14 STXD
15 TCLK
16 SRXD
17 RCLK
18 LL
19 SRTS
20 DTR
21 RL/SQ
22 RI
23 CH/CI
24 ACLK


The VT 320 has this pinout.

RS-232 over 8P8C, Sun

Top of plug

 1 2 3 4 5 6 7 8

1 RTS
2 DTR
3 TXD
4 GND
5 GND
6 RXD
7 DSR
8 CTS

The Sun Netra, ascorbic-acid, has this pinout.

DB9 to 8P8C Adapter, Female

DB9 8P8C
1 6
2 1
3 5
4 4
5 2
6 3
7 7
8 8

The black adapter has this pinout.

DB25 to 8P8C Adapter, Female

DB25 8P8C
2 3
3 4
4 8
5 1
6 7
7 5
7 6
8 7
20 2

DB25 to 8P8C Adapter, Male

DB25 8P8C
2 6
3 8
4 5
5 4
6 1
7 3
7 7
20 2

Dumbterm Cable

DE9 8P8C 8P8C DB25
DCD 1 6 7 8
RXD 2 1 4 3
TXD 3 5 3 2
DTR 4 4 2 20
GND 5 2 5 7
DSR 6 3 X 6
RTS 7 7 8 4
CTS 8 8 1 5
DE9 end DB25 end
1 Gr/W Br
2 Gr Bl
3 Or/W Bl/W
4 Bl Gr/W
5 Bl/W Gr
6 Or X
7 Br/W Or
8 Br Br/W

Almost Rollover Cable

8P8C 8P8C
1 8
2 7
3 6
4 4
5 5
6 3
7 2
8 1

This cable uses the Sun pinout, with a minor modification: the two GND wires are connected straight through. With DB9<->8P8C modular jacks, you cannot connect the DB9 GND to both GND pins of the 8P8C end (i.e., you can't stick two pins in one hole). Connecting using a standard rollover is fine when connecting e.g. the Netra to a DB9, but if two DB9s are connected via a standard rollover, GND will be an open circuit. The "almost" rollover connects the two GND lines straight through to avoid this problem. The module jacks we have now use 8P8C pin 4 for GND.

Half-Cables

Light Serial Mouse

2 green
3 brown
4 pink
5 yellow
7 white

Dark Serial Mouse

2 white
3 light brown
4 brown
5 black
7 blue

Metal End

2 green
3 yellow
5 black
6 red
7 brown
8 white


External Links