You are not logged in.

#1 2018-04-17 12:44:59

jiyunatori
Member
Registered: 2008-07-04
Posts: 54

CH340 based USB device not recognized

I'm trying to make my computer talk with a chinese clone of an Arduino Mega - which is based on a CH340G chip for serial communication. When plugged, I get the following from journalctl :

Apr 17 14:30:04 pandora kernel: usb 1-1: new full-speed USB device number 37 using xhci_hcd
Apr 17 14:30:04 pandora kernel: usb 1-1: unable to read config index 0 descriptor/start: -71
Apr 17 14:30:04 pandora kernel: usb 1-1: can't read configurations, error -71
Apr 17 14:30:04 pandora kernel: usb 1-1: new full-speed USB device number 38 using xhci_hcd
Apr 17 14:30:05 pandora kernel: usb 1-1: Device not responding to setup address.
Apr 17 14:30:05 pandora kernel: usb 1-1: Device not responding to setup address.
Apr 17 14:30:05 pandora kernel: usb 1-1: device not accepting address 38, error -71
Apr 17 14:30:05 pandora kernel: usb usb1-port1: attempt power cycle
Apr 17 14:30:06 pandora kernel: usb 1-1: new full-speed USB device number 39 using xhci_hcd
Apr 17 14:30:06 pandora kernel: usb 1-1: unable to read config index 0 descriptor/start: -71
Apr 17 14:30:06 pandora kernel: usb 1-1: can't read configurations, error -71
Apr 17 14:30:06 pandora kernel: usb 1-1: new full-speed USB device number 40 using xhci_hcd
Apr 17 14:30:06 pandora kernel: usb 1-1: unable to read config index 0 descriptor/start: -71
Apr 17 14:30:06 pandora kernel: usb 1-1: can't read configurations, error -71
Apr 17 14:30:06 pandora kernel: usb usb1-port1: unable to enumerate USB device

I tried to install i2c-ch341-dkms from AUR, loaded the module ch341, but it didn't help.

the kernel version is

Linux pandora 4.15.15-1-ARCH #1 SMP PREEMPT Sat Mar 31 23:59:25 UTC 2018 x86_64 GNU/Linux

Surprisingly, it works on my other, debian based, computer.

Linux snowcrash 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

Right now I'm installing debian in a VM to check if it works. If it is the case, either there is something wrong in my config, in arch's default kernel config, or I am witnessing a regression.

Where should I go from there ?

Offline

Board footer

Powered by FluxBB