beautypg.com

Adding ports to the system – Perle Systems RIO 5500036-17 User Manual

Page 153

background image

RIO Remote I/O System User Guide
Installing RIO under Linux

Page 153

Chapter 2 Installing hardware and software

Adding ports to the system

You can add more ports, in the form of extra RTA devices, to a live system following the
guidelines below.

1. Attach the new RTA to the RIO network via its link cable and power the unit on. See

Installing Remote Terminal Adaptors (RTAs)

on page

161

.

2. Wait until the unit has booted (indicated by the

RUN

and

CON

LEDs being on).

3. At the command prompt, write out the current device driver configuration: by typing

rioboot -w >/etc/rio/rio.cf.new

and pressing the

Enter

key.

Modify the configuration file to give the new RTA (the one named "UNKNOWN RTA….")
a name and allocate a starting port number to the device as shown in the next example:
The contents of the rio.cf file is now displayed as shown in the next example;

4. At the command prompt, syntax check the new configuration file by typing

rioboot -s -c /etc/rio/rio.cf.new

and pressing the

Enter

key.

5. Fix any errors indicated by the syntax check and then rename the configuration file to

/etc/rio/rio.cf

6. At the command prompt, upload the changes to the driver by typing

rioboot -u

and

pressing the

Enter

key.

7. At the command prompt, create device nodes for the attached RTA's by typing

riomkdev

and pressing the

Enter

key.

Before modification

HOST:d100000f: RIO PCI 1: boot:

RTA:9400073d:RTA16 Ports 0-15:0:boot:

RTA:94000731:RTA16 Ports 16-31:16:boot:

RTA:94000732:UNKNOWN RTA 1-3:-1:boot:

After modification

HOST:d100000f:RIO PCI 1:boot:

RTA:9400073d:RTA16 Ports 0-15:0:boot:

RTA:94000731:RTA16 Ports 16-31:16:boot:

RTA:94000732:

RTA16 Ports 32-47:32:

boot:

Here the new “UNKNOWNRTA” has been assigned a name “RTA16 Ports
32-47” and allocated a starting port number of 32.