sdauth l33t
Joined: 19 Sep 2018 Posts: 666 Location: Ásgarðr
|
Posted: Mon Jan 06, 2025 11:58 am Post subject: [SOLVED] 6.12.8 issues with USB3 (XHCI_PCI_RENESAS) |
|
|
edit: See: https://lore.kernel.org/r/ZqqfXYRJf7kGaqus@decadent.org.uk
Hello,
With gentoo-sources-6.12.x (currently 6.12.8 ), none of my USB3 peripherals were detected.
grep XHCI /usr/src/linux/.config (same as with previous kernel: 6.6.69)
Code: | CONFIG_USB_XHCI_HCD=m
# CONFIG_USB_XHCI_DBGCAP is not set
CONFIG_USB_XHCI_PCI=m
# CONFIG_USB_XHCI_PCI_RENESAS is not set
# CONFIG_USB_XHCI_PLATFORM is not set |
lspci correctly detected my USB3 card:
Code: | 03:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) |
lsmod also correctly shown that xhci_hcd & xhci_pci modules were loaded...
but...
lsusb didn't return "3.0 root hub" like before
and
dmesg | grep -i xhci
returned nothing..
Also, when I tried to plug a usb3 key or hdd, nothing was happening.
I tried to rmmod & insmod xhci_hcd & xhci_pci, still nothing.
So I reviewed the kernel config again and decided to enable XHCI_PCI_RENESAS to try (since my USB3 card uses that chipset after all)
and after a reboot, now everything works as normal :
Code: | [ 33.256444] xhci-pci-renesas 0000:03:00.0: failed to load firmware renesas_usb_fw.mem, fallback to ROM
[ 33.256578] xhci-pci-renesas 0000:03:00.0: xHCI Host Controller
[...] |
(Note that it tries to load a firmware but since it works fine without it, I have not installed it and let it uses the one in ROM)
lsusb:
Code: | Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
All good.
Anyway,
Why do I have to enable XHCI_PCI_RENESAS now to make my USB3 card works ?
It surely wasn't needed with 6.6.x (and before that), I just tried to reboot to 6.6.69 and no issues with USB3 (with CONFIG_USB_XHCI_PCI_RENESAS is not set )
Hopefully it helps someone else but it would be nice to understand the reason.
Last edited by sdauth on Mon Jan 06, 2025 12:56 pm; edited 2 times in total |
|