slipstream Posted May 10, 2021 Share Posted May 10, 2021 Hi All, The USB 3.0 ports on my SuperMicro motherboard are dead within my Ubuntu VM. If I plug in a USB stick my Ubuntu VM does not detect it. However, within my UnRaid OS my Unassigned Devices app detects any USB stick when plugged in. The screen shot below shows how I have the USB controller configured in my Ubuntu VM. Can somebody in the community please confirm to me if correctly setting up an Ubuntu VM requires I use the "3.0 Qemu XHCI" option or the "2.0 EHCI" option or the "3.0 NEC XHCI" option? Changing it from Qemu to EHCI killed my Nvidia 1030 passthrough. It no longer works. Lastly, my VFIO list in System Devices has both USB Controller ID numbers checked marked and with GREEN dots displaying. So, why is the UnRaid OS not passing through the USB ports to my Ubuntu VM? I hope somebody can advise me what is the best USB controller option I should use for an Ubuntu VM?Any help will be greatly appreciated. Thank you for your time. Quote Link to comment
SimonF Posted May 10, 2021 Share Posted May 10, 2021 (edited) 29 minutes ago, slipstream said: Hi All, The USB 3.0 ports on my SuperMicro motherboard are dead within my Ubuntu VM. If I plug in a USB stick my Ubuntu VM does not detect it. However, within my UnRaid OS my Unassigned Devices app detects any USB stick when plugged in. The screen shot below shows how I have the USB controller configured in my Ubuntu VM. Can somebody in the community please confirm to me if correctly setting up an Ubuntu VM requires I use the "3.0 Qemu XHCI" option or the "2.0 EHCI" option or the "3.0 NEC XHCI" option? Changing it from Qemu to EHCI killed my Nvidia 1030 passthrough. It no longer works. Lastly, my VFIO list in System Devices has both USB Controller ID numbers checked marked and with GREEN dots displaying. So, why is the UnRaid OS not passing through the USB ports to my Ubuntu VM? I hope somebody can advise me what is the best USB controller option I should use for an Ubuntu VM?Any help will be greatly appreciated. Thank you for your time. Sorry just reread your post do they show in lspci in the vm? The controller value is only for the passthru. Suggest you post diags. Have you mapped the devices to the VM? USB devices do not auto connect to the VM. They only get connected at VM Start ifyou specify in the template. You can you the Libvirt hotplug plugin or my plugin to hotput when VM is running. VM mappings on template Either 2.0 or 3.0 Qemu are fine for the controller. Or have you passed through usb controllers to VM? Edited May 10, 2021 by SimonF Quote Link to comment
slipstream Posted May 12, 2021 Author Share Posted May 12, 2021 SimonF, Thank you for your post. I have decided to follow the path of least resistance and buy a USB 3.0 PCI-E Adapter Card. It's much more easier to buy such an adapter card and then just pass it through using the VFIO Bind System Devices feature. Thanks for your help. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.