OpenWrt 21.02 & Asus AC68U unable to see usb 3.0 drives

Thank you for the reply, in response to your comments, yes your comment about disabling UAS I went and uninstalled one of the packages called kmod-usb-storage-extras which says it enables support for extra USB related things. After that I had to install the package kmod-usb-storage-uas which allowed my 2.0TB UAS drive to be correctly identified on a 2.0 port but not the 3.0 port. I did try this drive on other computers and laptops and it works fine! I did not try 19.07 as I am unable to make that big of a config change at this time, and I do have a 3.0 hub on order from amazon.

i also found this bug which was IMO incorrectly marked as closed. https://bugs.openwrt.org/index.php?do=details&task_id=1862

I do have a USB 3.0 hub on order and will be here in a few days for more testing. As of now I tried the solution that [Paul Fertser] recommended at the bottom that thread and it did not work for me :confused:

So to rehash things in an easier to understand way, I got 2 out of 3 of my external drives working correctly on my 3.0 port! I only have 1 drive left that does not work on the USB 3.0 port, a drive named:

Bus 004 Device 002: ID 174c:55aa RSH-339 ASM1153E <---- That little bugger vexes me! But I must point out again that it works great on laptops and other things. It even works great on the 3.0 port of another AC68U I have that runs Fresh tomato firmware. But it doesn't work on OpenWRT with my USB 3.0 port.

At this point I guess I should submit a bug as a web search does show my vid pid has issues with openwrt.

Net update!: As far as I can tell when i plug in the drive to the 3.0 port OpenWRt is not assigning it a storage driver! look at the output of lsusb -t:

root@AC68U-43B8:~# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=, Driver=, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/0p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/2p, 480M

Where it says "Class=" It should say "Class=Mass Storage, Driver=usb-storage" but it does not show any driver being loaded.! This is a big breakthrough! But sadly I do not know how to manually spec a driver for it. Does anyone here?

Look at the last device, it shows no driver is being loaded!




root@AC68U-43B8:~# cat /sys/kernel/debug/usb/devices



T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.04
S:  Manufacturer=Linux 5.4.143 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=18021000.usb
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=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 5.04
S:  Manufacturer=Linux 5.4.143 ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=18022000.usb
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=   2 Ivl=255ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 0
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= 5.04
S:  Manufacturer=Linux 5.4.143 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=18023000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=(none)
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= 5.04
S:  Manufacturer=Linux 5.4.143 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=18023000.usb
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=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=174c ProdID=55aa Rev= 1.00
S:  Manufacturer=RSH-339
S:  Product=ASM1153E
S:  SerialNumber=00000000001D
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:  If#= 0 Alt= 1 #EPs= 4 Cls=08(stor.) Sub=06 Prot=62 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

1 Like