You are not logged in.

#1 2019-08-20 08:12:57

kingkingmax
Member
Registered: 2019-02-18
Posts: 9

[SOLVED]ASM1142 is recognized as USB 3.0

My PC is built on asus Z170i. It has two USB 3.1 Gen2/10G ports.

Output of lsusb

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 8: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 8: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 9: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 9: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 13: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 13: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M

Bus 04 is the usb 3.1 port.
Here is from dmseg

[    1.554071] xhci_hcd 0000:06:00.0: xHCI Host Controller
[    1.554073] xhci_hcd 0000:06:00.0: new USB bus registered, assigned bus number 4
[    1.554074] xhci_hcd 0000:06:00.0: Host supports USB 3.0 SuperSpeed
[    1.554093] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.554104] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    1.554104] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.554105] usb usb4: Product: xHCI Host Controller
[    1.554106] usb usb4: Manufacturer: Linux 5.2.9-arch1-1-ARCH xhci-hcd
[    1.554106] usb usb4: SerialNumber: 0000:06:00.0
[    1.554258] hub 4-0:1.0: USB hub found
[    1.554263] hub 4-0:1.0: 2 ports detected

And here is from lspci -v

06:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller (prog-if 30 [XHCI])
    Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Memory at f7400000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci

Last is the output of lsusb -vv -s 4:1

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            5.02
  iManufacturer           3 Linux 5.2.9-arch1-1-ARCH xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:06:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    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
      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     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002b
  bNumDeviceCaps          2
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           0 micro seconds
    bU2DevExitLat           0 micro seconds
  SuperSpeedPlus USB Device Capability:
    bLength                28
    bDescriptorType        16
    bDevCapabilityType     10
    bmAttributes         0x00000023
      Sublink Speed Attribute count 3
      Sublink Speed ID count 1
    wFunctionalitySupport   0x0001
    bmSublinkSpeedAttr[0]   0x00050034
      Speed Attribute ID: 4 5Gb/s Symmetric RX SuperSpeed
    bmSublinkSpeedAttr[1]   0x000500b4
      Speed Attribute ID: 4 5Gb/s Symmetric TX SuperSpeed
    bmSublinkSpeedAttr[2]   0x000a4035
      Speed Attribute ID: 5 10Gb/s Symmetric RX SuperSpeedPlus
    bmSublinkSpeedAttr[3]   0x000a40b5
      Speed Attribute ID: 5 10Gb/s Symmetric TX SuperSpeedPlus
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

My question here is how to make this port work in 10Gb/s mode?

Last edited by kingkingmax (2019-09-05 02:58:04)

Offline

#2 2019-08-20 08:24:41

kingkingmax
Member
Registered: 2019-02-18
Posts: 9

Re: [SOLVED]ASM1142 is recognized as USB 3.0

Adding output of lshw

*-pci:5
             description: PCI bridge
             product: 100 Series/C230 Series Chipset Family PCI Express Root Port #11
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@0000:00:1d.2
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:125 memory:f7400000-f74fffff
           *-usb
                description: USB controller
                product: ASM1142 USB 3.1 Host Controller
                vendor: ASMedia Technology Inc.
                physical id: 0
                bus info: pci@0000:06:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: msi msix pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:18 memory:f7400000-f7407fff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 5.2.9-arch1-1-ARCH xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 5.02
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 5.2.9-arch1-1-ARCH xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 5.02
                   capabilities: usb-3.00
                   configuration: driver=hub slots=2 speed=5000Mbit/s

Offline

#3 2019-08-20 16:01:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]ASM1142 is recognized as USB 3.0

Please use code, not quote, tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-09-03 06:44:46

kingkingmax
Member
Registered: 2019-02-18
Posts: 9

Re: [SOLVED]ASM1142 is recognized as USB 3.0

Please help to close this question.
I tried to downgrade kernel back to 5.0. Output of lsusb is 10000M, which is expected. This could be a bug or defect and may be fixed in future.

Last edited by kingkingmax (2019-09-03 07:35:49)

Offline

Board footer

Powered by FluxBB