Serial Pin-outs: Difference between revisions
No edit summary |
m (Reverted edits by Kristinaboss (Talk); changed back to last version by Jbroman) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=== RS-232 over DE-9 === |
|||
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 (1 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 === |
|||
{| |
{| |
||
Line 47: | Line 26: | ||
Serial ports on common PC hardware have this pin-out. |
Serial ports on common PC hardware have this pin-out. |
||
=== RS-232 over |
=== RS-232 over DB-25 === |
||
{| |
{| |
||
Line 86: | Line 65: | ||
The VT 320 has this pinout. |
The VT 320 has this pinout. |
||
=== RS-232 over 8P8C |
=== RS-232 over 8P8C (Sun) === |
||
{| |
{| |
||
|- |
|- |
||
| |
| |
||
Plug Top |
|||
Top of plug |
|||
1 2 3 4 5 6 7 8 |
1 2 3 4 5 6 7 8 |
||
Cable |
|||
|- |
|- |
||
|} |
|} |
||
Line 107: | Line 87: | ||
The Sun Netra, ascorbic-acid, has this pinout. |
The Sun Netra, ascorbic-acid, has this pinout. |
||
=== |
=== Black DE-9 Female to 8P8C Adapter === |
||
{| |
{| |
||
|- |
|- |
||
| |
| DE-9 || 8P8C |
||
|- |
|- |
||
|1||6 |
|1||6 |
||
Line 133: | Line 113: | ||
The black adapter has this pinout. |
The black adapter has this pinout. |
||
=== |
=== Grey DB-25 Female to 8P8C Adapter === |
||
{| |
{| |
||
|- |
|- |
||
| |
| DB-25 || 8P8C |
||
|- |
|- |
||
|2||3 |
|2||3 |
||
Line 159: | Line 139: | ||
|} |
|} |
||
=== |
=== Grey DB-25 Male to 8P8C Adapter === |
||
{| |
{| |
||
|- |
|- |
||
| |
| DB-25 || 8P8C |
||
|- |
|- |
||
|2||6 |
|2||6 |
||
Line 187: | Line 167: | ||
{| |
{| |
||
|- |
|- |
||
| |
|||DE-9 || 8P8C || 8P8C || DB-25 |
||
|- |
|- |
||
|DCD||1||6||7||8 |
|DCD||1||6||7||8 |
||
Line 206: | Line 186: | ||
|- |
|- |
||
|} |
|} |
||
{| |
|||
|- |
|||
| ||DE-9 end || DB-25 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 |
|||
|- |
|||
|} |
|||
This cable is used to connect a DB-25 DTE port to a DE-9 DTE port using some non-standard adapters. |
|||
=== 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 DE-9<->8P8C modular jacks, you cannot connect the DE-9 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 DE-9, but if two DE-9s 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. |
|||
The two cables we have with this pinout are labeled "Serial 87645321". |
|||
===Half-Cables === |
|||
Light Serial Mouse |
|||
2 green <br> |
|||
3 brown <br> |
|||
4 pink <br> |
|||
5 yellow <br> |
|||
7 white |
|||
Dark Serial Mouse |
|||
2 white <br> |
|||
3 light brown <br> |
|||
4 brown <br> |
|||
5 black <br> |
|||
7 blue |
|||
Metal End |
|||
2 green <br> |
|||
3 yellow <br> |
|||
5 black <br> |
|||
6 red <br> |
|||
7 brown <br> |
|||
8 white |
|||
=== External Links === |
=== External Links === |
||
Line 211: | Line 272: | ||
* [https://www.conserver.com/pipermail/users/2002-July/msg00003.html Sun Serial Port Pin-out] |
* [https://www.conserver.com/pipermail/users/2002-July/msg00003.html Sun Serial Port Pin-out] |
||
* [http://www.zytrax.com/tech/layer_1/cables/tech_rs232.htm Standard Cable Pin-outs] |
* [http://www.zytrax.com/tech/layer_1/cables/tech_rs232.htm Standard Cable Pin-outs] |
||
[[Category:Hardware]] |
Latest revision as of 09:01, 14 April 2010
RS-232 over DE-9
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 DB-25
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)
Plug Top 1 2 3 4 5 6 7 8 Cable |
1 RTS
2 DTR
3 TXD
4 GND
5 GND
6 RXD
7 DSR
8 CTS
The Sun Netra, ascorbic-acid, has this pinout.
Black DE-9 Female to 8P8C Adapter
DE-9 | 8P8C |
1 | 6 |
2 | 1 |
3 | 5 |
4 | 4 |
5 | 2 |
6 | 3 |
7 | 7 |
8 | 8 |
The black adapter has this pinout.
Grey DB-25 Female to 8P8C Adapter
DB-25 | 8P8C |
2 | 3 |
3 | 4 |
4 | 8 |
5 | 1 |
6 | 7 |
7 | 5 |
7 | 6 |
8 | 7 |
20 | 2 |
Grey DB-25 Male to 8P8C Adapter
DB-25 | 8P8C |
2 | 6 |
3 | 8 |
4 | 5 |
5 | 4 |
6 | 1 |
7 | 3 |
7 | 7 |
20 | 2 |
Dumbterm Cable
DE-9 | 8P8C | 8P8C | DB-25 | |
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 |
DE-9 end | DB-25 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 |
This cable is used to connect a DB-25 DTE port to a DE-9 DTE port using some non-standard adapters.
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 DE-9<->8P8C modular jacks, you cannot connect the DE-9 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 DE-9, but if two DE-9s 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.
The two cables we have with this pinout are labeled "Serial 87645321".
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