The asynchronous port is a character-at-a-time device for both input and output. This characteristic both limits the bandwidth that can be achieved over a serial line, and increases the interrupt loading on the central processor. Applications like uucp(1bnu) and PPP may be able to function well at speeds greater than 9600 baud, depending on your system processor type and UART.
The serial port adapter's programmable baud rates do not correspond exactly with system baud rates. Specifically, setting B0 will cause a disconnect, setting EXTA will set 19200 baud, and setting EXTB will set 38400 baud.
The asyc driver supports both 16450 and 16550 UARTs and equivalents.
The behavior of serial device nodes in both SCO OpenServer and UnixWare are supported. The ttyna and ttynA nodes behave identically to the SCO OpenServer nodes.
Equivalent device nodes | Default settings when opened | Behavior and use |
---|---|---|
/dev/term/0n
/dev/term/0ns /dev/tty0ns /dev/tty0n |
B9600 CS8 CREAD
~CLOCAL IXON IXOFF ~RTSXOFF ~CTSXON | Software flow control (XON/XOFF) enabled. Use when data integrity is not crucial, for example, with mice. The modem control line, Data Carrier Detect (DCD), is required to be asserted |
/dev/term/0nh
/dev/tty0nh |
B9600 CS8 CREAD
~CLOCAL ~IXON ~IXOFF RTSXOFF CTSXON | Hardware flow control (RTS/CTS) enabled. DCD is required to be asserted |
/dev/term/0nm
/dev/tty0nm /dev/tty(n+1)A |
B9600 CS8 CREAD
~CLOCAL ~IXON ~IXOFF ~RTSXOFF ~CTSXON | Modem node. No flow control initially when opened. DCD is required to be asserted |
/dev/term/0nt
/dev/tty0nt /dev/tty(n+1)a |
B9600 CS8 CREAD
CLOCAL ~IXON ~IXOFF ~RTSXOFF ~CTSXON | Terminal node. No flow control initially when opened. Allows ports to be opened without a DCD line, and allows stty(1) to be used on an unconnected port. Used with 3-wire serial connections (TD, RD and SG) |
The order of entries in the DCU and the corresponding entries in the asyc driver's space.c file must be in the same order for serial consoles to work correctly.
IRQ conflicts with an interrupt vector which cannot be shared...
,
you need to change the ``ITYPE'' field to 3;
apply the change, exit dcu and reboot the system.
PCI Serial Support:
The asy and asyc drivers are configured by default to
support up to ten total serial ports.
The ports are named following the conventions described in the section
``Serial device node naming conventions'' in the UnixWare 7 System Handbook.
The drivers support 16654 UARTS, as well as Digi Classicboard and
Connecttech Blue Heat PCI cards.
The device ordering is determined by searching entires in pack.d/asyc/Space.c before any PCI devices are enumerated. As a result, if the Space.c lists two serial ports (com1, com2) and you only have one, but you have a PCI serial card, port 01 will be treated as "broken" with the PCI ports starting at 02. To eliminate this, edit Space.c to match the actual hardware configuration for non-PCI devices.
PCI devices honor the resmgr entries created or modified by dcu(1M). Note that only scanned (i.e. not PCI) devices may be used for kdb(1M) or console devices.