[SOLVED] No USB3 after PCI passthrough USB Controller

bero

Member
May 7, 2022
2
0
6
Hi Everyone,

I am struggling with my new Proxmox machine with PCI passthrough and USB3 support.
Since May I have a Intel NUC12DCMi9 and now I want to use the NUC as a workstation with different operating systems.
So far so good, I am able to PCI passthrough my video card (after some struggles).

The first days I was using USB passthrough for my mouse and keyboard, but this was a horrible experience, a lot of stuttering or not recognized keystrokes.
So I want to passthrough my USB Host controller, in the Intel NUC there is only one USB controller according lspci

0000:00:14.0

Code:
root@pve:~# lspci
00:00.0 Host bridge: Intel Corporation Device 4660 (rev 02)
00:01.0 PCI bridge: Intel Corporation Device 460d (rev 02)
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:08.0 System peripheral: Intel Corporation Device 464f (rev 02)
00:14.0 USB controller: Intel Corporation Device 7ae0 (rev 11)
00:14.2 RAM memory: Intel Corporation Device 7aa7 (rev 11)
00:14.3 Network controller: Intel Corporation Device 7af0 (rev 11)
00:16.0 Communication controller: Intel Corporation Device 7ae8 (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 7ab0 (rev 11)
00:1d.4 PCI bridge: Intel Corporation Device 7ab4 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a84 (rev 11)
00:1f.3 Audio device: Intel Corporation Device 7ad0 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 7aa3 (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 7aa4 (rev 11)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
02:00.0 Ethernet controller: Aquantia Corp. Device 14c0 (rev 03)
03:00.0 Non-Volatile memory controller: Seagate Technology PLC Device 5018 (rev 01)
Note: In the attachment a more detailed log.

Considering I was using USB devices on other VMs I could not just transfer the entire controller, now that I have found other ways for the other VMs all the ports are free and I can transfer the entire controller, so I did.

Now everything seems to function normally, however when I insert a USB 3.0 stick into the ports no operating system recognizes the USB 3.0 device. If I insert a USB 2.0 extension cable then the device is visible. In Windows, you will also see a USB Root Hub (USB3.0) device.
Screenshot 2022-08-19 210614.png
Now I can leave it like that but then I'm leaving a lot of performance, and also I have 3 usb-c ports (2x thunderbolt 4) that I can't use optimally (or at all).

The PCI devices that I am passthroug now are:
hostpci0: 0000:01:00,pcie=1,x-vga=1
hostpci1: 0000:00:14.0,pcie=1
hostpci2: 0000:00:14.3,pcie=1

What have I forgotten or overlooked?
The behavior is the same in Windows 10, Ubuntu, macOS

[SOLVED]
I thought let me try the same thing I did with my video card.
I add the vfio-pci id to the file /etc/modprobe.d/vfio.conf

Code:
options vfio-pci ids=1002:67df,1002:aaf0 disable_vga=1
options vfio-pci ids=8086:7ae0
Now USB3.0 is working
 

Attachments

Last edited:
Hi,

would you mind marking this thread as solved so others can find this solution more easily?

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!