[OpenWrt-Devel] ralink target, ehci not working, all the devices get detected at ohci controller

hackru hackru at gmail.com
Fri May 15 10:54:37 EDT 2015


Hello,

I'm using fresh openwrt trunk, device is NEXX WT3020H, any device i'm trying to connect gets usb 1.1 speeds, what's wrong?
This thing confuses me most:
Fri May 15 14:48:18 2015 kern.info kernel: [  300.520000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Fri May 15 14:48:18 2015 kern.info kernel: [  300.940000] usb 2-1: new full-speed USB device number 2 using ohci-platform

Looks like some race condition between usb-controllers, maybe i'm wrong. I rebooted router 5 times, always the same result.


Some diagnostics info:

Fri May 15 14:48:18 2015 kern.info kernel: [  300.520000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Fri May 15 14:48:18 2015 kern.info kernel: [  300.940000] usb 2-1: new full-speed USB device number 2 using ohci-platform
Fri May 15 14:48:19 2015 kern.info kernel: [  301.450000] usb 2-1: not running at top speed; connect to a high speed hub
Fri May 15 14:48:19 2015 kern.debug kernel: [  301.470000] usb 2-1: no of_node; not parsing pinctrl DT
Fri May 15 14:48:19 2015 kern.debug kernel: [  301.470000] hub 2-1:1.0: no of_node; not parsing pinctrl DT
Fri May 15 14:48:19 2015 kern.info kernel: [  301.470000] hub 2-1:1.0: USB hub found
Fri May 15 14:48:19 2015 kern.info kernel: [  301.480000] hub 2-1:1.0: 4 ports detected
# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M

# lsusb -v -d 1a40:0101

Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1a40 Terminus Technology Inc.
  idProduct          0x0101 4-Port HUB
  bcdDevice            1.11
  iManufacturer           0
  iProduct                1 USB 2.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              100mA
    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             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list