Jump to content
Форум по продукции MOXA

CP-112UL-DB9M использование в Linux c ядром 3.10.19


Recommended Posts

Добрый день!

 

Плата CP-112UL-DB9M. В поставке драйвера для ядра 2.6.

 

В родном ядре есть драйвер mxser, который собирается и плату определяет.

 

03:0f.0 Serial controller: Moxa Technologies Co Ltd Device 1120 (prog-if 02 [16550])
Subsystem: Moxa Technologies Co Ltd Device 1120
Flags: medium devsel, IRQ 23
I/O ports at ec00 [size=32]
I/O ports at e880 [size=64]
I/O ports at e800 [size=16]
Kernel driver in use: mxser
Kernel modules: mxser

 

Утилиты которые идут с платой определяют, что она работает в RS232 режиме.

 

simargl conf # ./muestty -g /dev/ttyMI0
muestty: /dev/ttyMI0 is set to RS-232 mode.
muestty: /dev/ttyMI0 None terminal resistor.

 

При попытке установить режим RS485 вылетает ошибка

 

simargl conf # ./muestty -i RS4852W /dev/ttyMI0
muestty : Invaild operation of MOXA Smartio MUE series device.

 

Программа диагностики плату вообще не видит.

 

simargl diag # ./msdiag
== MOXA Smartio/Industio Family Multiport Board Status Utility(1.3) ==
Please run msmknod and load driver first or there are no Card in the System.
Please run msmknod and load driver first or there are no Card in the system.

 

Здесь нашел, что драйвера ядра должны работать.

 

Как переключить плату в режим RS485?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...