• 0

USB3 front ports not found


Question

I have a Thecus N7510 running very stable for about two years now. 

There's one thing bugging me and that is that the two USB3 ports on the front are not working.

A fellow Thecus owner has a slightly different model (5 bays instead of 7 and less USB ports). His USB3 port on the front is working fine on his rig.

The controller is the same.

 

I generated dmesg > dmesg.txt -- I find:

- up to ata10 SATA entries, 

- ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

- ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

- xhci_hcd 0000:03:00.0: xHCI Host Controller

[   11.982054] ACPI: bus type USB registered
[   11.982648] usbcore: registered new interface driver usbfs
[   11.982958] usbcore: registered new interface driver hub
[   11.985305] usbcore: registered new interface driver ethub
[   11.991474] usbcore: registered new device driver usb
[   12.044255] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.064521] ehci-pci: EHCI PCI platform driver
[   12.064717] ehci-pci 0000:00:1a.7: setting latency timer to 64
[   12.064737] ehci-pci 0000:00:1a.7: EHCI Host Controller
[   12.064750] ehci-pci 0000:00:1a.7: new USB bus registered, assigned bus number 1
[   12.064774] ehci-pci 0000:00:1a.7: debug port 1
[   12.068711] ehci-pci 0000:00:1a.7: cache line size of 64 is not supported
[   12.068754] ehci-pci 0000:00:1a.7: irq 18, io mem 0xc0604c00
[   12.073979] ehci-pci 0000:00:1a.7: USB 2.0 started, EHCI 1.00
[   12.074639] hub 1-0:1.0: USB hub found
[   12.074658] hub 1-0:1.0: 2 ports detected
[   12.075091] ehci-pci 0000:00:1d.7: setting latency timer to 64
[   12.075119] ehci-pci 0000:00:1d.7: EHCI Host Controller
[   12.075138] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 2
[   12.075172] ehci-pci 0000:00:1d.7: debug port 1
[   12.079124] ehci-pci 0000:00:1d.7: cache line size of 64 is not supported
[   12.079190] ehci-pci 0000:00:1d.7: irq 23, io mem 0xc0604800
[   12.085009] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[   12.086184] hub 2-0:1.0: USB hub found
[   12.086215] hub 2-0:1.0: 6 ports detected
[   12.132375] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.155401] uhci_hcd: USB Universal Host Controller Interface driver
[   12.155654] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[   12.155666] uhci_hcd 0000:00:1a.0: UHCI Host Controller
[   12.155691] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
[   12.155751] uhci_hcd 0000:00:1a.0: irq 16, io base 0x000060a0
[   12.156752] hub 3-0:1.0: USB hub found
[   12.156775] hub 3-0:1.0: 2 ports detected
[   12.157182] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[   12.157193] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[   12.157213] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4
[   12.157274] uhci_hcd 0000:00:1d.0: irq 23, io base 0x00006080
[   12.160612] hub 4-0:1.0: USB hub found
[   12.160651] hub 4-0:1.0: 2 ports detected
[   12.161140] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[   12.161153] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[   12.161174] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5
[   12.161238] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00006060
[   12.166040] hub 5-0:1.0: USB hub found
[   12.166072] hub 5-0:1.0: 2 ports detected
[   12.166488] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[   12.166501] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[   12.166527] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6
[   12.166593] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00006040
[   12.175048] hub 6-0:1.0: USB hub found
[   12.175073] hub 6-0:1.0: 2 ports detected
[   12.252953] xhci_hcd 0000:03:00.0: xHCI Host Controller
[   12.252976] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 7
[   12.258420] xhci_hcd 0000:03:00.0: irq 47 for MSI/MSI-X
[   12.258437] xhci_hcd 0000:03:00.0: irq 48 for MSI/MSI-X
[   12.258449] xhci_hcd 0000:03:00.0: irq 49 for MSI/MSI-X
[   12.258461] xhci_hcd 0000:03:00.0: irq 50 for MSI/MSI-X
[   12.258475] xhci_hcd 0000:03:00.0: irq 51 for MSI/MSI-X
[   12.259265] xHCI xhci_add_endpoint called for root hub
[   12.259274] xHCI xhci_check_bandwidth called for root hub
[   12.259720] hub 7-0:1.0: USB hub found
[   12.259750] hub 7-0:1.0: 2 ports detected
[   12.259970] xhci_hcd 0000:03:00.0: xHCI Host Controller
[   12.259987] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 8
[   12.262403] xHCI xhci_add_endpoint called for root hub
[   12.262412] xHCI xhci_check_bandwidth called for root hub
[   12.262911] hub 8-0:1.0: USB hub found
[   12.262941] hub 8-0:1.0: 2 ports detected
[   12.353584] usbcore: registered new interface driver usb-storage
[   12.410288] VMware PVSCSI driver - version 1.0.2.0-k
[   12.410889] usb 2-1: new high-speed USB device number 2 using ehci-pci
[   12.431553] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
[   12.452532] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
[   12.517922] Fusion MPT base driver 3.04.20
[   12.517928] Copyright (c) 1999-2008 LSI Corporation
[   12.555451] usb-storage 2-1:1.0: USB Mass Storage device detected
[   12.555621] scsi10 : usb-storage 2-1:1.0
[   12.555635] Fusion MPT SPI Host driver 3.04.20
[   12.595793] Fusion MPT SAS Host driver 3.04.20
[   12.617425] Fusion MPT misc device (ioctl) driver 3.04.20
[   12.617736] mptctl: Registered with Fusion MPT base driver
[   12.617745] mptctl: /dev/mptctl @ (major,minor=10,220)

So I edited my /etc/synoinfo.conf and /etc.default/synoinfo.conf

esataportcfg="0xff00000"

internalportcfg="0xfff"

usbportcfg="0xff000"

 

Unfortunately no USB drives are detected when inserted in either of the front USB ports.

At the end of the dmesg.txt I read:

[   18.561705] xhci_hcd 0000:03:00.0: Timeout while waiting for a slot
[   18.563226] hub 7-0:1.0: couldn't allocate port 2 usb_device
[   24.562167] xhci_hcd 0000:03:00.0: Timeout while waiting for a slot
[   24.562180] hub 8-0:1.0: couldn't allocate port 1 usb_device

 

Funny thing is that I can boot DSM from the front USB! 

 

I'm definitely in for some guru guidance...

 

Thanks,

Eddie

 

 

Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0
55 minutes ago, Bogey said:

esataportcfg="0xff00000"

internalportcfg="0xfff"

usbportcfg="0xff000"

 

maybe try

esataportcfg="0x0"

internalportcfg="0xfff"

usbportcfg="0xffff000"

 

Link to post
Share on other sites
  • 0

Thank you IG-88.

That did change something, in dmesg.txt this is now gone:

[   18.561705] xhci_hcd 0000:03:00.0: Timeout while waiting for a slot
[   18.563226] hub 7-0:1.0: couldn't allocate port 2 usb_device
[   24.562167] xhci_hcd 0000:03:00.0: Timeout while waiting for a slot
[   24.562180] hub 8-0:1.0: couldn't allocate port 1 usb_device

And this is now there:

[   80.436756] usbcore: registered new interface driver usblp
[   80.640420] usbcore: registered new interface driver usbhid
[   80.640427] usbhid: USB HID core driver

But, no USB drive found when inserted in front (yet).

Link to post
Share on other sites
  • 0

is the front plugged usb devices shown with "lsusb" ?

 

also if couting the usb port found messages there are 20 ports found so the 4 times "f" (akak4 ports) is not enough

so make it two more "f" in the usbportcfg

esataportcfg="0x0"

internalportcfg="0xfff"

usbportcfg="0xffffff000"

Link to post
Share on other sites
  • 0

with dmesg only 8 ports are found. also lsusb shows 8. the number of "f'" should be adequate, right?

 

lsusb with all ports filled shows:

|__usb1          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.7) hub
|__usb2          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.7) hub
  |__2-1         f400:f400:0110 00  2.00  480MBit/s 200mA 1IF  (Imation Nano 0791132C023A)
  |__2-3         058f:6387:0107 00  2.00  480MBit/s 100mA 1IF  (Generic Mass Storage 9E122AC4)
  |__2-4         0781:5151:0020 00  2.00  480MBit/s 200mA 1IF  (SanDisk Corporation Cruzer Micro SNDK4045250566506303)
|__usb3          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1a.0) hub
|__usb4          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.0) hub
  |__4-2         0922:0020:0112 00  2.00   12MBit/s 2mA 1IF  (DYMO DYMO LabelWriter 450 15061208355398)
|__usb5          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.1) hub
|__usb6          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.2) hub
|__usb7          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (xhci_hcd 0000:03:00.0) hub
|__usb8          1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (xhci_hcd 0000:03:00.0) hub

These 4 are all on the back. The two front ports don't show as having found a device (though there are USB flash drive in it).

Device 2-1 is my boot device.

 

View from the back is:

        | usb 2-4 | usb 2-3 |
usb 4-2 | usb 2-1 | eSata

 

Link to post
Share on other sites
  • 0

did you try with the additinal two "f", cant hurt to up the possible usb port number, ports not in that "bitmask" are not used in dsm

i counted the "x ports detected" in your dmsg and thats more, as for sata, the system sometimes sees more then whats soldered to the systemboard

 

Link to post
Share on other sites
  • 0
3 hours ago, IG-88 said:

did you try with the additinal two "f", cant hurt to up the possible usb port number, ports not in that "bitmask" are not used in dsm

i counted the "x ports detected" in your dmsg and thats more, as for sata, the system sometimes sees more then whats soldered to the systemboard

 

Yep, I upped it to usbportcfg="0xffffff000" -- no luck

 

I also tinkered with BIOS settings, but no difference there either. 

In BIOS I also enabled ALL USB ports available: 6 UHCI and 2 EHCI. But from what I understand that's just two addresses for the same physical port, just an updated version (USB 1.1 and USB 2), correct?

There's in the BIOS nothing that speaks of XHCI :(

 

With all USB ports enabled in BIOS, lsusb shows:

|__usb1          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.7) hub
|__usb2          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.7) hub
  |__2-1         f400:f400:0110 00  2.00  480MBit/s 200mA 1IF  (Imation Nano 0791132C023A)
|__usb3          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1a.0) hub
|__usb4          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1a.1) hub
|__usb5          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1a.2) hub
|__usb6          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.0) hub
  |__6-2         0922:0020:0112 00  2.00   12MBit/s 2mA 1IF  (DYMO DYMO LabelWriter 450 15061208355398)
|__usb7          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.1) hub
|__usb8          1d6b:0001:0310 09  1.10   12MBit/s 0mA 1IF  (uhci_hcd 0000:00:1d.2) hub
|__usb9          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (xhci_hcd 0000:03:00.0) hub
|__usb10         1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (xhci_hcd 0000:03:00.0) hub

they're obviously there, those last two xhci is them, right?

 

I've attached a new generated dmesg output too, I hope you see something that could help solve this?

 

dmesg.txt

Link to post
Share on other sites
  • 0

No. The Bios is pretty basic. 
I’ve been looking for an update, but didn’t find any. Nor an unlock of hidden features.

It’s Phoenix securecore tiano 2.2

 

I also tried disabling all USB settings in BIos. I can bootfrom the front ports.
lsusb shows up empty except for the last two xhci ports, but with no devices.

Link to post
Share on other sites
  • 0

the usb3 chip is a NEC D720200AF, i do have a pcie card with a nec chip and it needed a firmware update to work properly, maybe that's your problem here, might be hard to get a update for a integrated component when there is not bios update containing it

https://xpenology.com/forum/topic/13022-n40l-usb3-pci-e-card-not-functioning-in-dsm-62/

 

the board of your systems has something that looks like pcie 1x slot, maybe try to add a newer usb 3.0 card?

https://www.smallnetbuilder.com/nas/nas-reviews/31962-thecus-n7510-nas-server-reviewed?start=1

Link to post
Share on other sites
  • 0

So a probable reason why the other Thecus Xpenology user does have a working USB3 port, is that it has a newer chip or firmware?

That’s a pity.

 

Yes, you’re right, there’s a pci 1x expansion slot. Is there a particular that you can recommend, one that offers the highest chance to work?

(I wouldn’t use the phrase “guaranteed to work” - lol)

Link to post
Share on other sites
  • 0
11 hours ago, Bogey said:

So a probable reason why the other Thecus Xpenology user does have a working USB3 port, is that it has a newer chip or firmware?

its a maybe and might also depend on the os or linux kernel, it might work if you install something like open media vault

 

i can't recommend any card, usb3 is onboard for pretty long now and beside my ancient nec/renesas card i only bought a VIA/VLI based card (also years ago) and i would avoid these cards but i guess there are different chipsets now like Fresco Logic or ASM (but renesas seems to be still offered so the old via chips might be offered too)

 

Link to post
Share on other sites
  • 0

Yes, the USB3 ports work in Open Media Vault work I played with OMV before I moved to DSM.

I cannot recall it exactly but I believe that it the USB3 ports worked when I first started with DSM, but that was either with version 6.1 or a very early 6.2

 

Inserting an USB3 card will be a hit/miss procedure. One might say old chips will be supported and new ones not, but as we've seen in my case: older chipsets don't work necessary either :)

Nevertheless I appreciate your help IG-88. A pity we couldn't get it to work.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.