Moxa Technologies Module driver configuration, Industio CP-134U Series User’s Manual

Models: CP-134U

1 87
Download 87 pages 51.18 Kb
Page 56
Image 56
Module driver configuration

2nd board

ttyM8 - ttyM15

3rd board

ttyM16 - ttyM23

4th board

ttyM24 - ttym31

Board sequence

 

cum8 - cum15 cum16 - cum23 cum24 - cum31

This driver will activate ISA boards according to the parameter set in the driver. After all specified ISA boards have been activated, PCI board will be installed in the system automatically driven. This means that the board number is sorted by the ISA boards’ CAP address. PCI boards will be assigned in sequence after ISA boards, with C168H/PCI given higher priority than C104H/PCI boards.

Module driver configuration

The easiest way to proceed is to install a module driver. You may skip this paragraph if you prefer static driver installation.

------------- Preparing to use the MOXA driver--------------------

1.Create a tty device that has the correct major number.

Before using the MOXA driver, your system must have tty devices which were created with the driver's major number. To simplify the procedure, we provide the shell script "msmknod." This step only needs to be executed once. But you will need to repeat the procedure when:

You change the driver's major number (refer to Section 3.7).

The total number of installed MOXA boards number changes (e.g., when you add or delete a MOXA board).

You want to change the tty name. In this case, you will need to modify the shell script "msmknod."

The procedure is:

#cd /moxa/mxser/driver

#./msmknod

To create a tty device, the shell script will need the major number for a dial-in device and callout device. You will also need to specify the total number of installed MOXA boards. Default major numbers for a dial-in device and callout device are 30 and 35, respectively. If you need to change the numbers, refer to Section 3.7 to see the detailed procedure.

Msmknod will delete any special files occupying the same device naming.

2.Build the MOXA driver and utilities.

Before using the MOXA driver and utilities, you need to compile all of the source code. This step only needs to be executed once. But of course you will need to re-compile

3-40 Industio CP-134U Series User’s Manual

Page 56
Image 56
Moxa Technologies user manual Module driver configuration, Industio CP-134U Series User’s Manual