ZBT We1326 USB3 not detecting superspeed devices

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

Any clues to solve this?

So, the device is running on OpenWrt in high-speed, or not???

Yes, it is detected and performs as high-speed(usb 2.0), it should be detected and perform as Super-Speed(usb 3.0)

1 Like
  • What device?
  • What version are you running now?
  • Did you install the USB 3 drivers?

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

he probably meant the USB device...

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.)

This is the ouput of lsusb

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
1 Like

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.

2 Likes

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

Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.514279] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.520851] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.529921] hub 2-0:1.0: USB hub found
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.533779] hub 2-0:1.0: 1 port detected
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.579641] usbcore: registered new interface driver usb-storage
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.590472] usbcore: registered new interface driver uas
Fri Jun 10 19:37:14 2022 user.info kernel: [    5.596390] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Fri Jun 10 19:37:14 2022 user.info kernel: [    5.616503] init: - preinit -
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.641441] mmc0: new high speed SDHC card at address 0001
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.652137] mmcblk0: mmc0:0001 SD 14.9 GiB
Fri Jun 10 19:37:14 2022 kern.info kernel: [    5.658560]  mmcblk0: p1 p2
Fri Jun 10 19:37:14 2022 kern.info kernel: [    6.016075] usb 1-1: new high-speed USB device number 2 using xhci-mtk
Fri Jun 10 19:37:14 2022 kern.info kernel: [    6.180267] scsi host0: uas
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.185720] scsi 0:0:0:0: Direct-Access     WDC WD32 00LPVX-22V0TT0   8101 PQ: 0 ANSI: 6
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.197809] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.205390] sd 0:0:0:0: [sda] 4096-byte physical blocks
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.211087] sd 0:0:0:0: [sda] Write Protect is off
Fri Jun 10 19:37:14 2022 kern.debug kernel: [    6.215934] sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.216576] sd 0:0:0:0: [sda] Disabling FUA
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.220807] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Fri Jun 10 19:37:14 2022 kern.notice kernel: [    6.227919] random: procd: uninitialized urandom read (4 bytes read)
Fri Jun 10 19:37:14 2022 kern.warn kernel: [    6.230486] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)

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.

It appears that the WE1326 hardware is only wired for USB2. Does the port have a blue core and the extra USB3 contacts?

2 Likes

Definitely, no blue core, no extra contacts. Just a regular USB2 female hw.
Thx mk24

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