Moxa Technologies CP-134U Computer Hardware User Manual


 
Software Installation
3. Insert the new major numbers into the driver’s source code.
Run vi to open /moxa/mxser/driver/mxser.c. Locate the line that contains
"MXSERMAJOR", and change the content as below:
#define MXSERMAJOR 40
#define MXSERCUMAJOR 45
4. Run "make clean; make install" from /moxa/mxser/driver.
Verifying driver installation
You may refer to /var/log/messages to check the latest status log reported by this driver
whenever it's activated.
Utilities
There are 3 utilities contained in this driver. They are msdiag, msmon, and msterm. These 3
utilities are released in the form of source code. They should be compiled, and then the
executable files should be copied to the /usr/bin directory.
Before using these utilities, please load the driver (refer to Sections 3.4, 3.5, and 3.6) and
make sure you have run the "msmknod" utility.
msdiag - Diagnostic
This utility is used to display which Moxa Smartio/Industio boards in the system can be
found by the driver.
msmon - Port Monitoring
This utility gives the user a quick view of all MOXA port activity. You can easily see each
port's total received/transmitted (Rx/Tx) character count from the time the monitoring was
started. Rx/Tx throughputs per second are reported on an interval basis (e.g., the last 5
seconds), and on an average basis (since the time the monitoring was started). You can
reset all ports' count by <HOME> key. <+> <-> (plus/minus) keys to change the displaying
time interval. Press <ENTER> on the port, that cursor stay, to view the port's
communication parameters, signal status, and input/output queue.
msterm - Terminal Emulation
This utility provides the ability to send and receive data through all tty ports (especially for
MOXA ports). It is very useful for testing simple applications, such as sending AT
commands to a modem connected to the port, or as a terminal for login purposes. Note that
this is a dumb terminal emulation that does not handle full screen operations.
Industio CP-134U Series User’s Manual
3-45