PCI Express Board User’s Manual

Serial Programming Tools

 

 

 

 

NOTE

The following procedure shows how to install the CP-118EL driver under Linux.

 

 

 

 

Execute the following commands from the Linux prompt:

1.#mount /dev/cdrom /mnt/cdrom #cd /

#mkdir moxa

2.#cd moxa

#cp /mnt/cdrom/<driver directory>/mxser.tgz .

3.#tar xvfz mxser.tgz

4.#cd mxser

#make clean; make install

5.#cd /moxa/mxser/driver #./msmkod

6.#modprobe mxser

(If you install ISA Boards, use the command # insmod mxser ioaddr=0x???, 0x???, 0x???, 0x??? <- 1st ISA, 2nd ISA, 3rd ISA, 4th ISA)

Using /lib/modules/2.4.20-8/kernel/drivers/char/mxser.o

Warning: loading /lib/modules/2.4.20-8/kernel/drivers/char/mxser.o will taint the kernel: no license

See http://www.tux.org/lkml/#export-tainted for information about tainted modules MOXA Smartio/Industio family driver version 1.9

Tty devices major number = 30, callout devices major number = 35 Found MOXA CP-118EL series board (BusNo=2,DevNo=13) Module mxser loaded, with warnings

7.Use the MOXA diagnostics utility to verify the driver status:

#cd /moxa/mxser/utility/diag #./msdiag

=MOXA Smartio/Industio Family Multiport Board Status Utility(1.1)= Tty Device Major Number= 30.

Callout device Major Number= 35.

Board 1 : CP-118EL series (BusNo=2, DevNo=13)

Port 1: 0xac00, max. baudrate = 921600 bps.

Port 2: 0xac08, max. baudrate = 921600 bps.

Port 3: 0xac10, max. baudrate = 921600 bps.

Port 4: 0xac18, max. baudrate = 921600 bps.

Port 5: 0xac20, max. baudrate = 921600 bps.

Port 6: 0xac28, max. baudrate = 921600 bps.

Port 7: 0xac30, max. baudrate = 921600 bps.

Port 8: 0xac38, max. baudrate = 921600 bps.

8.Use the MOXA terminal utility to test the tty ports:

#cd /moxa/mxser/utility/term #./msterm

3-36