Using OpenWRT v. 22.03.5 - r20134-5f15225c1e
All packages updated to latest.
Usb not working. dmesg shows no problems, but:
# lsusb
unable to initialize libusb: -99
And
# cat /sys/kernel/debug/usb/devices
#
returns nothing.
Modules installed:
# opkg list-installed | grep usb
kmod-usb-core - 5.10.176-1
kmod-usb-dwc3 - 5.10.176-1
kmod-usb-ehci - 5.10.176-1
kmod-usb-ledtrig-usbport - 5.10.176-1
kmod-usb-ohci - 5.10.176-1
kmod-usb-ohci-pci - 5.10.176-1
kmod-usb-printer - 5.10.176-1
kmod-usb-storage - 5.10.176-1
kmod-usb-storage-extras - 5.10.176-1
kmod-usb-uhci - 5.10.176-1
kmod-usb-xhci-hcd - 5.10.176-1
kmod-usb2 - 5.10.176-1
kmod-usb2-pci - 5.10.176-1
kmod-usb3 - 5.10.176-1
libusb-1.0-0 - 1.0.24-5
usbids - 0.359-1
usbutils - 014-1
System logs:
[ 0.070748] usbcore: registered new interface driver usbfs
[ 0.070834] usbcore: registered new interface driver hub
[ 0.070909] usbcore: registered new device driver usb
[ 6.167713] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.574213] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.597164] usbcore: registered new interface driver usb-storage
[ 14.946771] uhci_hcd: USB Universal Host Controller Interface driver
[ 14.991656] usbcore: registered new interface driver ums-alauda
[ 14.992245] usbcore: registered new interface driver ums-cypress
[ 14.997061] usbcore: registered new interface driver ums-datafab
[ 15.003207] usbcore: registered new interface driver ums-freecom
[ 15.009332] usbcore: registered new interface driver ums-isd200
[ 15.015309] usbcore: registered new interface driver ums-jumpshot
[ 15.020801] usbcore: registered new interface driver ums-karma
[ 15.041189] usbcore: registered new interface driver ums-sddr09
[ 15.041852] usbcore: registered new interface driver ums-sddr55
[ 15.046671] usbcore: registered new interface driver ums-usbat
[ 15.052507] usbcore: registered new interface driver usblp
hnyman
September 26, 2023, 7:21pm
2
works in R7800 with main/master:
root@router1:~# opkg list-installed | grep usb
kmod-phy-qcom-ipq806x-usb - 6.1.55-1
kmod-usb-core - 6.1.55-1
kmod-usb-dwc3 - 6.1.55-1
kmod-usb-dwc3-qcom - 6.1.55-1
kmod-usb-ehci - 6.1.55-1
kmod-usb-ledtrig-usbport - 6.1.55-1
kmod-usb-ohci - 6.1.55-1
kmod-usb-storage - 6.1.55-1
kmod-usb-xhci-hcd - 6.1.55-1
kmod-usb2 - 6.1.55-1
kmod-usb3 - 6.1.55-1
root@router1:~# df | grep sda
/dev/sda1 3940288 358664 3581624 9% /mnt/sda1
Tue Sep 26 22:19:40 2023 kern.info kernel: [ 5551.949983] usb 1-1: new high-speed USB device number 2 using xhci-hcd
Tue Sep 26 22:19:40 2023 kern.info kernel: [ 5552.160383] usb-storage 1-1:1.0: USB Mass Storage device detected
Tue Sep 26 22:19:40 2023 kern.info kernel: [ 5552.160786] scsi host1: usb-storage 1-1:1.0
Tue Sep 26 22:19:41 2023 kern.notice kernel: [ 5553.181666] scsi 1:0:0:0: Direct-Access Pretec UltimateGuard 2.00 PQ: 0 ANSI: 2
Tue Sep 26 22:19:41 2023 kern.notice kernel: [ 5553.182815] sd 1:0:0:0: [sda] 7897088 512-byte logical blocks: (4.04 GB/3.77 GiB)
Tue Sep 26 22:19:41 2023 kern.notice kernel: [ 5553.189232] sd 1:0:0:0: [sda] Write Protect is off
Tue Sep 26 22:19:41 2023 kern.debug kernel: [ 5553.196267] sd 1:0:0:0: [sda] Mode Sense: 00 00 00 00
Tue Sep 26 22:19:41 2023 kern.err kernel: [ 5553.196814] sd 1:0:0:0: [sda] Asking for cache data failed
Tue Sep 26 22:19:41 2023 kern.warn kernel: [ 5553.200953] sd 1:0:0:0: [sda] Assuming drive cache: write through
Tue Sep 26 22:19:41 2023 kern.info kernel: [ 5553.376642] sda: sda1
Tue Sep 26 22:19:41 2023 kern.notice kernel: [ 5553.376820] sd 1:0:0:0: [sda] Attached SCSI removable disk
root@router1:~# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 6.01
S: Manufacturer=Linux 6.1.55 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=4146 ProdID=ba65 Rev= 1.00
S: Manufacturer=PRETEC UG-04GB
S: Product=USB Mass Storage Device
S: SerialNumber=7063bc051cf6bd
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=16ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 6.01
S: Manufacturer=Linux 6.1.55 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 6.01
S: Manufacturer=Linux 6.1.55 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 6.01
S: Manufacturer=Linux 6.1.55 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
My modules are ver 5.10.xxx, opkg does not offer upgrades. Are you suggesting to upgrade to latest rc version?
egc
September 26, 2023, 7:35pm
5
Just use @hnymans build(s) for the R7800
I have built a nice build for Netgear R7800 that offers the basic router functionality plus some useful add-ons, but does not contain too much additional fancy stuff like multimedia.
The build is based on the bleeding-edge development main/master branch and the stable 23.05 branch. ("master" has been renamed as "main" in OpenWrt)
Current version:
Branch
Version (branch-revision-commithash-date)
main/master (development branch)
main-r24750-f1de1a090f-20240105 (DSA)
stable openwrt-23…
Thanks for providing the package list. The problem were these missing packages: kmod-phy-qcom-ipq806x-usb
, kmod-usb-dwc3-qcom
. Once added, lsusb
shows the devices.
My current list is as follows:
kmod-phy-qcom-ipq806x-usb - 5.10.176-1
kmod-usb-core - 5.10.176-1
kmod-usb-dwc3 - 5.10.176-1
kmod-usb-dwc3-qcom - 5.10.176-1
kmod-usb-ehci - 5.10.176-1
kmod-usb-ledtrig-usbport - 5.10.176-1
kmod-usb-ohci - 5.10.176-1
kmod-usb-printer - 5.10.176-1
kmod-usb-storage - 5.10.176-1
kmod-usb-storage-extras - 5.10.176-1
kmod-usb-xhci-hcd - 5.10.176-1
kmod-usb2 - 5.10.176-1
kmod-usb3 - 5.10.176-1
libusb-1.0-0 - 1.0.24-5
usbids - 0.359-1
usbutils - 014-1
1 Like
system
Closed
October 6, 2023, 7:53pm
7
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.