UltraPort Serial Adaptors User Guide
Installing under Linux
Page 89
Chapter 2 Installing drivers and host cards
Creating devices for the attached ports
After the UltraPort cards and the new driver have been installed, terminal devices will need to
be created for the added ports. This can be done be using the
ps_addports
utility.
To use the ps_addports script, enter the following command:
ps_addports m n
where:
m
is the first port device (starting at 0)
n
is the last port device to add.
The port devices will be created in the /dev directory and will have the following format:
/dev/ttyPSnn
where
nn
is the 2 digit port number.
The perle-serial driver has been installed so that it will automatically be loaded the first time
an UltraPort device is used. However, if more than one UltraPort card has been installed in
the Linux machine, then the driver can be manually loaded to determine which terminal
device numbers have been assigned to each card.
To load the driver, enter the command:
modprobe perle-serial
Review the messages in the file
/var/log/messages.
Once the port devices have been created, they may be used as standard LINUX serial TTYs.