[Bug 2044022] [NEW] fwupd gets stuck/unresponsive with error 'Pipe error [-9]' when specific USB hub is connected

Paride Legovini 2044022 at bugs.launchpad.net
Mon Nov 20 21:29:53 UTC 2023


Public bug reported:

Running Noble with fwupd, 1.9.8-1, I can't successfully run fwupdmgr
commands when my external usb-c monitor (a Lenovo ThinkVision) is
plugged in. This is because the USB hub internal to the monitor makes
fwupd fail this way (from the fwupd journal):

fwupd[7399]: 21:22:25.771 FuEngine             failed to add device
usb:01:00:03: failed to get static tool info from device: USB error on
device 05e3:0610 : Pipe error [-9]

This happens e.g. when I run `fwupdmgr get-updates`, which fails as it
doesn't get the information it needs from the daemon. If I unplug the
external monitor it works fine.

The output of `lsusb v` for the problematic device follows.

---

Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0610 Hub
  bcdDevice           61.60
  iManufacturer           0
  iProduct                1 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    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
      bInterfaceProtocol      1 Single TT
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      2 TT per port
      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

** Affects: fwupd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Running Noble with fwupd, 1.9.8-1, I can't successfully run fwupdmgr
  commands when my external usb-c monitor (a Lenovo ThinkVision) is
  plugged in. This is because the USB hub internal to the monitor makes
  fwupd fail this way (from the fwupd journal):
  
  fwupd[7399]: 21:22:25.771 FuEngine             failed to add device
  usb:01:00:03: failed to get static tool info from device: USB error on
  device 05e3:0610 : Pipe error [-9]
  
- This happens e.g. when I run `fwupdmgr get-updates`. If I unplug the
+ This happens e.g. when I run `fwupdmgr get-updates`, which fails as it
+ doesn't get the information it needs from the daemon. If I unplug the
  external monitor it works fine.
  
  The output of `lsusb v` for the problematic device follows.
  
  ---
  
  Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
  Device Descriptor:
-   bLength                18
-   bDescriptorType         1
-   bcdUSB               2.00
-   bDeviceClass            9 Hub
-   bDeviceSubClass         0 
-   bDeviceProtocol         2 TT per port
-   bMaxPacketSize0        64
-   idVendor           0x05e3 Genesys Logic, Inc.
-   idProduct          0x0610 Hub
-   bcdDevice           61.60
-   iManufacturer           0 
-   iProduct                1 USB2.0 Hub
-   iSerial                 0 
-   bNumConfigurations      1
-   Configuration Descriptor:
-     bLength                 9
-     bDescriptorType         2
-     wTotalLength       0x0029
-     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 
-       bInterfaceProtocol      1 Single TT
-       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
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        0
-       bAlternateSetting       1
-       bNumEndpoints           1
-       bInterfaceClass         9 Hub
-       bInterfaceSubClass      0 
-       bInterfaceProtocol      2 TT per port
-       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
+   bLength                18
+   bDescriptorType         1
+   bcdUSB               2.00
+   bDeviceClass            9 Hub
+   bDeviceSubClass         0
+   bDeviceProtocol         2 TT per port
+   bMaxPacketSize0        64
+   idVendor           0x05e3 Genesys Logic, Inc.
+   idProduct          0x0610 Hub
+   bcdDevice           61.60
+   iManufacturer           0
+   iProduct                1 USB2.0 Hub
+   iSerial                 0
+   bNumConfigurations      1
+   Configuration Descriptor:
+     bLength                 9
+     bDescriptorType         2
+     wTotalLength       0x0029
+     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
+       bInterfaceProtocol      1 Single TT
+       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
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        0
+       bAlternateSetting       1
+       bNumEndpoints           1
+       bInterfaceClass         9 Hub
+       bInterfaceSubClass      0
+       bInterfaceProtocol      2 TT per port
+       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

** Summary changed:

- fwupd gets stuck/unresponsive with error: Pipe error [-9]
+ fwupd gets stuck/unresponsive with error 'Pipe error [-9]' when specific USB hub is connected

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupd in Ubuntu.
https://bugs.launchpad.net/bugs/2044022

Title:
  fwupd gets stuck/unresponsive with error 'Pipe error [-9]' when
  specific USB hub is connected

Status in fwupd package in Ubuntu:
  New

Bug description:
  Running Noble with fwupd, 1.9.8-1, I can't successfully run fwupdmgr
  commands when my external usb-c monitor (a Lenovo ThinkVision) is
  plugged in. This is because the USB hub internal to the monitor makes
  fwupd fail this way (from the fwupd journal):

  fwupd[7399]: 21:22:25.771 FuEngine             failed to add device
  usb:01:00:03: failed to get static tool info from device: USB error on
  device 05e3:0610 : Pipe error [-9]

  This happens e.g. when I run `fwupdmgr get-updates`, which fails as it
  doesn't get the information it needs from the daemon. If I unplug the
  external monitor it works fine.

  The output of `lsusb v` for the problematic device follows.

  ---

  Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               2.00
    bDeviceClass            9 Hub
    bDeviceSubClass         0
    bDeviceProtocol         2 TT per port
    bMaxPacketSize0        64
    idVendor           0x05e3 Genesys Logic, Inc.
    idProduct          0x0610 Hub
    bcdDevice           61.60
    iManufacturer           0
    iProduct                1 USB2.0 Hub
    iSerial                 0
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength       0x0029
      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
        bInterfaceProtocol      1 Single TT
        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
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        0
        bAlternateSetting       1
        bNumEndpoints           1
        bInterfaceClass         9 Hub
        bInterfaceSubClass      0
        bInterfaceProtocol      2 TT per port
        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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/2044022/+subscriptions




More information about the foundations-bugs mailing list