Perle Systems 5500174-11 User Manual

Page of 59
 
Page 27
Chapter 2 Installing drivers and host cards
Creating devices for the attached ports
After the SPEED LE 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 SPEED LE device is used. However, if more than one SPEED LE 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.
Uninstalling the SPEED LE Driver for Linux
To uninstall the driver enter the following command:
rpm -e perle-serial