Getting 422 in and out of Your SGI

By Chris Pirazzi.

You will need a serial port that talks RS-422 (that spec is now officially called TIA/EIA-422-B).

SGI serial ports talk one of three electrical protocols:

When the serial port people saw how many pixel packings there were, (see The Pixel Rosetta Stone: Packings and Colorspaces), they got jealous. In case you're trying to roll your own conversion cables or converters, we will tell you the pinouts of all 232, 422, and Macintosh ports on all SGI machines we know about, and where we got the information from. When you see a pin with no function in the tables below, it means the pin is reserved and you must not connect it to anything.

Onyx and Challenge machines have built-in female DB9s with this 232 pinout (source: man serial(7)):

Pin232 Function
1
2TD
3RD
4RTS
5CTS
6
7GND
8DCD
9DTR

Onyx and Challenge machines have built-in female DB9s with this 422 pinout (source: man serial(7)):

Pin422 Function
1
2TX-
3RX-
4
5
6GND
7TX+
8RX+
9

On Onyx and Challenge machines, you can get the Audio Serial Option (ASO). ASO boards have six female DB9s with the same pinout as the built-in Onyx/Challenge 232 ports (source: man asoser(7)). You can switch these ports to 422 mode, where they have this 422 pinout (source: man asoser(7)):

Pin422 Function
1TX+
2TX-
3RX-
4
5
6RX+
7GND
8
9

The Octane, Onyx2, and Origin 2000's male DB9 ports have this IBM PC 232 pinout (source: man serial(7) on IRIX 6.4):
Pin232 Function
1DCD
2RD
3TD
4DTR
5GND
6
7RTS
8CTS
9

You can switch the Octane, Onyx2, and Origin 2000's male DB9 serial ports into Macintosh mode using code we will show later in this section. When you do this, their Macintosh pinout is (source: man serial(7) on IRIX 6.4):

PinMacintosh Function
1
2RX-
3TX-
4TX+
5GND
6RX+
7HSKo (defined by Apple)
8HSKi (defined by Apple)
9

Not to be outdone, the Origin 200's male DB9 serial port has a different Macintosh pinout (yes, this is a bug, it is miswired. source: upcoming SGI audio FAQ item):

PinMacintosh Function
1
2RX-
3TX-
4
5GND
6RX+
7TX+
8HSKi (defined by Apple)
9

This O200 miswiring only applies to Macintosh mode. O200 serial ports behave like O2000 and Octane for 232 mode.

The female Mini-DIN-8 connector on Indigo, Indy, and Indigo2 has this 232 pinout (source: man serial(7) on IRIX 6.4):

Pin232 Function
1DTR
2CTS
3TD
4GND
5RD
6RTS
7DCD
8GND

You can switch the Indy and Indigo2 systems into Macintosh mode using code we will show later. The Macintosh pinout of the female Mini-DIN-8 on these machines is (source: man serial(7) on IRIX 6.4):

PinMacintosh Function
1HSKo (defined by Apple)
2HSKi (defined by Apple)
3TX-
4GND
5RX-
6TX+
7GPi (defined by Apple)
8RX+

The O2's male DB9 serial ports have the same IBM PC 232 pinout as Octane, Onyx2, and Origin. The O2's ports do not do 422 or Macintosh levels; you need a converter (source: man serial(7) on IRIX 6.4).