In this section, we provide four procedures to introduce the Moxa Linux Driver.
1. Installing Linux Driver File
2. Loading/Unloading the Moxa Driver
3. Setting the Serial Parameters
4. Removing the Moxa Linux Driver
Installing Linux Driver Files
Obtain the driver file from the Document and Software CD, or from the Moxa website at
http://www.moxa.com.
To install and load the Linux drivers, enter the following commands from the Linux prompt:
# mount /dev/cdrom/ mnt
# cd /
# mkdir moxa
# cd /moxa
# cp /mnt/<driver directory>/driv_linux2.6_uport1p_v1.1_build_xx.tgz/moxa
# tar -xvfz driv_linux2.6_uport1p_v1.1_build_xx.tgz
# tar -xvfz driv_linux2.6_uport1p_v1.1_build_xx.tgz
# cd / mxu11x0/driver
# make clean
# make install
Loading the Moxa Driver
After installing the driver, you will be able to load the Moxa driver. The driver will be loaded automatically when
the UPort 1100 is plugged into your PC, or you can load the driver manually by typing the following command:
# modprobe mxu11x0
You can verify that the driver has loaded by entering the following command:
# lsmod
For additional information, please refer to readme.txt in the mxu11x0 directory.
Unloading the Moxa Driver
The driver will not be unloaded when you remove the UPort 1100 from the PC. The Moxa driver must be
unloaded manually.
#rmmod mxu11x0
You can verify that the driver has loaded by entering the following command:
# lsmod
For additional information, please refer to readme.txt in the mxu11x0directory.