Page 1 of 1

RdvPi Connect+ : Device path for embedded RS485 port

Posted: 26 Aug 2019, 16:48
by Merinorus
Hello!

I wat to connect slave modbus devices on the RS485 port embedded on the RevPi Connect+.
The tutorial shows how to connect these devices to the RevPi, bt only via an USB->Modbus RTU adapter.

I would like to use the embedded RS485 port directly but couldn't find a way to do this.

On the PiCtory web page, the path is /dev/ttyUSB0 by default.
I looked in the /dev directory and /dev/ttyRS485 is shown, but it's a link to /dev/ttyUSB.

Any idea about how to change that?

Thank you in advance for your help!

Have a good day,

Re: RdvPi Connect+ : Device path for embedded RS485 port

Posted: 27 Aug 2019, 11:28
by Merinorus
I will reply to myself : /dev/ttyRS485 works!
But I don't understand why it works with this link:

Code: Select all

lrwxrwxrwx 1 root root           7 Aug 27 11:02 ttyRS485 -> ttyUSB0