Tag Archives: usb

Using a HL-340 USB Serial Adapter against 2.6.23 linux kernel

This device is:

idVendor 0x4348
idProduct 0x5523

There is a patch in -mm kernel tree, so I guess it goes to 2.6.24 soon. But if you don’t want to wait, here is a solution using the new ch341 usb serial driver:

wget http://www.csie.ntu.edu.tw/~b94101/ch341_drv.tar.bz2

Then extract the files and comment out lines 301 and 303 of ch341.c file and also line 35 of the tty_ioctl.c file.

Finally run ins.sh to compile and load the modules and use minicom, cu, cutecom or what you prefer to connect to the /dev/ttyUSB0 device.

I’ve seen some people trying to use pl2303 driver with a little patch to use this device. It doesn’t work.