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

Cannot get my Waveshare USB to RS485 working. #113

Open
DonatPlayZ opened this issue Oct 19, 2024 · 0 comments
Open

Cannot get my Waveshare USB to RS485 working. #113

DonatPlayZ opened this issue Oct 19, 2024 · 0 comments

Comments

@DonatPlayZ
Copy link

Hello, i need help.
i try to get my Waveshare USB to RS485 working with mbusd.

my Setup:
RPI 3 B with DietPi install (Loxberry)

Mbusd V0.5.2

My device show as :ttyACM0

udevadm info /dev/ttyACM0 gives:
P: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0 M: ttyACM0 R: 0 U: tty D: c 166:0 N: ttyACM0 L: 0 S: serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0 S: serial/by-id/usb-1a86_USB_Single_Serial_586D028735-if00 E: DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0 E: DEVNAME=/dev/ttyACM0 E: MAJOR=166 E: MINOR=0 E: SUBSYSTEM=tty E: USEC_INITIALIZED=261805644 E: ID_BUS=usb E: ID_MODEL=USB_Single_Serial E: ID_MODEL_ENC=USB\x20Single\x20Serial E: ID_MODEL_ID=55d3 E: ID_SERIAL=1a86_USB_Single_Serial_586D028735 E: ID_SERIAL_SHORT=586D028735 E: ID_VENDOR=1a86 E: ID_VENDOR_ENC=1a86 E: ID_VENDOR_ID=1a86 E: ID_REVISION=0445 E: ID_TYPE=generic E: ID_USB_MODEL=USB_Single_Serial E: ID_USB_MODEL_ENC=USB\x20Single\x20Serial E: ID_USB_MODEL_ID=55d3 E: ID_USB_SERIAL=1a86_USB_Single_Serial_586D028735 E: ID_USB_SERIAL_SHORT=586D028735 E: ID_USB_VENDOR=1a86 E: ID_USB_VENDOR_ENC=1a86 E: ID_USB_VENDOR_ID=1a86 E: ID_USB_REVISION=0445 E: ID_USB_TYPE=generic E: ID_USB_INTERFACES=:020201:0a0000: E: ID_USB_INTERFACE_NUM=00 E: ID_USB_DRIVER=cdc_acm E: ID_USB_CLASS_FROM_DATABASE=Communications E: ID_VENDOR_FROM_DATABASE=QinHeng Electronics E: ID_PATH=platform-3f980000.usb-usb-0:1.2:1.0 E: ID_PATH_TAG=platform-3f980000_usb-usb-0_1_2_1_0 E: ID_MM_CANDIDATE=1 E: DEVLINKS=/dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0 /dev/serial/by-id/usb-1a86_USB_Single_Serial_586D028735-if00 E: TAGS=:systemd: E: CURRENT_TAGS=:systemd:

Am i missing some drivers?

I looked arround a bit in the Issue Tab on Github and saw that a other user have the same USB as me but it shows as ttyUSB0 on him.

I tried the following settings:

Speed: 9600, 19200,
Serial Port mode, 8n1, 8E1

I installed it multiple Times.

Alway stuck on:
tty: trying to open /dev/ttyACM0 (speed 19200 mode E81)

Can somebody help me? i really need the Modbus 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

1 participant