Bug 219726

Summary: USB devices fail to show up when upgrading to 6.12.11
Product: Drivers Reporter: marcel.c.vasilache
Component: USBAssignee: Default virtual assignee for Drivers/USB (drivers_usb)
Status: RESOLVED ANSWERED    
Severity: normal CC: michal.pecio
Priority: P3    
Hardware: Intel   
OS: Linux   
Kernel Version: 6.12.11 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Kernel config files

Description marcel.c.vasilache 2025-01-26 13:03:30 UTC
Created attachment 307537 [details]
Kernel config files

After upgrading to 6.12.11 from kernel 6.11.11 some USB devices fail to show up.

With 6.11.11 lsusb output is:

>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>Bus 001 Device 002: ID 04b3:301a IBM Corp. 2-port low-power hub
>Bus 001 Device 003: ID 04b3:301b IBM Corp. SK-8815 Keyboard
>Bus 001 Device 004: ID 046d:c066 Logitech, Inc. G9x Laser Mouse
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>Bus 003 Device 002: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH D90
>MQA
>Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

While with 6.12.11 it is:

>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>Bus 001 Device 003: ID 04b3:301a IBM Corp. 2-port low-power hub
>Bus 001 Device 004: ID 04b3:301b IBM Corp. SK-8815 Keyboard
>Bus 001 Device 005: ID 046d:c066 Logitech, Inc. G9x Laser Mouse
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I have also attached kernel config files.

I tried to find USB related patches but got lost in git logs. Hopefully somebody more experienced can find the reason for this problem.
Comment 1 Michał Pecio 2025-01-26 15:06:10 UTC
It looks like one of two USB 3.0 controllers disappeared.

If it's Renesas, enabling CONFIG_USB_XHCI_PCI_RENESAS should bring it back.

If not, please post dmesg from 6.12 boot. There should be some xHCI error message there.
Comment 2 Artem S. Tashkinov 2025-01-26 19:02:14 UTC
Please post 

sudo dmesg -t 

for both kernels.
Comment 3 marcel.c.vasilache 2025-01-27 10:31:10 UTC
(In reply to Michał Pecio from comment #1)
> It looks like one of two USB 3.0 controllers disappeared.
> 
> If it's Renesas, enabling CONFIG_USB_XHCI_PCI_RENESAS should bring it back.
> 
> If not, please post dmesg from 6.12 boot. There should be some xHCI error
> message there.

Thank you Michał, you nailed it! 

Not a kernel bug but a setting error. I copied the kernel config from 6.11 and the Renesas config option was disabled by default. I'm now a happy user of 6.12 :)