Menu
![](/uploads/1/2/5/4/125451158/571175999.jpeg)
Bus 003 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter It is often shipped together with the sds011 sensor. The required kernel module is called ch341 and built with the following.config entry. HL-340 - USB to RS232 Adapter Cable - CH340 Based CH340 chip based USB to RS232 full modem cable with moulded connector housing. This cable works properly as a USB to full modem RS232 port converter. With all 9 Signals functional this cable works great as an serial ISP programmer for NXP serial bootloader devices.
Active4 years, 3 months ago
When I connect the USB interface from my arduino nano to my openwrt router then the command
lsusb
shows:But I do not get a new serial device in
/dev/tty*
I have
kmod-usb-serial
installed.meesernmeesern
1 Answer
Posting this in case it is useful to others. The answer turns out to be that I needed the
kmod-usb-serial-ch341
kernel package:The HL-340 is a CH 340 compatible device.
Once the ch341 driver is installed the nano appears as
/dev/ttyUSB0
and defaults to 115200 baud. From dmesg
![Hl 340 usb to serial Hl 340 usb to serial](/uploads/1/2/5/4/125451158/703182838.jpg)
meesernmeesern
Not the answer you're looking for? Browse other questions tagged arduinoopenwrt or ask your own question.
Hi,
I have recently set up my USB to serial connection to log into Cisco switches/Routers. When in Putty or Minicom, I am getting strange characters showing up and cannot read anything.
I understand that this is often cause by the incorrect speed setting, but I have confirmed this is correct - speed 9600 8N1
I am able to Telnet to the devices, so not an issue with Putty - I suspect problem is with the USB/Serial connection, although it works fine from Windows so rollover cable/adapter must be ok.
I have entered the following commands:
sudo modprobe usbserial vendor=0×*** product=0×*** (I didn’t actually use asterisks)
Ran “dmesg” again and lines similar like this, it appears to be set up ok :
usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic
I've also put the line 'usbserial vendor=0×*** product=0×***' inside “/etc/modules” file
When opening putty or minicom, I'm using /dev/ttyUSB0
I am very new to this OS (Ubuntu 11.10), have only been using it for a few days so still very much a newbie.
I have done a lot of Goggling but just can find any information about this problem, apart from speed setting which as I said is correct.
Please help!
Thanks in advance,
Wayne
![](/uploads/1/2/5/4/125451158/571175999.jpeg)