If the necessary driver
is present in the kernel (likely), the ioscan output of a Series 700 might resemble this:
/usr/sbin/ioscan -d asio0 -fn
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
tty 0 2/0/4 asio0 CLAIMED INTERFACE Built-in RS-232-C
/dev/tty0p0
tty 1 2/0/5 asio0 CLAIMED INTERFACE Built-in RS-232-C
/dev/tty1p0 |
Similarly, the ioscan output of a Series 800 system might resemble this:
/usr/sbin/ioscan -d mux4 -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tty 0 56/0 mux4 CLAIMED INTERFACE MUX
/dev/diag/mux0 /dev/diag/tty0p0 /dev/tty0p0
/dev/diag/tty0p1 /dev/mux0 /dev/tty0p1 |
The -fn option caused ioscan to display the device special files created by insf. insf automatically creates device special files appropriate
for terminals at each serial port. The sample device special file
highlighted communicates with port 1 (p1) of the MUX card found at card instance 0 of tty class.
You can display the device file's characteristics by invoking /usr/sbin/lssf on the file. By comparing lssf and ll output, you can see that bits 16 to 23 of the
minor number (0x000100) correspond to the port number of 1. (See Appendix C for explanation of bit assignments.)
/usr/sbin/lssf /dev/tty0p1
mux4 card instance 0 port 1 hardwired at address 56/0 /dev/tty0p1
ll /dev/tty0p1
crw-rw-rw- 1 bin bin 178 0x000100 Mar 16 18:29 /dev/tty0p1 |
If you are configuring a terminal
without having to install an interface card, you can physically
connect the terminal, as described in its owner's manual. Then,
skip ahead to “Additionally Configuring HP-UX for a Terminal”, the next section.
If you are configuring a modem to an existing port,
note the hardware address (or card instance number) and port number
you will be using from the ioscan output. Then, skip ahead to “Additionally Configuring HP-UX for a
Modem”,
later in this chapter.