Loading the driver, Unloading the driver, Linux – Moxa Technologies CP-104UL User Manual

Page 53: Loading the driver -39, Unloading the driver -39, Linux -39

Advertising
background image

Software Installation

Smartio CP-104UL User’s Manual 3-39

Loading the Driver

Having completed the setup, now you can load the driver BIN\DP-DRV.EXE at the DOS prompt.
The driver will detect the board you installed automatically. If the board(s) is(are) detected, a
message similar to below will show:

Smartio/Industio Family DOS driver Version 1.5

Setup driver …

CP-134U series (Bus= x ,Dev=y) : OK!

Device driver setup O.K.

It means that the CP-134U Series driver is installed properly. At this point, you are ready to
execute applications that support API-232 functions, or start developing applications using API-
232 library.

Unloading the Driver

To unload (release) the driver from memory, type DP-DRV/Q at the DOS prompt.

Linux

The Linux driver for MOXA’s multiport serial boards supports the following products:

!

Universal PCI Boards: CP-168U, CP-104UL, CP-104JU, CP-134U, CP-134U-I, CP-132UL, CP-

132UI

!

PCI Boards: C168H/PCI, C104H/PCI, C104HS/PCI, CP-114, CP-114I, CP-114S, CP-114IS, CP-132,

CP-132I, CP-132S, CP-132IS

!

ISA Boards: C168H, C168HS, C168P, C104H, C104HS, C104P, CI-104J, CI-104JS, CI-134, CI-

134I, CI-134IS, CI-132, CI-132I, CI-132IS

!

cPCI Boards: CT-114I

The following steps are using CP-168U as an example.

Follow the steps below to install the driver under Linux.

1. # mkdir moxa

# cd moxa
# tar xvfz mxser.tgz

2. #cd mxser

#make clean; make install

3. # cd /moxa/mxser/driver

# ./msmknod

4. # modprobe mxser

(If you install ISA Boards, please type commend # 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

Advertising