ch-341 immediately disconnects from ttyUSB0

Post Reply
kdphil
 

Posts: 4
Joined: 10 Jun 2023, 03:18

ch-341 immediately disconnects from ttyUSB0

Post by kdphil »

When I connect the truSDX USB to my Linux computer, I can not find any /dev/ttyUSBx devices. When I check the dmesg log, I see it disconnects within 1 sec. I have tried several cables with the same result. Any ideas what could be wrong? Thx

from dmesg log:
[ 960.481710] usb 1-5: ch341-uart converter now attached to ttyUSB0
[ 961.088149] usb 1-5: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 961.091383] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
kdphil
 

Posts: 4
Joined: 10 Jun 2023, 03:18

Re: ch-341 immediately disconnects from ttyUSB0

Post by kdphil »

I found the solution to this problem at this link: https://forum.manjaro.org/t/cant-connec ... usb0/87208.

Basically some library installed is assuming the device is a braille typewriter! Disabling the udev rules fixes this problem.

sudo mv /usr/lib/udev/rules.d/90-brltty-device.rules /usr/lib/udev/rules.d/90-brltty-device.rules.disabled
sudo mv /usr/lib/udev/rules.d/90-brltty-uinput.rules /usr/lib/udev/rules.d/90-brltty-uinput.rules.disabled
sudo udevadm control --reload-rules

You may have to search the udev directory for the brltty-device.rules specific to you computer.
Post Reply

Users browsing this forum: No registered users and 0 guests