Moxa Technologies 1100 Computer Hardware User Manual


 
UPort 1100 Series User’s Manual Installation and Configuration
Unloading the Moxa Driver
The driver will not be unloaded when you remove the MOXA UPort 1100 from the PC. The Moxa
driver must be unloaded manually.
#rmmod mxuport1100_24
You can verify that the driver has loaded by entering the following command:
# lsmod
For additional information, please refer to readme.txt in the mxuport1100_24 directory.
Setting the Serial Parameters
The UPort 1130 supports three interfaces (RS-485 2W, RS-485 4W, RS-422) and the UPort
1150/1150I support four interfaces (RS-232, RS-485 2W, RS-485 4W, RS-422). You can execute
the setserial command to set the port’s interface. The supported parameter are listed below.
Parameter Value Interface
port 0 RS-232
port 1 RS-485 2W
port 2 RS-422
port 3 RS-485 4W
Example:
To set the port’s information, type:
# setserial /dev/ttyUSB0 port 1
To retrieve the port's information, type:
# setserial -G /dev/ttyUSB0
Removing the Moxa Driver and Utility Files
To remove the Moxa files, navigate to /moxa/mxuport1100_24, and then type:
#make clean;
Both the driver and utility files will be removed.
Linux Kernel 2.6.x
The Linux driver provided with the UPort 1100 maps Linux host ttyUSBxx ports to UPort device
ports. Once the mapping has been set up, Linux users and applications can connect to a device port
as if it were a ttyUSBxx port. These drivers have been designed and tested for the majority of
Linux distributions, including Linux kernel version 2.6.x and follow. Please check Moxa’s website
(http://www.moxa.com.
) for the latest Linux kernel support.
The Linux drivers support the following models:
y UPort 1110: 1-port RS-232 USB-to-Serial Converter.
y UPort 1130: 1-port RS-422/485 USB-to-Serial Converter.
y UPort 1150: 1-port RS-232/422/485 USB-to-Serial Converter.
y UPort 1150I: 1-port RS-232/422/485 USB-to-Serial Converter with isolation protection.
2-19