<div dir="ltr">Hi all,<div><br></div><div>I have three USB controllers on my mainboard, GigaByte GA-X99-UD4 Revision 1.0 (<a href="http://www.gigabyte.com/products/product-page.aspx?pid=5123#ov">http://www.gigabyte.com/products/product-page.aspx?pid=5123#ov</a>):</div><div><br></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)">#</span><span style="color:rgb(0,0,0)"> lspci -nn | grep USB
</span><br>00:14.0 <span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> controller [0c03]: Intel Corporation C610/X99 series chipset </span><span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> xHCI Host Controller [8086:8d</span><br>31] (rev 05)
<br>00:1a.0 <span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> controller [0c03]: Intel Corporation C610/X99 series chipset </span><span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> Enhanced Host Controller #2 [</span><br>8086:8d2d] (rev 05)
<br>00:1d.0 <span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> controller [0c03]: Intel Corporation C610/X99 series chipset </span><span style="font-weight:bold;color:rgb(255,84,84)">USB</span><span style="color:rgb(0,0,0)"> Enhanced Host Controller #1 [</span><br>8086:8d26] (rev 05)<br>
<br></span></div><div><font face="monospace">I boot via UEFI directly with no grub, so I have the kernel command line compiled in the kernel to reserve the USB controller via VFIO to pass through to the guest:</font><br><br><font face="monospace">root=/dev/sda3 init=/usr/lib/systemd/systemd vfio-pci.ids=10de:13c2,10de:0fbb,8086:8d26,8086:8d2d radeon.dpm=0 quiet</font><br></div><div><font face="monospace"><br></font></div><div><font face="monospace">This is my test with two controllers passed through.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">I tried passing one controller through first. However, a USB thumbdrive test in every single USB port always showed it under 3.0 root hub. </font></div><div><div># lsusb</div><div>Bus 002 Device 002: ID 045b:0210 Hitachi, Ltd </div><div>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub</div><div>Bus 001 Device 002: ID 045b:0209 Hitachi, Ltd </div><div>Bus 001 Device 010: ID 0781:5406 SanDisk Corp. Cruzer Micro U3</div><div>Bus 001 Device 003: ID 045e:07a5 Microsoft Corp. </div><div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div></div><div><br></div><div>I know for a fact that the controllers are reserved for VFIO because the lsusb output use to show three "Linux Foundation 2.0 root hub", but only one now. When one controller was reserved, there were two showing. Also, those controllers do appear in the guest.</div><div><br></div><div>Also, the main board has support for two sets of two front USB 2.0 ports (two 9-pin header connectors). I have a both of those headers filled, so every singe controller should have a port on the board. However, every port always ends up under the tree of the "Linux Foundation 3.0 root hub".</div><div><br></div><div>In the UEFI Bios, there is a setting for xHCI handoff enable/disable and another HCI one (I forget the first letter). I tried every combination of enable and disable for these two and still no change.</div><div><br></div><div>How can I pass through the USB ports to the guest so that the items plugged into the ports appear to the guest?</div><div><br></div><div>Thanks,</div><div>Jon</div></div>