Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/ttyUSB0 is starting like /dev/ttyS0 #82

Open
dar3khudy opened this issue Jan 7, 2022 · 1 comment
Open

/dev/ttyUSB0 is starting like /dev/ttyS0 #82

dar3khudy opened this issue Jan 7, 2022 · 1 comment

Comments

@dar3khudy
Copy link

dar3khudy commented Jan 7, 2022

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.

@wax911
Copy link

wax911 commented Apr 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants