USB HID enumeration failure


#1

Hi

We reference this website
http://source.android.com/source/devices.html#running-android-hikey

then we plugged our ST MCU via USB2.0, but the kernel log is show below

[ 2234.578915] usb 1-1.1: new full-speed USB device number 12 using dwc2
[ 2234.662910] usb 1-1.1: device descriptor read/64, error -71
[ 2234.862876] usb 1-1.1: device descriptor read/64, error -71
[ 2235.042886] usb 1-1.1: new full-speed USB device number 13 using dwc2
[ 2235.126876] usb 1-1.1: device descriptor read/64, error -71
[ 2235.326905] usb 1-1.1: device descriptor read/64, error -71
[ 2235.506904] usb 1-1.1: new full-speed USB device number 14 using dwc2
[ 2235.922894] usb 1-1.1: device not accepting address 14, error -71
[ 2236.014892] usb 1-1.1: new full-speed USB device number 15 using dwc2
[ 2236.430938] usb 1-1.1: device not accepting address 15, error -71
[ 2236.437579] usb 1-1-port1: unable to enumerate USB device at full-speed while bus at HIGH_SPEED
[ 2236.904390] usb 1-1: USB disconnect, device number 11

I can see /dev/hidraw0, but I think it should three device(hidraw0,hidraw1,hidraw2)

if We plug it to windows, the host can recognize it with three HID device(mouse, keyboard, hid device)

Please kindly to tell me how can I fix it? Thank you.


#2

And we use wifi connect adb to debug