Comment 6 for bug 1956849

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi @dgatwood, @Jazz. I took a look at the USB patches that landed between 5.11.0-41-generic and 5.11.0-44-generic in the Focal HWE tree:

https://paste.ubuntu.com/p/mfJCw5XmBv/

One commit which I thought was interesting was:

commit 5caa90d5fedfcdf57a42c272896cfd0ef6b5c667
commit-upstream: 5255660b208aebfdb71d574f3952cf48392f4306
Author: Jonathan Bell <email address hidden>
Date: Fri Oct 8 12:25:44 2021 +0300
Subject: xhci: add quirk for host controllers that don't update endpoint DCS
Link: https://github.com/torvalds/linux/commit/5255660b208aebfdb71d574f3952cf48392f4306

I took a look at the Amazon B08PF8XR73 card you have:

https://www.amazon.com/YEELIYA-PCI-7-Port-USB-C-USB/dp/B08PF8XR73

The page mentions "Advanced Dual Chip Uses Fresco Logic 1100 +VL820 dual chips".

The above commit is a quirk for VIA VL8xx chipsets, and looking at the code:

 if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) {
  xhci->quirks |= XHCI_LPM_SUPPORT;
  xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
 }

It was applied to PCI_VENDOR_ID_VIA && pdev->device == 0x3483. Looking these up:

https://devicehunt.com/view/type/pci/vendor/1106/device/3483

We see that the VL820 is listed:

VX800/820-Series PCI-Express Root Port 1

So this new piece of code would apply to your PCIe card.

There was a similar bug filed a few days ago:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956542

Looking at the lsusb output, they are also using a VIA Labs VL813 Hub, and USB 3 no longer works.

Bus 003 Device 056: ID 2109:2813 VIA Labs, Inc. VL813 Hub

In this case though, the VL813 is under a different vendor and device ID, and the code in that commit would not apply:

https://devicehunt.com/view/type/usb/vendor/2109/device/2813

Since its 0x2813 and not 0x3483.

Still, this is very interesting.

@Jazz, does your system have any "VIA Labs, Inc" USB host devices? Check "lsusb -v".

Note that the commit was also present in 5.13.0-23-generic on Impish, but is not in 5.13.0-22-generic.

@dgatwood, could you please collect "lsusb -v" as well, and maybe try 5.11.0-41-generic?

Thanks,
Matthew