AR300M and USB 1.1

I have installed LEDE, and all the needed USB and HID packages (kmod-hid, kmod-hid-generic, kmod-input-core, kmod-input-evdev, kmod-usb-hid) but a simple USB 1.1 HID device doesn’t work. I tried a USB 2 keyboard, it works, but both a custom device and an old USB 1.1 keyboard don’t work.

I tried both kmod-usb-ohci and kmod-usb-uhci with no success as it tries to use the ehci-platform for some reason.

Is there a hardware limitation or some kind of software/driver issue?

[ 4.197669] usbcore: registered new interface driver usbfs
[ 4.203462] usbcore: registered new interface driver hub
[ 4.209076] usbcore: registered new device driver usb
[ 4.219132] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.227227] ehci-platform: EHCI generic platform driver
[ 4.232717] ehci-platform ehci-platform: EHCI Host Controller
[ 4.238744] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.249034] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.274272] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.281589] hub 1-0:1.0: USB hub found
[ 4.285823] hub 1-0:1.0: 1 port detected


[ 9.613945] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 9.621825] ohci-platform: OHCI generic platform driver
[ 9.698858] hidraw: raw HID events driver (C) Jiri Kosina
[ 9.713416] usbcore: registered new interface driver cdc_acm
[ 9.719338] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 9.802224] usbcore: registered new interface driver usbhid
[ 9.808046] usbhid: USB HID core driver

[ 569.094221] usb 1-1: new low-speed USB device number 2 using ehci-platform
[ 574.234224] usb 1-1: device descriptor read/64, error -145
[ 589.524222] usb 1-1: device descriptor read/64, error -145
[ 589.754216] usb 1-1: new low-speed USB device number 3 using ehci-platform
[ 594.894221] usb 1-1: device descriptor read/64, error -145
[ 610.184220] usb 1-1: device descriptor read/64, error -145
[ 610.414217] usb 1-1: new low-speed USB device number 4 using ehci-platform
[ 620.874217] usb 1-1: device not accepting address 4, error -145
[ 620.994217] usb 1-1: new low-speed USB device number 5 using ehci-platform
[ 631.454219] usb 1-1: device not accepting address 5, error -145
[ 631.460392] usb usb1-port1: unable to enumerate USB device

Sorry, I have no idea.

It seems to be (link) a SoC limitation (or maybe a driver issue, I’m not sure), I ended up using a USB 2 hub as it was suggested, but it is not a good solution.

Can you try with the Wifi disabled?

In QCA9331 there was a bug. When wifi is enabled USB1.1 will not work. The bug was fixed using software method by patching ath9k driver.

But I don’t know if this is the case in QCA9531.

Thank you for the follow-up.

I disabled WiFi using uci:

 

uci set wireless.radio0.disabled=‘1’

uci commit wireless

reboot

 

No changes. Or should I remove the WiFi drivers too?

No. I think this is enough and this should be a different issue.

Or maybe this is the same issue in different chips and have to deal with.

Sorry cannot help.