![]() Then I attached my device it added usb 1-2: ch341-uart converter now attached to ttyUSB0Īfter I started communication for a few seconds it disconnected and sometimes it reconnected to ttyUSB1 automatically, which I think may account for the error according to your reply. systemd: Created slice system-getty.slice. systemd: Created slice system-serial\x2dgetty.slice. The answer turns out to be that I needed the kmod-usb-serial-ch341 kernel package: opkg install kmod-usb-serial-ch341. rial: ttyTHS3 at MMIO 0x3130000 (irq = 38, base_baud = 0) is a TEGRA_UART rial: ttyTHS1 at MMIO 0x3110000 (irq = 37, base_baud = 0) is a TEGRA_UART Kernel command line: fbcon=map:0 net.ifnames=0 console=tty0 OS=l4t console=ttyS0,115200n8 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 android.kerneltype=normal rialno=0335115020673 vpr_resize root=/dev/mmcblk0p1 rw rootwait This is what i got after a fresh reboot dmesg | grep tty The procedure may also be applied to other serial devices, but I found ch341 one of the most common one. You should see the device attached to ttyUSB* Now plug in your serial device and type in dmesg | grep ch341 Sudo cp drivers/usb/serial/ch341.ko /lib/modules/$(uname -r)/kernel This step is to avoid the version magic error. ![]() Next, find the line CONFIG_LOCALVERSION= , Uncomment it and change it to CONFIG_USB_SERIAL_CH341=m ![]() configįind the line with “ #CONFIG_USB_SERIAL_CH341” We then copy the config file to here zcat /proc/config.gz >. Fortunately, it can be easily applied to CH341 as well.ĭownload the source of your kernel from here at the bottom of the pageĮxtract the file, you will see kernel_2 inside.Įxtract kernel_2 by tar xvjf kernel_2Ĭd into the extract folder, you will see hardware folder and a kernel folderĬd into kernel folder and then cd into kernel-4.4 folder Method 2: Download and Install the USB to Serial Driver HL 340 from the Manufacturers Website n. There was an outdated guide on eLinux for FTDI drivers. I found out that HL-340 can be used after CH341 driver is enabled. You might see “QinHeng Electronics HL-340 USB-Serial adapter” If you happen to have such device, by typing in command lsusb SKU: 31458 Add to Wishlist Single crystal 12M Tablet 340 USB port to serial port communication. ![]() Cysign (Themenstarter) Anmeldungsdatum: 15. Ich würde mich über nen Rat freuen, wie ich die Arduino-IDE mit dem Chip kommunizieren lassen kann.momentan erkennt die IDE keinen seriellen Port. Known Devices that might have this problem: Driver e Tutorial de Instalação do Conversor Usb Serial RS232 HL-340 ( ch341 ) 2018 Recebi esse adaptador como brinde em umas compras no Ali. Per lsusb bekomme ich folgendes angezeigt: QinHeng Electronics HL-340 USB-Serial adapter. After struggling for a while, I solved the problem and decided to write this guide I have Kubuntu 14.10 development workstation and recently I have bought a QinHeng Electronics HL-340 USB-Serial adapter. Some Arduino / USB Serial Converters use CH341 (or HL-340) which are not installed by the default jetpack. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |