Hello all,
I'm trying to use Uport 1250i for 2 wire RS485 communication. My operating system is Ubuntu 18.04. I see that it is recognized well by the Linux kernel.
Feb 17 10:01:17 r300021513 kernel: [ 2.031006] usb 1-1: New USB device found, idVendor=110a, idProduct=1251
Feb 17 10:01:17 r300021513 kernel: [ 2.031007] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 17 10:01:17 r300021513 kernel: [ 2.031008] usb 1-1: Product: MOXA UPort 1250I
Feb 17 10:01:17 r300021513 kernel: [ 2.031008] usb 1-1: Manufacturer: MOXA Technologies
Feb 17 10:01:17 r300021513 kernel: [ 6.545204] usbcore: registered new interface driver mxuport
Feb 17 10:01:17 r300021513 kernel: [ 6.545210] usbserial: USB Serial support registered for MOXA UPort
Feb 17 10:01:19 r300021513 kernel: [ 9.752962] mxuport 1-1:1.0: Using device firmware version v1.4.1
Feb 17 10:01:19 r300021513 kernel: [ 9.752966] mxuport 1-1:1.0: MOXA UPort converter detected
Feb 17 10:01:19 r300021513 kernel: [ 9.753393] usb 1-1: MOXA UPort converter now attached to ttyUSB1
Feb 17 10:01:19 r300021513 kernel: [ 9.753603] usb 1-1: MOXA UPort converter now attached to ttyUSB2
I can communicate via RS232 without a problem. However when I connect an RS485 device to D+ D- pins, I cannot. In the manual it says run
setserial /dev/ttyUSB1 port 0x1
for 2 wire RS485. But when I run this, it returns;
Cannot get serial info: Inappropriate ioctl for device
So, I'm stucked. How can I use this device in Ubuntu 18.04 (4.15.0-135-generic) with 2 wire RS485 configuration?
Best Regards