Moxa Technologies CP-118U user manual Use the Moxa terminal utility to test the tty ports

Models: CP-118U

1 84
Download 84 pages 9.63 Kb
Page 61
Image 61

CP-118U User’s Manual

Software Installation

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.7

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

7.Use the Moxa diagnostic 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-118U series (BusNo=2, DevNo=13)

Port 1: 0xac00, max. baud rate = 230400 bps.

Port 2: 0xac08, max. baud rate = 230400 bps.

Port 3: 0xac10, max. baud rate = 230400 bps.

Port 4: 0xac18, max. baud rate = 230400 bps.

Port 5: 0xac20, max. baud rate = 230400 bps.

Port 6: 0xac28, max. baud rate = 230400 bps.

Port 7: 0xac30, max. baud rate = 230400 bps.

Port 8: 0xac38, max. baud rate = 230400 bps.

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

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

3-49

Page 61
Image 61
Moxa Technologies CP-118U user manual Use the Moxa terminal utility to test the tty ports