Rear USB only gives USB 2.0

Hi,

I just received a Turris Omnia and what a great little device it is! I have encountered only one problem. It doesn’t matter whether I try with a USB 3.0 stick or a Samsung SSD USB drive - if I plug them in in the rear USB port, I only get USB 2.0. If I plug them in in the front port, it gives USB 3.0.

Here the output with a USB 3.0 stick plugged in in the rear port:

 lsusb -tv
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

I am running OS 5.1.4 hbs. The device is a RTROM01-2G. Please let me know if I can provide you with more information if needed.

Thanks for your help!
Martin

Some more output:

# 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= 4.14
S:  Manufacturer=Linux 4.14.206 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=f1058000.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=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= 4.14
S:  Manufacturer=Linux 4.14.206 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=f10f0000.usb3
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=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= 4.14
S:  Manufacturer=Linux 4.14.206 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=f10f0000.usb3
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=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= 4.14
S:  Manufacturer=Linux 4.14.206 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=f10f8000.usb3
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=480  MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0781 ProdID=5581 Rev= 1.00
S:  Manufacturer=SanDisk
S:  Product=Ultra
S:  SerialNumber=4C531001411215122135
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=224mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=05 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= 4.14
S:  Manufacturer=Linux 4.14.206 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=f10f8000.usb3
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

Some users reported interference between the rear USB and wifi/antennas. Can you try with wifi on the Omnia turned off (meaning you’d connect via a wire to it)?

Hi peci1, thanks for the hint. Actually, I believe I have wifi already disabled as I use the Turris exclusively as an ethernet router.

root@turris:/etc# uci show wireless.radio0.disabled
wireless.radio0.disabled='1'
root@turris:/etc# uci show wireless.radio1.disabled
wireless.radio1.disabled='1'

I should add that my device is plain vanilla, meaning I haven’t installed any custom packages or kernel mods.

Okay, then the radios should be off. But I’m not sure if this software off means also hardware off. If you wouldn’t mind opening the router, you can try to completely remove the cards. Just be careful when disconnecting the antenna connectors, they’re small and excess force can damage them. Or you can just unplug the cards, leave them connected to the antennas, and isolate them from the rest of the router (a piece of cardboard, insulating tape or whatever non-conductive). This would definitely rule out the interference from wifi cards.

There may also be other sources of interference. Did you try the router on a different place?

I assume you’ve checked the USB connector physically if there aren’t some particles or other stuff inside, or evidently broken wires?

Thanks for the hints.

External interference I can probably rule out - I unboxed the router at my office where I noticed the USB speed to be limited to 2.0 for the rear port (tested with a cheap Sandisk Cruzer USB 3.0 stick and with a Samsung T7 external SSD). I then moved the router to the basement where I connected it directly to a cable modem in a separate rack.Same issue with the rear USB port.

I already removed the antennas but as you said only disabled wifi in software. Will open the router next and disconnect the wifi cards. Will also double check the USB ports if there is any damage or visible dirt.

If it’s a brand new Omnia, just be sure to not void the warranty. There was some discussion about what exactly breaks it, and I think the conclusion is that removing/exchanging mPCIe devices should not break it. But be careful to not visibly damage other parts :wink:

1 Like

I have an original Indiegogo Turris Omnia RTROM01.
The rear USB port is on Bus 05, and it recognized as USB 3.0.

root@turris:~# lsusb -tv
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Not sure the USB controller can be reconfigured.

1 Like

Bus 05 shows USB Ver= 3.0 for me too. Okay, that is strange that it wouldn’t also be the bus for my rear USB port. :thinking:

Hi, for me it’s ok, please below a read benchmark in usb3 (not so bad …)

lsusb -tv

/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M
root@turris:/mnt# hdparm -Ttv /dev/sdb3

/dev/sdb3:
multcount = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 81345/255/63, sectors = 1306820608, start = 256002048
Timing cached reads: 1242 MB in 2.00 seconds = 620.70 MB/sec
Timing buffered disk reads: 920 MB in 3.00 seconds = 306.26 MB/sec
root@turris:/mnt# hdparm -Tv /dev/sdb3

/dev/sdb3:
multcount = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 81345/255/63, sectors = 1306820608, start = 256002048
Timing cached reads: 1248 MB in 2.00 seconds = 624.09 MB/sec

Thanks. So the issue with my device is, for some reason, the rear port is associated with Bus 04.Port 1, which advertises USB 2.0 only, whereas for you guys it’s properly functioning on Bus 05.Port 1. Very curious. Not sure if it is software- or hardware related; I refrained from opening the Turris just yet, at least for as long as I don’t absolutely need to use the rear port.

Hi mmadson
As you I don’t use the wifi included in the Turris Omnia, have you try to remove the two cards inside ?
That should be a good idea for power and heat efficiency ?

1 Like

Can you post the part of dmesg when you’re plugging in the devices? Maybe it’d show something (but I don’t give it much hope).

Thanks for your help. Here is the output…

stick inserted in rear port:

[163332.438557] usb 4-1: new high-speed USB device number 3 using xhci-hcd
[163332.619694] usb-storage 4-1:1.0: USB Mass Storage device detected
[163332.626213] scsi host3: usb-storage 4-1:1.0
[163333.679252] scsi 3:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[163333.688273] sd 3:0:0:0: [sdb] 60062500 512-byte logical blocks: (30.8 GB/28.6 GiB)
[163333.697492] sd 3:0:0:0: [sdb] Write Protect is off
[163333.702498] sd 3:0:0:0: [sdb] Mode Sense: 43 00 00 00
[163333.702776] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[163333.719550]  sdb: sdb1
[163333.723572] sd 3:0:0:0: [sdb] Attached SCSI removable disk

root@turris:~# lsusb -tv
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

and this is with the front port:

[163522.906498] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[163522.937521] usb-storage 3-1:1.0: USB Mass Storage device detected
[163522.943879] scsi host3: usb-storage 3-1:1.0
[163523.987131] scsi 3:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[163523.995973] sd 3:0:0:0: [sdb] 60062500 512-byte logical blocks: (30.8 GB/28.6 GiB)
[163524.004973] sd 3:0:0:0: [sdb] Write Protect is off
[163524.009873] sd 3:0:0:0: [sdb] Mode Sense: 43 00 00 00
[163524.010123] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[163524.025269]  sdb: sdb1
[163524.029041] sd 3:0:0:0: [sdb] Attached SCSI removable disk

root@turris:~# lsusb -tv
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Okay, this didn’t help much…

It is possible that Bus 05 and Bus 04 are both wired to the rear USB port. During detection the slower protocol is selected. USB3 has 5 extra pins, if one of them is not making contact, then the port will work as USB2.0.

@mmadson have you try to install this package kmod-usb3 ?
This is not installed by default

It wasn’t installed, and I installed it after you had suggested it. Alas, it didn’t make a difference, same issue.

I will open the router in the next days and also disassemble the wifi cards which I don’t need.

is your disk case is UASP aka USB Attached SCSI compatible ? because actually I’m facing to a problem with new usb3.0 UAS and USB-Storage driver.
The same device plug on my linux desktop is recognized as a UAS device and not in the Turris.