Testing QinHeng Electronics HL-340 USB-Serial adapter

kernel-modulesserial portusb

I have Kubuntu 14.10 development workstation and recently I have bought a QinHeng Electronics HL-340 USB-Serial adapter. HL-340 is USB<---->Serial adapter and it is recognised by my kernel:

user@comp001:~$ lsusb
    Bus 007 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
[..]

I am trying to initiate communication via this adapter with Raspberry Pi B+ board, but I am constantly failing.

Whatever text I send to the Raspberry Pi B+ via minicom, the traffic on the line is dead, I've checked with scope. I've double checked the Raspberry Pi B+ setup, the wirings (triple checked with multimeter), the scope wirings and the serial communication is dead. The port on Raspberry Pi B+ is working, because I've hooked up scope on transmit pin of serial port (on Raspberry Pi B+ side) and if I send text from Raspberry Pi B+ (via minicom under ssh tunnel), I get activity on the scope.

I cannot get data from PC via USB serial dongle. How do I test if the dongle works?

Best Answer

Is the adapter loading the right kernel module? I've heard that your device may be CH341 compatible:

sudo modprobe ch341
Related Question