I'm using it with USB to RS485 converter which is present like /dev/ttyUSB0, but when I'm starting mbusd it is opening ttyS0 (in my case it is different port!)
sudo mbusd -d /dev/ttyUSB0 -s 9600 -m 8N1 -t -P 5002
07 Jan 2022 10:54:35 mbusd-0.5.1 started...
07 Jan 2022 10:54:35 tty: trying to open /dev/ttyS0 (speed 9600 mode 8N1)
I have fixed it by remove ttyS0 and symbolic linc it to USB0 but it is not like should be :(
When I added this port to /etc/mbusd/ttyUSB0 and started it like a service then everythig was fine.
I'm using it with USB to RS485 converter which is present like /dev/ttyUSB0, but when I'm starting mbusd it is opening ttyS0 (in my case it is different port!) sudo mbusd -d /dev/ttyUSB0 -s 9600 -m 8N1 -t -P 5002 07 Jan 2022 10:54:35 mbusd-0.5.1 started... 07 Jan 2022 10:54:35 tty: trying to open /dev/ttyS0 (speed 9600 mode 8N1) I have fixed it by remove ttyS0 and symbolic linc it to USB0 but it is not like should be :( When I added this port to /etc/mbusd/ttyUSB0 and started it like a service then everythig was fine.