0

I want to "pass through" an USB controller to a VM guest but only if I have more than one controller, otherwise the host would be left with no USB.

My motherboard is an ASUS B450 but I can't find anything online, all USB ports come out of it. I also have a Nvidia 1660 SUPER. I'm on Debian 10 if that makes any difference.

Output of lsusb:

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 258a:002a  
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 275d:0ba6  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The output of lshw has two different "USB Controller" sections, one from AMD and the other from Nvidia. I don't know if that means I have two controllers or if it is some mislabeling.

AMD section:

           *-usb
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: msi pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:47 memory:f66a0000-f66a7fff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-17-amd64 xhci-hcd
                   physical id: 0
                   bus info: usb@1
                   logical name: usb1
                   version: 4.19
                   capabilities: usb-2.00
                   configuration: driver=hub slots=10 speed=480Mbit/s
                 *-usb
                      description: Mouse
                      product: USB OPTICAL MOUSE
                      physical id: 2
                      bus info: usb@1:2
                      version: 1.00
                      capabilities: usb-1.10
                      configuration: driver=usbhid maxpower=100mA speed=1Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-17-amd64 xhci-hcd
                   physical id: 1
                   bus info: usb@2
                   logical name: usb2
                   version: 4.19
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=10000Mbit/s

Nvidia section:

           *-usb
                description: USB controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0.2
                bus info: pci@0000:09:00.2
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: msi pciexpress pm xhci cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:49 memory:f2000000-f203ffff memory:f2040000-f204ffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-17-amd64 xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 4.19
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-17-amd64 xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 4.19
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=10000Mbit/s

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.