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/ttyS0? #92

Open
FrazKK opened this issue Mar 31, 2023 · 5 comments
Open

/dev/ttyS0? #92

FrazKK opened this issue Mar 31, 2023 · 5 comments

Comments

@FrazKK
Copy link

FrazKK commented Mar 31, 2023

Hi guys, I'm sure this is very straight forward for many of you but please help me out, I've been searching everywhere for a couple of days now and beginning to pull my hair out!
I'm attempting to setup the sunsynk addon on home assistant on an Orange Pi 3 lts, I've installed the modbus TCP to modbus RTU gateway. Under device it says /Dev/ttys0, I have read should be ttyUSB0, is my orange pi not picking up the USB to RS485 converter at all?
Can anyone point me in a direction to some instructions for what I've got going wrong please?

@kinkazu
Copy link

kinkazu commented Mar 31, 2023

Unplug USB/RS485 converter, restart PI, plug converter in, type dmesg in console and check if USB converter has been picked up by the system and if yes, you should see it’s tty name.

@FrazKK
Copy link
Author

FrazKK commented Apr 1, 2023

Thank you for your reply Kinkazu. It say ttyACM0, does that make sense? I was expecting ttyUSB0

@kinkazu
Copy link

kinkazu commented Apr 1, 2023

Disconnect and dmesg, connect and dmesg. If that is the name of tty that dmesg shows, that is the one.

@FrazKK
Copy link
Author

FrazKK commented Apr 3, 2023

Thank you Kinkazu, appreciate the help!

@falcon35180
Copy link

As I understand, USB UARTs that use their own custom protocol, such as FTDI, show up as ttyUSBx devices. It appears that your converter has a UART that implements the USB CDC protocol, so it appears as ttyACMx.

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

3 participants