mbusd icon indicating copy to clipboard operation
mbusd copied to clipboard

/dev/ttyUSB0 is starting like /dev/ttyS0

Open dar3khudy opened this issue 2 years ago • 1 comments

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.

dar3khudy avatar Jan 07 '22 09:01 dar3khudy

Aren't you suppose to use -p /dev/ttyUSB0 since -p is the param for the device? 🤔

wax911 avatar Apr 15 '22 12:04 wax911