OpenWrt Forum Archive

Topic: USB3 hub plugged into USB2 port on Archer C7 not recognized

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

plugging in a USB3 hub to router directly results in: lsusb doesn't indicate the hub is present.
plugging in a USB2 hub results in: lsusb showing that USB2 hub
plugging the USB3 hub into the USB2 hub results in lsusb showing both the USB2 and USB3 hub

plugging storage devices into the ports:
plug a USB3 storage device directly into the router: lsusb shows the device, device is usable, etc...
plug a USB2 storage device directly into the router: it works too...
plug these devices into the USB3 hub, with that hub downstream of the USB2 hub, all works fine too...

So - there seems to be a problem recognizing the USB3 hub?  It's a "Pluggable" hub based on the VIA
chipset - there is only one of these attached to the router in the following lsusb output (it's downstream
of the USB2 hub as noted above).

openwrt:~# lsusb
Bus 001 Device 008: ID 2109:2813 VIA Labs, Inc.
Bus 001 Device 006: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 007: ID 2109:2813 VIA Labs, Inc.
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
openwrt:~#

Openwrt version is "OpenWrt Designated Driver 49933"
Packages (filter *usb*):
      Package name     Version
kmod-ledtrig-usbdev     4.4.14-1
kmod-usb-core             4.4.14-1
kmod-usb-ohci             4.4.14-1
kmod-usb-storage     4.4.14-1
kmod-usb-storage-extras 4.4.14-1
kmod-usb2                     4.4.14-1
libusb-1.0                     1.0.20-1
libusb-compat              0.1.4-2
usbutils                             007-4

The Archer C7 has USB2 ports.  The USB3 hub operates in other devices which only have USB2 ports.
The hub is self powered.

The devices 7 and 8 verbose lsusb output diff is:
diff /tmp/is7 /tmp/is8
1c1
< Bus 001 Device 007: ID 2109:2813 VIA Labs, Inc.
---
> Bus 001 Device 008: ID 2109:2813 VIA Labs, Inc.
62c62
<    Port 1: 0000.0503 highspeed power enable connect
---
>    Port 1: 0000.0100 power

and the verbose output for 7 is:

verbose_output:~# lsusb -s1:7 -v

Bus 001 Device 007: ID 2109:2813 VIA Labs, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x2109 VIA Labs, Inc.
  idProduct          0x2813
  bcdDevice           90.14
  iManufacturer           1 VIA Labs, Inc.
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x01e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           42
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {00000000-0000-0000-0000-000000000000}
Device Status:     0x0001
  Self Powered

Ok - so - no reply on this USB3 hub problem with OpenWRT on TPLINK ARCHER C7?

Can someone else check functionality on another OpenWRT device with USB2.0 ports with a USB3 hub attached and devices attached on the hub?

This is a functional problem if we can't solve it. Rush out and buy some old USB2.0 hubs :-)

Anyone have time to check if a USB3 hub works for them on bleeding edge on ?ANY? router - for storage?
Two posts back is the debug information for the case I'm observing where it does not work.

Restart your router with all USB-connected devices disabled. Plug in only the USB3 hub. Take "dmesg" and "logread" and "lsusb -v" outputs, and post them here.

Based on your 'lsusb' output, you seem to have quite a lot of devices connected. Perhaps the maximum physical power output of the ports has simply exceeded? Not because of the hub itself (since it's self-powered), but due to the total number of devices in general?

The discussion might have continued from here.