Code: [ 381.259373] ch341 2-5:1.0: device disconnected [ 1079.740020] usb 2-5: new full-speed USB device number 4 using ohci_hcd [ 1079.949788] usb 2-5: New USB device found, idVendor=1a86, idProduct=7523 [ 1079.949793] usb 2-5: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 1079.949797] usb 2-5: Product: USB2.0-Ser! [ 1079.952834] ch341 2-5:1.0: ch341-uart converter detected [ 1079.988849] usb 2-5: ch341-uart converter now attached to ttyUSB0 ----------> this is the part you want to see as this is the port your be using in puTty or any other communication console with the converter disconnected use the following command 'lsusb'. Code: user@mint-host ~ $ lsusb Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader Bus 002 Device 002: ID 062a:0208 Creative Labs Bus 002 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter -------------> new line added Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Notice the new line added?
This is your device. So everything seems to work. Expect you wont be able to connect (I’m using cisco router/switch via the console port) go a head and try yourself then come back. So now if you have tested and it doesn't work you can try a quick and dirty trick (this will only work if the converter/cable is connected and will remain working as long as you do not unplug it. If you do plug it back in and re-enter the code below. Code: sudo chmod 777 /dev/ttyUSB0 (make sure you enter the correct number but mostly for what I have seen is ttyUSB0.
0 is a zero) Now if you had entered the code everything should be working, if it isn't and you checked you entered the code correctly then you need more help. So we have so far, checked to see if the drivers are installed and working, the device is seen and we can connect.
May 20, 2016 - CH340/341 (HL340/341) Serial-to-USB UART Driver for Raspberry Pi. 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter. Qinheng electronics hl 340 usb serial adapter driver for windows Isaiah June 3, 2018 Stanislav Petrek stanislav-petrek wrote on Other bug subscribers Subscribe someone else.
So lets fix it so you do not have to change the permission every time you re-boot. Or unplug the cable. To do so enter the code below, re-boot and happy days all is good.