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](/views2/1200485/page23/bg17.png)
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
Содержание
- First edition july 2014 1
- Tc 6000 series expansion modules user s manual 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Tc 6000 series expansion modules user s manual 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Table of contents 3
- Introduction 4
- Available modules 5
- Overview 5
- Package checklist 5
- Tc 6000 series expansion modules introduction 5
- Can interface 6
- Environmental limits 6
- Mini pcie card 6
- Physical characteristics 6
- Serial communication parameters 6
- Serial port interface 6
- Tc 6000 series expansion modules introduction 6
- Tc 6000 series module specifications 6
- Tc cp02 db t specifications 6
- Tc dk10 t tc dk20 t specifications 6
- Tc sp04 db44 t specifications 6
- Environmental limits 7
- Ethernet interface 7
- Physical characteristics 7
- Sata interface 7
- Tc 6000 series expansion modules introduction 7
- Tc sata t specifications available on request 7
- Tc sw04 m12 4p t tc sw04 m12 8p t specifications 7
- Hardware introduction 8
- Appearance 9
- Tc 6000 series expansion modules hardware introduction 9
- Tc cp02 db t 9
- Tc dk10 t tc dk20 t 9
- Tc sp04 db44 t 9
- Tc 6000 series expansion modules hardware introduction 10
- Tc sata t 10
- Tc sw04 m12 4p t tc sw04 m12 8p t 10
- Dimensions 11
- Tc 6000 series expansion modules hardware introduction 11
- Hardware connection description 12
- Installing the tc 6000 series expansion modules 13
- Tc 6000 series expansion modules hardware connection description 13
- Connecting data transmission cables 14
- Rs 232 14
- Rs 422 4 wire rs 485 14
- Tc sp04 db44 t serial port module 14
- Tc 6000 series expansion modules hardware connection description 15
- Tc cp02 db t can bus module 15
- Wire rs 485 15
- Installing cellular modules on the tc dk10 t and tc dk20 t 16
- Tc 6000 series expansion modules hardware connection description 16
- Tc sw04 m12 4p t tc sw04 m12 8p t switch module 16
- Attention 17
- Installing a cellular module 17
- Tc 6000 series expansion modules hardware connection description 17
- Installing the ssd hdd into the tc sata module 18
- Tc 6000 series expansion modules hardware connection description 18
- Tc 6000 series expansion modules hardware connection description 19
- Tc 6000 series expansion modules hardware connection description 20
- Software installation and programming guide 21
- Installation of linux modules using apt 22
- Linux system peripherals programming guide 22
- Prerequisite for installing peripheral modules 22
- Attention 23
- Dev ttym 23
- Installing linux modules from the moxa website 23
- Lib modules 3 4 686 pae updates drivers tty mxser k 23
- Moxa apt get install package name 23
- Moxa apt get remove package name 23
- Moxa dpkg i package file 23
- Moxa dpkg r package file 23
- Mxser k 23
- Tc 6000 series expansion modules software installation and programming guide 23
- Tc sp04 db44 t serial port 23
- Ttym15 23
- Example script 1 setting the baudrate 24
- Example script 2 return the baudrate 24
- Non standard baudrates and baudrate inaccuracy 24
- Tc sp04 db44 t configuring the baudrate 24
- Warning 24
- 1 6 round to the nearest integer to get 7 25
- 1 96 1 25
- 1 then round down to the nearest integer to get 1 25
- Checking current serial settings 25
- Device node dev ttym0 dev ttym15 device node dev ttym0 dev ttym15 25
- Enum 8 25
- Factor 25
- Inaccuracy 25
- Interface no interface no following 25
- Moxa setinterface dev ttym0 2 moxa setinterface dev ttym0 25
- Moxa setinterface dev ttym0 now setting is rs485 2wires interface 25
- Moxa setinterface usage setinterface device node interface no 25
- None to view now setting none to view now setting 25
- Root formula inaccuracy 25
- Set to rs232 interface 0 set to rs232 interface 25
- Set to rs422 interface 2 set to rs422 interface 25
- Set to rs485 2wires interface 1 set to rs485 2wires interface 25
- Set to rs485 4wires interface 3 set to rs485 4wires interface 25
- Setinterfac 25
- Setinterface dev ttym0 0 25
- Setinterface device node interface option 25
- Target non standard baud rate 500 000 25
- Tc 6000 series expansion modules software installation and programming guide 25
- Tc sp04 db44 t configuring serial port modes 25
- Attention 26
- Etc udev rules d 96 moxa rule 26
- Moxa reboot 26
- Moxa rule 26
- Moxa setinterface dev ttym0 now setting is rs485 2wires interface 26
- Moxa umount 26
- Now setting is rs422 interface 26
- Run bin setinterface dev ttym n 26
- Run bin setinterface dev ttym n 0 26
- Run bin setinterface dev ttym n 2 26
- Run bin setinterface dev ttym n 3 26
- Set the device tc sp04 db44 t 0x1393 0x1042 default as 232 mode interface drivers mxser attrs vendor 0x1393 attrs device 0x1042 run bin setinterface dev ttym n 0 96 moxa rules 26
- Setinterfac 26
- Tc 6000 series expansion modules software installation and programming guide 26
- Tc cp02 db t can bus interface 26
- Etc module 27
- Int main void int s 27
- Ip link set can0 up type can bitrate 12500 ip link set can1 up type can bitrate 12500 27
- Lib modules 3 4 686 pae updates drivers net can 27
- Moxa modprobe can moxa modprobe can_raw moxa modprobe can_bcm 27
- Proc net ca 27
- Tc 6000 series expansion modules software installation and programming guide 27
- Tc cp02 db t configuring the socket can interface 27
- Tc cp02 db t driver installation 27
- Tc cp02 db t sample script for the socketcan api 27
- Mpcie power 0x27 1 0 30
- On off flag 30
- Tc 6000 series expansion modules software installation and programming guide 30
- Tc dk10 t tc dk20 t configuring power controls 30
- Tc dk10 t tc dk20 t mini pcie interface 30
- Warning 30
- Attention 31
- Tc 6000 series expansion modules software installation and programming guide 31
- Tc 6000 series expansion modules software installation and programming guide 32
- Tc sp04 db44 t driver installation 32
- Windows system 32
- Tc 6000 series expansion modules software installation and programming guide 33
- Tc sp04 db44 t configuring serial port mode 33
- Tc 6000 series expansion modules software installation and programming guide 34
- Tc 6000 series expansion modules software installation and programming guide 35
- Tc 6000 series expansion modules software installation and programming guide 36
- Tc 6000 series expansion modules software installation and programming guide 37
- Tc cp02 db t driver installation 37
- Tc 6000 series expansion modules software installation and programming guide 38
- Moxa can bus library 39
- Tc 6000 series expansion modules software installation and programming guide 39
- Tc cp02 db t can module programming guide 39
- Tc 6000 series expansion modules software installation and programming guide 40
- Tc 6000 series expansion modules software installation and programming guide 41
- Tc dk10 t tc dk20 t enabling disabling usb socket 41
- Tc 6000 series expansion modules software installation and programming guide 42
- Attention 43
- Tc 6000 series expansion modules software installation and programming guide 43
Похожие устройства
- Moxa TC-SW04-M12-4P-T Технические характеристики
- Moxa TC-SW04-M12-8P Инструкция по эксплуатации
- Moxa TC-SW04-M12-8P Технические характеристики
- Moxa TC-DK10-T Инструкция по эксплуатации
- Moxa TC-DK10-T Технические характеристики
- Moxa TC-DK20-T Инструкция по эксплуатации
- Moxa TC-DK20-T Технические характеристики
- Moxa EXPC-1519-C1-S1-T Инструкция по эксплуатации
- Moxa EXPC-1519-C1-S2-T Инструкция по эксплуатации
- Moxa EXPC-1519-C1-S3-T Инструкция по эксплуатации
- Moxa EXPC-1519-C7-S3-T Инструкция по эксплуатации
- Moxa EXPC-1519-C7-S2-T Инструкция по эксплуатации
- Moxa EXPC-1519-C7-S1-T Инструкция по эксплуатации
- Moxa EXPC-1319-STS-W7E Инструкция по эксплуатации
- Horizont 32LE3181 Руководство по эксплуатации
- Horizont 43LE5173D Руководство по эксплуатации
- Horizont 32LE5161D Руководство по эксплуатации
- Horizont 49LE5161D Руководство по эксплуатации
- Horizont 15LE3416 Руководство по эксплуатации
- Horizont 19LE5206D Руководство по эксплуатации