Skip to content

Update usbutils from 007 to 010 #899

Merged
merged 5 commits into from
Sep 4, 2018
Merged

Commits on Sep 4, 2018

  1. Configuration menu
    Copy the full SHA
    edc2ff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc59ab0 View commit details
    Browse the repository at this point in the history
  3. usbutils: Use https://cdn.kernel.org/pub/linux/utils/usb/usbutils/

    https://ftp.kernel.org moved permanently.
    
    Use cdn.kernel.org instead, which also uses HTTP/2.
    
        $ curl -I https://cdn.kernel.org/pub/linux/utils/usb/usbutils/
        HTTP/2 200
        server: nginx
        content-type: text/html
        content-encoding: gzip
        x-frame-options: DENY
        x-content-type-options: nosniff
        accept-ranges: bytes
        date: Tue, 04 Sep 2018 13:55:59 GMT
        via: 1.1 varnish
        age: 155
        x-served-by: cache-hhn1529-HHN
        x-cache: HIT
        x-cache-hits: 1
        x-timer: S1536069359.083318,VS0,VE0
        content-length: 646
    pmenzel committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    88c71a9 View commit details
    Browse the repository at this point in the history
  4. usbutils: Update version from 007 to 010

    This version is able to output information about SuperSpeed+ [1].
    
    Tested on *hypnotoad*.
    
    ```
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               3.10
      bDeviceClass            9 Hub
      bDeviceSubClass         0
      bDeviceProtocol         3
      bMaxPacketSize0         9
      idVendor           0x1d6b Linux Foundation
      idProduct          0x0003 3.0 root hub
      bcdDevice            4.14
      iManufacturer           3 Linux 4.14.67.mx64.217 xhci-hcd
      iProduct                2 xHCI Host Controller
      iSerial                 1 0000:02: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
    Hub Descriptor:
      bLength              12
      bDescriptorType      42
      nNbrPorts             4
      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 lowspeed L1
       Port 2: 0000.02a0 lowspeed L1
       Port 3: 0000.02a0 lowspeed L1
       Port 4: 0000.02a0 lowspeed L1
    Binary Object Store Descriptor:
      bLength                 5
      bDescriptorType        15
      wTotalLength       0x002b
      bNumDeviceCaps          2
      SuperSpeed USB Device Capability:
        bLength                10
        bDescriptorType        16
        bDevCapabilityType      3
        bmAttributes         0x00
        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
    Device Status:     0x0001
      Self Powered
    ```
    
    [1]: https://www.spinics.net/lists/linux-usb/msg141185.html
    pmenzel committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    ff34f1d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd7841d View commit details
    Browse the repository at this point in the history