RoHS compliant SOP-16, SOP-8, SSOP-20 and ESSOP-10, MSOP-10 lead-free package.ĬH340C, CH340N, CH340K, CH340E, CH340X and CH340B have integrated clock, no external crystal required.ĬH340B has integrated EEPROM used to configure serial number, some functions can be customized, etc.ĬH340K has 3 built-in diodes to reduce current flow backwards between the I/O pins of the MCU.CH340C/N/K/E/X/B have integrated clock, no external crystal required, CH340B also integrates EEPROM used to configure the serial number, etc.Supports 5V and 3.3V power supply voltages.Built-in firmware, software compatible with CH341, use VCP driver of CH341 directly.CH340R supports IrDA criterion SIR infrared communication, supports baud rate varies from 2400bps to 115200bps.through external voltage conversion chip. Provides further RS232, RS485, RS422 interface, etc.Supports common MODEM interface signals RTS, DTR, DCD, RI, DSR and CTS.Hardware full duplex UART interface, integrated transmit-receive buffer, supports communication baud rate varies from 50bps to 2Mbps.Original UART applications are totally compatible without any modification in Windows operating systems.Emulate standard UART interface, used to upgrade the original serial peripheral or expand additional UART via USB.Full-speed USB device interface, USB 2.0 compatible.
![hl 340 usb serial adapter linux driver hl 340 usb serial adapter linux driver](https://community-assets.home-assistant.io/original/3X/1/5/15139b4d01a7667b62b54065177b8c23f79db115.jpeg)
For more information about converting USB to printer interface, please refer to the CH340DS2 datasheet. In UART mode, CH340 provides standard MODEM signals, used to extend serial port for computers, or upgrade directly from normal serial device to USB bus. If you bridge the RX and TX pins on the adapter, for instance, garbage is echoed back rather than the characters you typed.CH340 is a USB bus converter chip which converts USB to serial port or printer port.
![hl 340 usb serial adapter linux driver hl 340 usb serial adapter linux driver](https://ae01.alicdn.com/kf/HTB1S_Z7oWAoBKNjSZSyq6yHAVXa3/1pcs-TZT-HL-340-USB-to-RS232-COM-Port-Serial-PDA-9-pin-DB9-Adapter-support.jpg)
With Minicom), but the data is corrupted.
![hl 340 usb serial adapter linux driver hl 340 usb serial adapter linux driver](https://ae01.alicdn.com/kf/HTB1hSyaknnI8KJjy0Ffq6AdoVXaH.jpg)
Version-Release number of selected component (if applicable): # uname -a Linux localhost.localdomain #1 SMP Mon Jun 8 16:25: x8664 x8664 x8664 GNU/Linux How reproducible: Always Steps to Reproduce: 1.įedora 23: 1201 usb 2-1.4: new full-speed USB device number 7 using ehci-pci 1259 usb 2-1.4: New USB device found, idVendor=1a86, idProduct=7523 1264 usb 2-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0 1266 usb 2-1.4: Product: USB2.0-Ser! 1231 ch341 2-1.4:1.0: ch341-uart converter detected 1216 usb 2-1.4: ch341-uart converter now attached to ttyUSB0 # uname -a Linux fedora23 #1 SMP Tue Jun 28 18:22: x8664 x8664 x8664 GNU/Linux Still applies to F23 with kernel Fedora 24: 1208.222677 usb 2-1.3: new full-speed USB device number 5 using ehci-pci 1208.309453 usb 2-1.3: New USB device found, idVendor=1a86, idProduct=7523 1208.309463 usb 2-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 1208.309469 usb 2-1.3: Product: USB2.0-Ser! 1208.351738 usbcore: registered new interface driver ch341 1208.351786 usbserial: USB Serial support registered for ch341-uart 1208.351820 ch341 2-1.3:1.0: ch341-uart converter detected 1208.354803 usb 2-1.3: ch341-uart converter now attached to ttyUSB0 ver Fedora release 24 (Twenty Four) Linux fedora24.localdomain #1 SMP Tue Jul 12 11:50: x8664 x8664 x8664 GNU/Linux Still applies to F24 with kernel There is.some. The same ch340 device works fine on Windows 7 with official driver, so the device isn't broken. Using an FTDI based adapter works perfectly on the contrary. # lsusb -d 1a86:7523 Bus 001 Device 015: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Kernel seems to bring up correctly the driver: giu25 16:33 usb 1-1.4.3: new full-speed USB device number 15 using xhcihcd +0,085072 usb 1-1.4.3: New USB device found, idVendor=1a86, idProduct=7523 +0,000004 usb 1-1.4.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 +0,000002 usb 1-1.4.3: Product: USB2.0-Ser! +0,000716 ch341 1-1.4.3:1.0: ch341-uart converter detected +0,001119 usb 1-1.4.3: ch341-uart converter now attached to ttyUSB0 but opening the device with minicom or screen doesn't produce any input or output.
![hl 340 usb serial adapter linux driver hl 340 usb serial adapter linux driver](https://community.octoprint.org/uploads/default/original/2X/0/05dc7814368d9d0c7a30842f417ebb9f71404ecf.jpeg)
Diego 10:47:20 EDT Description of problem: I've bought a USB serial adapter which is based on ch340 chipset.