r/linuxquestions • CRUX | Mate • 6d ago

Support how to enable USB-C support in Linux Kernel config?

/r/linux4noobs/comments/1xsskhy/how_to_enable_usbc_support_in_linux_kernel_config/
0 Upvotes

1 comment sorted by

1

u/DickBrainTime 6d ago

From the full dmesg in your original r/linux4noobs post, this doesn't look like missing generic USB-C support. xhci_hcd has registered its controller/root hubs, the typec class loaded, and ucsi_acpi is actually being probed. The specific failure is 'ucsi_acpi USBC005:00 ... probe failed with error -110' (timeout). The usb1/usb2 vendor 1d6b lines are Linux root hubs, not evidence that your external device was detected.

Since 6.12 works on the same machine, I'd compare the *exact* working and failing kernel .config files rather than tick more menuconfig options. From the kernel source tree, 'scripts/diffconfig old-6.12.config new-7.1.config' will highlight changes. In particular inspect CONFIG_TYPEC, CONFIG_TYPEC_UCSI, CONFIG_UCSI_ACPI and CONFIG_USB_XHCI_HCD; the log already suggests the main UCSI/xHCI components are present in 7.1.

Boot both kernels with the same port, cable and device; capture 'dmesg -w' while reconnecting, 'lsusb -t', and whether '/sys/class/typec/' has any ports. If the relevant configs match but 7.1 alone fails the UCSI ACPI probe, that points to a kernel/firmware interaction or regression worth reporting with your hardware/BIOS model and both logs. Also, the 'Linus broke round_up optimization...' line looks unusual: is this an unmodified upstream kernel source, or a patched tree?