Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 6.12.8 issues with USB3 (XHCI_PCI_RENESAS)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 666
Location: Ásgarðr

PostPosted: Mon Jan 06, 2025 11:58 am    Post subject: [SOLVED] 6.12.8 issues with USB3 (XHCI_PCI_RENESAS) Reply with quote

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
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 666
Location: Ásgarðr

PostPosted: Mon Jan 06, 2025 12:23 pm    Post subject: Reply with quote

Note that I also tried with built in instead of module

Code:
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_DBGCAP is not set
CONFIG_USB_XHCI_PCI=y
# CONFIG_USB_XHCI_PCI_RENESAS is not set
# CONFIG_USB_XHCI_PLATFORM is not set


Same results. It only works if I enable CONFIG_USB_XHCI_PCI_RENESAS now. (built in or module)

edit: Found this https://lore.kernel.org/r/ZqqfXYRJf7kGaqus@decadent.org.uk ; so it seems that it is needed now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum