I have a QinHeng USB-Serial adapter using the HL340 Chipset.
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.