aux(7) CLIX aux(7)
NAME
aux - Auxiliary serial port interface drivers
DESCRIPTION
A system may support three or four serial ports that behave as described
by termio. The number available depends on the platform and system
configuration.
The format of the minor device mask for aux is shown below:
Minor Device Format:
_______________________________________________
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|______________________|___________|___________|
| | | |
| RESERVED | IOP | PORT |
|______________________|___________|___________|
The ioctl(fildes, request, arg) function can be used for the following
requests. The structures described below are defined in <sys/aux.h>.
AUX_IOCTL_MODEM
Reads current modem status. Modem status is returned in the
integer pointed to by arg. Possible bit fields values include:
MODEM_DCD Data carrier detect.
MODEM_DSR Data set ready.
MODEM_RI Ring indicator.
AUX_IOCTL_SET_RTS
Enables/Disables RTS/CTS hardware flow control. If arg points to a
nonzero integer value, RTS/CTS hardware handshake is enabled.
AUX_IOCTL_GET_RTS
Reads RTS/CTS hardware flow control state. A nonzero value will be
returned in the integer pointed to by arg if RTS/CTS is enabled.
FILES
/dev/tty?? Terminal interface.
NOTES
All ports support transmit data (TXD) and receive data (RXD). In
addition, port 0 supports request-to-send (RTS), clear-to-send (CTS), data
carrier detect (DCD), data terminal ready (DTR), data set ready (DSR), and
2/94 - Intergraph Corporation 1
aux(7) CLIX aux(7)
ring indicator (RI). Ports 1 and 2 on 200-, 2000-, and 6000-series
systems support only RTS, CTS, and DCD. Port 3 (if available) only
supports TXD and RXD.
RELATED INFORMATION
Functions: ioctl(2)
Files: termio(7)
2 Intergraph Corporation - 2/94