DIR-505: unable to initialize libusb: -99

Today I revived a DIR-505 and flashed 21.02.0 onto it. So far so good, everything is working as expected, except USB. No USB device is recognized when inserting/removing it, nothing at all in logread/dmesg. Same for master. USB was working before (15.05), so it is unlikely to be a hardware issue.

root@DIR-505-2:~# lsusb
unable to initialize libusb: -99
root@DIR-505-2:~# opkg list-installed | grep usb
kmod-phy-ath79-usb - 5.4.152-1
kmod-usb-core - 5.4.152-1
kmod-usb-ehci - 5.4.152-1
kmod-usb-ohci - 5.4.152-1
kmod-usb-ohci-pci - 5.4.152-1
kmod-usb-storage - 5.4.152-1
kmod-usb2 - 5.4.152-1
kmod-usb2-pci - 5.4.152-1
libusb-1.0-0 - 1.0.24-4
usbutils - 014-1
root@DIR-505-2:~# lsmod | grep usb
nls_base                5194  1 usbcore
scsi_mod               91670  2 usb_storage,sd_mod
usb_common              3134  3 ohci_hcd,ehci_platform,usbcore
usb_storage            44560  0
usbcore               150692  8 usb_storage,ohci_pci,ohci_platform,ohci_hcd,ehci_pci,ehci_platform,ehci_fsl,ehci_hcd

Any hints what could be causing this?

Solution:

opkg update && opkg install kmod-usb-chipidea2

@blocktrron since without kmod-usb-chipidea2 USB is completely dysfunctional, maybe it should be added to the DEVICE PACKAGES?

1 Like

Thanks for reporting. Yes, this package is indeed missing. My board has a desoldered USB port, as it was for prototyping a device. Will add the correct package & backport to 21.02.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.