What does "config failed, hub doesn't have any ports! (err -19)" mean?

Using the first section of the error:

hub 12-0:1.0

…I’ve ascertained what the cause is:

  1. Using lsusb -t, I find:

    /:  Bus 012.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/0p, 5000M
    

    Driver=xhci_hcd/0p means it has 0 ports, which is invalid, hence the error.

  2. I tried to readlink /sys/class/usb_host/usb12 it to ascertain what the cause is, but that fails, because the device unsuccessfully enumerated. Consequently, I used readlink /sys/bus/usb/devices/usb12 to verify the device ID:

    ../../../devices/pci0000:00/0000:00:08.3/0000:5a:00.0/usb12
    
  3. When known, I used 5a:00.0 to locate the cause with lspci -s 5a:00.0:

    5a:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 2.0 xHCI
    

    It’s the virtual USB controller, not exposing any ports despite the kernel purportedly requiring it. However, there obviously aren’t ports on a virtual device.

Consequently, do I take this to Linux, ASRock, or AMD?

1 Like