Bug 219207 - USB3 broken on Lenovo X1 Yoga Gen 7 for all kernels version >= 6.7
Summary: USB3 broken on Lenovo X1 Yoga Gen 7 for all kernels version >= 6.7
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: Intel Linux
: P3 normal
Assignee: Default virtual assignee for Drivers/USB
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-28 23:32 UTC by Manfred Kitzbichler
Modified: 2024-08-30 08:44 UTC (History)
1 user (show)

See Also:
Kernel Version: 6.7 onwards
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Manfred Kitzbichler 2024-08-28 23:32:31 UTC

    
Comment 1 Manfred Kitzbichler 2024-08-28 23:44:51 UTC
After updating to kernel 6.7 the USB connection on my Lenovo X1 Yoga Gen 7 became unstable. Specifically, when I try to use my PlayerOneAstronomy Uranus-C camera in its native resolution, it fails to initialize and is stuck in an infinite reset loop. The respective message in the kernel log is:

kern  :info  : [Feb15 18:44] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
kern  :info  : [  +0.018551] usb 4-1: New USB device found, idVendor=a0a0, idProduct=5850, bcdDevice= 0.00
kern  :info  : [  +0.000032] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kern  :info  : [  +0.000011] usb 4-1: Product: Uranus-C
kern  :info  : [  +0.000007] usb 4-1: Manufacturer: Player One
kern  :info  : [ +31.527976] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern  :info  : [  +3.370075] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern  :info  : [  +3.363085] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern  :info  : [  +3.363459] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern  :info  : [  +3.366393] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd 
[...]

I contacted the software developer of the imaging programme I am using and after we established that it is not a bug in the software I contacted the device manufacturer. I also updated the BIOS and firmware to the latest available version. The bottom line is, that all evidence points towards an incompatibility with the USB controller that has been introduced with the following kernel commit:

https://github.com/torvalds/linux/commit/2c40c1c6adab90ee4660caf03722b3a3ec67767b

This was a commit that happened between kernels 6.6 and 6.7 and changes were made in many places relating to USB and XHCI.

Happy to run more tests if required. Many thanks, best regards,

   Manfred
Comment 2 Artem S. Tashkinov 2024-08-29 11:26:32 UTC
This patch includes 150 changed files with 7,007 additions and 1,273 deletions and it's impossible to figure out which one affected you.

Would be great if you bisected the exact regression using: https://docs.kernel.org/admin-guide/bug-bisect.html

Note You need to log in before you can comment on or make changes to this bug.