Bugzilla – Bug 1217499
Steam Deck usb drd driver isn't loaded
Last modified: 2023-11-26 01:26:16 UTC
Created attachment 870985 [details] lspci -vnn Hi, I just realize the usb drd driver for the steam deck isn't loaded. My deck has drd enabled in the kernel but the driver isn't in lsmod. lsb_release -a LSB Version: n/a Distributor ID: openSUSE Description: openSUSE Tumbleweed Release: 20231122 Codename: n/a Linux steamdeck.lan 6.6.2-1-default #1 SMP PREEMPT_DYNAMIC Mon Nov 20 11:22:36 UTC 2023 (263a855) x86_64 x86_64 x86_64 GNU/Linux 04:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] VanGogh USB1 [1022:163b] (prog-if 30 [XHCI]) Subsystem: Valve Software Device [1e44:1776] Flags: bus master, fast devsel, latency 0, IRQ 56, IOMMU group 4 Memory at 80100000 (64-bit, non-prefetchable) [size=1M] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Capabilities: [64] Express Endpoint, MSI 00 Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+ Capabilities: [c0] MSI-X: Enable+ Count=8 Masked- Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Kernel driver in use: xhci_hcd Kernel modules: xhci_pci https://gitlab.freedesktop.org/drm/amd/-/issues/2984 doof@steamdeck:~> sudo modprobe dw3 modprobe: FATAL: Module dw3 not found in directory /usr/lib/modules/6.6.2-1-default doof@steamdeck:~> sudo modprobe dw3_pci modprobe: FATAL: Module dw3_pci not found in directory /usr/lib/modules/6.6.2-1-default
Created attachment 870986 [details] dmesg
Created attachment 870987 [details] zcat /proc/config.gz > config-usb-drd.txt
grep USB_DWC3 config-usb-drd.txt CONFIG_USB_DWC3=m CONFIG_USB_DWC3_ULPI=y # CONFIG_USB_DWC3_HOST is not set # CONFIG_USB_DWC3_GADGET is not set CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m CONFIG_USB_DWC3_HAPS=m
I spelled the modprobe command wrong dwc3 and dwc3-pci was loaded
steamdeck:~> lsmod | grep dwc3 dwc3 225280 0 roles 16384 1 dwc3 ulpi 20480 1 dwc3 dwc3_pci 24576 0 doof@steamdeck:~> lsmod | grep xhci xhci_plat_hcd 16384 0 xhci_pci 28672 0 xhci_pci_renesas 24576 1 xhci_pci xhci_hcd 385024 2 xhci_pci,xhci_plat_hcd usbcore 446464 6 xhci_hcd,usbhid,cdc_acm,btusb,xhci_pci,xhci_plat_hcd [ 0.269431] pci 0000:04:00.3: PCI class overridden (0x0c0330 -> 0x0c03fe) so dwc3 driver can claim this instead of xhci
04:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] VanGogh USB0 [ 1022:163a] (prog-if fe [USB Device]) Subsystem: Valve Software Device [1e44:1776] Flags: bus master, fast devsel, latency 0, IRQ 69, IOMMU group 4 Memory at 80000000 (64-bit, non-prefetchable) [size=1M] Capabilities: <access denied> Kernel driver in use: dwc3-pci Kernel modules: dwc3_pci 04:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] VanGogh USB1 [1022:163b] (prog-if 30 [XHCI]) Subsystem: Valve Software Device [1e44:1776] Flags: bus master, fast devsel, latency 0, IRQ 58, IOMMU group 4 Memory at 80100000 (64-bit, non-prefetchable) [size=1M] Capabilities: <access denied> Kernel driver in use: xhci_hcd Kernel modules: xhci_pci Probably not a bug. Somehow my dwc3 and dw3-pci kernel module isn't loaded.