Hello, I have a problem with my device which I believe is an OpenWRT based problem and I am looking for help in resolving this. I know the AC68U is not exactly a popular router on this forum because it uses broadcom wireless chips so the wifi is literally useless in OpenWRT. People tend to really dislike broadcom on this forum and rightfully so, but I am hoping everyone can look past the dislike for broadcom and help me get the USB issue fixed.
I currently use an Asus RT-AC68U all in 1 router as a wired only, main router. The AC68U has 2 USB ports. The first is a USB 3.0 port, the second is a USB 2.0 port. I noticed that if I plug in a usb 3.0 drive into the 3.0 port that OpenWRT is unable to "see" the drive. If i ssh into the router and issue a command "fdisk -l" (thats a lowercase L for you folks out there wondering) i do not see the drive show up. This problem exists across the 3 known good working USB 3.0 drives I tested.
However, if I plug in a USB 3.0 drive into the USB 2.0 port then OpenWRT is able to correctly "see" and mount it. Also, using the USB 2.0 port allows the USB 3.0 drive to correctly show up with the terminal command "Fdisk -l".
As a further annoyance, If i plug in an older USB 2.0 drive into either the USB 2.0 port OR the USB 3.0 port, the 2.0 drive IS correctly identified and mounted. What this means to me is that the USB 3.0 port works correctly in USB 2.0 mode, but not in USB 3.0 mode.
This also tells me that the 5V power supply for both ports are properly working so that I know whatever problem this is, it is not a voltage problem.
By the way I have a second AC68U and as a troubleshooting step I installed OpenWRT 21.02 on it and this problem is repeated exactly as the first one. So that tells me that it is probably not a hardware issue. As another troubleshooting step I also installed the factory Asus firmware on the router and it correctly identifies and mounts the USB 3.0 drive in USB 3.0 mode. This tells me that it's more then likely not a hardware issue.
I did find some usb related errors in the system log and I will include them now.
Wed Sep 22 15:41:35 2021 user.info kernel: [ 5.663860] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.747871] usbcore: registered new interface driver usbfs
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.753421] usbcore: registered new interface driver hub
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.758762] usbcore: registered new device driver usb
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.766607] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.773745] ehci-fsl: Freescale EHCI Host controller driver
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.779954] ehci-platform: EHCI generic platform driver
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.787145] ehci-platform 18021000.usb: EHCI Host Controller
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.792031] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.792900] ehci-platform 18021000.usb: new USB bus registered, assigned bus number 1
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.799690] ohci-platform: OHCI generic platform driver
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.806929] ehci-platform 18021000.usb: irq 37, io mem 0x18021000
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.812194] ohci-platform 18022000.usb: Generic Platform OHCI controller
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.824804] ohci-platform 18022000.usb: new USB bus registered, assigned bus number 2
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.832716] ohci-platform 18022000.usb: irq 37, io mem 0x18022000
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.842632] ehci-platform 18021000.usb: USB 2.0 started, EHCI 1.00
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.849258] hub 1-0:1.0: USB hub found
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.853180] hub 1-0:1.0: 2 ports detected
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.904641] hub 2-0:1.0: USB hub found
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.908463] hub 2-0:1.0: 2 ports detected
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.980134] xhci-hcd 18023000.usb: xHCI Host Controller
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.985360] xhci-hcd 18023000.usb: new USB bus registered, assigned bus number 3
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 5.992967] xhci-hcd 18023000.usb: hcc params 0x02501164 hci version 0x100 quirks 0x0000001000010010
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.002116] xhci-hcd 18023000.usb: irq 38, io mem 0x18023000
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.008407] hub 3-0:1.0: USB hub found
Wed Sep 22 15:41:35 2021 kern.err kernel: [ 6.012286] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.019522] xhci-hcd 18023000.usb: xHCI Host Controller
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.024754] xhci-hcd 18023000.usb: new USB bus registered, assigned bus number 4
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.032132] xhci-hcd 18023000.usb: Host supports USB 3.0 SuperSpeed
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.050168] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.058626] hub 4-0:1.0: USB hub found
Wed Sep 22 15:41:35 2021 kern.info kernel: [ 6.062431] hub 4-0:1.0: 1 port detected
Wed Sep 22 15:41:35 2021 user.info kernel: [ 6.068081] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Wed Sep 22 15:41:48 2021 daemon.info samba4-server: io_uring module found, enabling VFS io_uring. (also needs Kernel 5.4+ Support)
Wed Sep 22 15:41:49 2021 daemon.info samba4-server: io_uring module found, enabling VFS io_uring. (also needs Kernel 5.4+ Support)
Wed Sep 22 15:41:49 2021 daemon.info samba4-server: io_uring module found, enabling VFS io_uring. (also needs Kernel 5.4+ Support)
Wed Sep 22 15:41:49 2021 daemon.info procd: - init complete -
Wed Sep 22 15:41:51 2021 daemon.err smbd[2309]: [2021/09/22 15:41:51.133787, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
Wed Sep 22 15:41:51 2021 daemon.err smbd[2309]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
Wed Sep 22 15:52:02 2021 kern.info kernel: [ 52.920167] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Wed Sep 22 15:52:02 2021 kern.err kernel: [ 52.959830] xhci-hcd 18023000.usb: ERROR: unexpected command completion code 0x11.
Wed Sep 22 15:52:02 2021 kern.warn kernel: [ 53.000284] uas: probe of 4-1:1.0 failed with error -12
Wed Sep 22 15:52:18 2021 daemon.err uhttpd[1591]: luci: accepted login on / for root from 192.168.120.22
Wed Sep 22 15:54:49 2021 kern.info kernel: [ 219.570231] usb 4-1: USB disconnect, device number 2
Wed Sep 22 15:55:13 2021 kern.info kernel: [ 244.030222] usb 4-1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
Wed Sep 22 15:55:13 2021 kern.err kernel: [ 244.069416] xhci-hcd 18023000.usb: ERROR: unexpected command completion code 0x11.
Wed Sep 22 15:55:13 2021 kern.warn kernel: [ 244.110386] uas: probe of 4-1:1.0 failed with error -12
And here is the output of cat /proc/cpuinfo...
root@RT-AC68U-FA00:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 1200.00
Features : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
processor : 1
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 1200.00
Features : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : BCM5301X
Revision : 0000
Serial : 0000000000000000
root@RT-AC68U-FA00:~#
Here are some helpful links about the AC68U's hardware for your reading pleasure.
deviwiki.com/wiki/ASUS_RT-AC68U
I really hope that this can be resolved as I feel my samba speed is currently crippled to USB 2.0 speeds and I would LOVE to get this fixed. If anyone needs more info, more syslogs or kernel logs or anything else please ask!