has anyone tried using a serial adapter on CH341 (USB - RS485) ?
This adapter recognise by kernel, but not working (((
In Windows this adapter work fine.
dmesg output:
[72004.731453] usb 3-1: new full-speed USB device number 2 using xhci-mtk
[72004.893011] ch341 3-1:1.0: ch341-uart converter detected
[72004.902875] usb 3-1: ch341-uart converter now attached to ttyUSB0
lsusb output:
Bus 003 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
uname -a output:
Linux bpi-iot-ros-ai 4.4.70-BPI-R2-Kernel #4 SMP Thu Mar 29 10:31:30 CST 2018 armv7l armv7l armv7l GNU/Linux
But i don’t think you can get the driver working because kernel is 4 years old. You can try newer one (e.g. 5.4) from my repo and include driver there if it’s not already there
Newer kernels from 2007+ (2.6.24 ) seem to contain driver for this chip
Thank you for answer. Right now, I’m not sure if the problem is in the ch341 driver. I changed the USB-RS485 adapter to new ones (FT232RL), but it still doesn’t work. Under Windows 10, the new adapter also works well.
Are other usb-devices recognized (e.g. storage) on same port? Do you see your usb2serial in lsusb? Look in dmesg if anything happens when you connect your device