Last edited by smatask on 2022-2-26 19:17 Editor

Hello, next question.
In my task, my software controls external devices via the rs-485 interface.
I have a Moxa UPort-1450 in my work.
When I connect Moxa to M2, I see a USB adapter, but I don't see the interfaces I need to work.


[   54.985877] usb 5-1: new high-speed USB device number 2 using xhci-hcd
[   55.127103] usb 5-1: New USB device found, idVendor=110a, idProduct=1450, bcdDevice= 2.00
[   55.127129] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   55.127144] usb 5-1: Product: MOXA UPort 1450
[   55.127158] usb 5-1: Manufacturer: MOXA Technologies
root@firefly:~# uname -a
Linux firefly 4.19.193 #76 SMP Thu Feb 24 14:25:47 CST 2022 aarch64 aarch64 aarch64 GNU/Linux


Another option is to connect Moxa to Raspberry pi 4b in Alt Linux:
[1304833.113224] usb 1-1.3: new high-speed USB device number 11 using xhci_hcd
[1304833.254311] usb 1-1.3: New USB device found, idVendor=110a, idProduct=1450, bcdDevice= 2.00
[1304833.254332] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1304833.254344] usb 1-1.3: Product: MOXA UPort 1450
[1304833.254355] usb 1-1.3: Manufacturer: MOXA Technologies
[1304835.959702] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[1304836.533656] mxuport 1-1.3:1.0: Using device firmware version v1.4.1
[1304836.533713] mxuport 1-1.3:1.0: MOXA UPort converter detected
[1304836.534506] usb 1-1.3: MOXA UPort converter now attached to ttyUSB0
[1304836.535130] usb 1-1.3: MOXA UPort converter now attached to ttyUSB1
[1304836.535714] usb 1-1.3: MOXA UPort converter now attached to ttyUSB2
[1304836.536306] usb 1-1.3: MOXA UPort converter now attached to ttyUSB3
sam-rpi4b-8g ~ # uname -a
Linux sam-rpi4b-8g 5.10.81-rpi-def-alt1 #2 SMP Fri Dec 3 11:58:48 UTC 2021 aarch64 GNU/Linux

There is an adapter and the interfaces I need here.
Experts from Alt Linux say that you need to build a kernel with the option:
CONFIG_USB_SERIAL_MXUPORT=m


And I may need a driver for moxa.

I'm asking you to help me get moxa to work at the station M2.

Thanks in advance