Perle Systems 5500152-23 manual Creating devices for the attached ports, psaddports m n

Models: 5500152-23

1 156
Download 156 pages 53 Kb
Page 89
Image 89
Creating devices for the attached ports

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.

UltraPort Serial Adaptors User Guide

Chapter 2 Installing drivers and host cards

Installing under Linux

Page 89

 

Page 89
Image 89
Perle Systems 5500152-23 manual Creating devices for the attached ports, psaddports m n, modprobe perle-serial