Moxa TC-SW04-M12-4P-T [23/43] Installing linux modules from the moxa website

Moxa TC-SP04-DB44-T [23/43] Installing linux modules from the moxa website
TC-6000 Series Expansion Modules Software Installation and Programming Guide
4-3
tc6000-socketcan - modules for CAN device using socketCAN
The following table shows the packages required for each expansion modules:
Expansion Module Driver Package Name Utility Packages Name
TC-SP04-DB44-T tc6000-mxser tc6000-setinterface
TC-CP02-DB-T tc6000-socketcan
TC-DK10-T/TC-DK20-T tc6000-qmi-modules libqmi-glib1, libqmi-utils ,
tc6000-mpcie-power
After setting up the repository, use apt-get or Aptitude to install the package.
Moxa:~# apt-get install package-name
To uninstall the package, use the following command.
Moxa:~# apt-get remove package-name
Installing Linux Modules from the Moxa Website
The following table shows the various drivers and utilities required for each expansion module. You may acquire
these kernel modules from the Moxa website, on the TC-6000 Expansion Modules product page, which should
be at . Click into the Drivers link, http://www.moxa.com/support/sarch_result.aspx?prod_id=1990
and download the correct kernel module according to the chart below:
Expansion Module Kernel Module Package Utility Package
TC-SP04-DB44-T tc6000-mxser_1.15.21_i386.deb tc6000-setinterface_1.0_i386.deb
TC-CP02-DB-T tc6000-socketcan_1.0_i386.deb
TC-DK10-T/TC-DK20-T tc6000-qmi-modules_1.0_i386.deb
libqmi-glib1_1.8.0-1_i386.deb,
libqmi-utils_1.8.0-1_i386.deb,
tc6000-mpcie-power_1.0_i386.deb
libffi5_3.0.10-3_i386.deb
libglib2.0-0_2.33.12+really2.32.4-5_i386.deb
To install a package you have the website, navigate to the directory it is stored in and type:
Moxa:~# dpkg -i package-file
To uninstall the package, use
Moxa:~# dpkg -r package-file
TC-SP04-DB44-T: Serial Port
The TC-SP04-DB44-T may be accessed over the Linux console as a terminal (tty) device node. The Moxa driver
creates a special device node that is identified as a
ttyM* device. The TC-SP04-DB44-T device nodes are listed
from
/dev/ttyM0 to /dev/ttyM15, depending on how many expansion modules inserted. The UART API
allows you to configure these device nodes for RS-232, RS-422, 4-wire RS-485, or 2-wire RS-485.
The serial port kernel module for the TC-SP04-DB44-T is
mxser.ko, and has been pre-installed at
/lib/modules/3.2.0-4-686-pae/updates/drivers/tty/mxser.ko. Whenver the module is loaded
the serial ports will be automatically enabled whenever the system boots up.
ATTENTION
The m
aximum baudrate for the serial ports is 115,200; the stock serial ports on the TC-6000 series do not
support baud
rates beyond this maximum. However, the serial port expansion module does support baud
rates
up to 921,600. Standard baud
rates are: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800,
2400, 4800, 9600,
19200, 38400, 57600, 115200, 230400, 460800,
and 921600. To configure the above code for a standard
baud
rate connection, simply insert the number at the indicated line.
Non
-standard baudrates are more fully explained below

Содержание

Скачать