Hi there
I have tried 21.02 and 22.03 and both show High speed device when connecting a SuperSpeed HD enclosure (verified on an ubuntu installation)
This is the message on Ubuntu:
Jun 9 16:24:28 crm3 kernel: [ 770.522843] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
And this one on OW:
Jun 9 13:37:18 ciudreal-mail21 kernel: [65880.571418] usb 1-1: new high-speed USB device number 9 using xhci-mtk
Jun 9 13:37:18 ciudreal-mail21 kernel: [65880.768567] scsi host0: uas
Jun 9 13:37:18 ciudreal-mail21 kernel: [65880.774418] scsi 0:0:0:0: Direct-Access TO Exter nal USB 3.0 0104 PQ: 0 ANSI: 6
The performance of the drive is about 25MB read and 20 write so it is running as high-speed
Device: zbt-we1326
Openwrt version 21.02 third service release
I have these drivers installed:
kmod-usb-core - 5.4.194-1
kmod-usb-storage - 5.4.194-1
kmod-usb-storage-extras - 5.4.194-1
kmod-usb-storage-uas - 5.4.194-1
kmod-usb3 - 5.4.194-1
Yes, I didn't see the device ID anywhere. Perhaps I've mistaken.
I beleve a lsusb on same Ubuntu device would show it. Otherwise, we can't be clear what we're discussing, speed, etc. So I moved on to ensuring the drivers were installed.
But don't think i see the echi....etc. (It's USB3.)
root@ciudreal-mail21:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.194 xhci-hcd xHCI Host Controller
Bus 001 Device 013: ID 152d:0578 JMicron USB3.0 External HDD
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.194 xhci-hcd xHCI Host Controller
Use the searchengine of your choice to find information about this id (others have problems with this id too).
Also search for UAS and quirks. Try out the quirks and report back.
This is my output of lsusb -t
I see disk is connected at 480M (high speed)
root@ciudreal-mail21:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
|__ Port 1: Dev 14, If 0, Class=, Driver=uas, 480M
after trying this workaround
After: **usb-storage**, I added the line: **quirks=**[**ID of HDD**]**:u**, restart the routeur.
root@ciudreal-mail21:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=uas, 480M
Still connected to the 480M port and shows highspeed instead of superspeed
Hi there Tmomas,
I research about UAS and quirks and came to the conclusion that has nothing to do with this issue.
I came to that conclusion because as the tweaks suggested for that issues did not make any difference.(the quirks tweaks are mainly a way to disable UAS features for a certain usb enclosure, so the driver makes use of the usb-storage module instead osf the UAS) Though it worked solving another kind of issues I had on some Linux distros with that same enclosure, in openwrt did not make any difference.
Just in case I decided to compile without UAS modules, just use the USB storage-drivers. Same result, every USB3 disks I attach is detected as HIGH Speed (USB 2 speed) instead of SuperSpeed.
I tried 21.02 and 22.03 with same result.
I tried 3 different USB 3 enclosures that work at Superspeed (3Gb/s) on other Linux distros, so I am pretty sure that the problem is with openwrt.
Any help will be appreciated.