Qinheng Electronics Hl-340 Usb-serial Adapter Linux
Hi there,
I have a Garmin eTrex Camo GPS unit, and the cable for it has a serial port, so I purchased a QinHeng Electronics HL-340 USB-Serial adapter online, assured by a Linux-using friend that it would work - and indeed, my netbook recognises that the cable exists, but is not picking up the cable (and GPS device) on the other end of the adapter.
Here's what I get running lsusb:
The serial cable did come with a mini driver CD but being that I have a netbook and no external CD drive, I can't use it; I wonder if the problem is caused by lack of driver, but have Googled away for the last 20 mins without turning up a Linux driver for the thing.
Help?! I'm going to San Francisco on Friday and really want to take my GPS with me so I can grab some international geocaches over there.
HL-340 is USBSerial 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.
1Pop03:38320 kbps44100 kHz33028 Times2Pop03:17320 kbps44100 kHz28240 Times3Pop04:02320 kbps44100 kHz23407 Times4Pop03:24320 kbps44100 kHz22027 Times5Pop02:49320 kbps44100 kHz265830 Times6Pop03:57320 kbps44100 kHz96616 Times7Pop03:05320 kbps44100 kHz23896 Times8Pop03:36320 kbps44100 kHz13386 Times9Pop04:03320 kbps44100 kHz16376 Times10Pop03:48320 kbps44100 kHz9179 Times11Pop03:17320 kbps44100 kHz13402 Times12Pop03:12320 kbps44100 kHz41722 Times13Pop03:40320 kbps44100 kHz99881 Times14Pop03:39320 kbps44100 kHz51438 Times15Pop03:11320 kbps44100 kHz84006 Times. Enrique iglesias songs mp3.
lsusb:
Bus 002 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Distro is Linux Mint 17.3 kernel:
uname -a
Linux orac 4.4.0-135-lowlatency #161~14.04.1-Ubuntu SMP PREEMPT Tue Aug 28 14:17:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
This adapter works perfectly on same computer with Debian 8 (kernel 3.16) and Arch Linux kernel 4.15 but not with Linux Mint and my 4.4.0 kernel
Device is enumerated as /dev/ttyUSB0
ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Oct 13 17:28 /dev/ttyUSB0
I am a member of group dialout and current testing with a jumper wire
connected between pins 2 and 3 of the serial connector.
I am testing with minicom:
minicom -D /dev/ttyUSB0
From minicom options , HW and SW flow control set to NO , returning to minicom any characters typed should be echoed on the screen (works in Arch and DEbian, but not Mint).
There are many posts about this . I have tried to compile the ch34x module:
https://github.com/SkyRocknRoll/CH341SER_LINUX
The source code for my kernel is installed and module compiles and installs but still the adapter refuses to transmit and receive characters.
Is there any other ch341 patch for a 4.4 kernel?
I'm currently working with Mint, but can revert to Debian, if this cant be fixed.
Thanks in advance.