ChrisTech Posted March 18, 2020 Share Posted March 18, 2020 (edited) Hello, I've searched, but haven't been able to find anything to address the following issue: I'm connecting an external device to my unraid server physically via USB. This external device can be turned on and off. As this device is turned on and off, I need it available again in the VM without rebooting the VM. I have only been able to get it available after rebooting the VM. Eventually, this would apply to multiple external devices that can turn on and off. Edited March 18, 2020 by ChrisTech Quote Link to comment
testdasi Posted March 18, 2020 Share Posted March 18, 2020 7 hours ago, ChrisTech said: I have only been able to get it available after rebooting the VM. Eventually, this would apply to multiple external devices that can turn on and off. You have 2 choices: Pass through a USB controller (either onboard (Ryzen / TR4 mobo has at least 1 available) or a PCIe card) to your VM. Any USB devices plugged into a passed-through controller will automatically attach to the VM (that has the controller). Install the libvirt hotplug USB plugin. You can manually attach USB devices to the VM after VM boot. Quote Link to comment
ChrisTech Posted March 19, 2020 Author Share Posted March 19, 2020 Ok, just tried the libvirt usb plugin, and yes, manual attaching after the VM boots. As for the PCI card, are there any recommendations? I need a low profile, compatible with a Supermicro X9DRi-LN4F+ Motherboard. Quote Link to comment
ksculland Posted March 19, 2020 Share Posted March 19, 2020 i'm using a cheap Renesas Technology Corp. uPD720201 USB 3.0 Host Controller | USB controller like this https://www.amazon.ca/Sedna-Express-Adapter-uPD720202-Connector/dp/B00PERIIEE If I find my shipping invoice I'll update with exact. Quote Link to comment
ChrisTech Posted March 19, 2020 Author Share Posted March 19, 2020 Thanks for the info. I actually placed an order for this a few hours ago: Mediasonic HP1-U34F 4 Ports External USB 3.0 PCI Express Card https://www.amazon.com/dp/B00LWIB8I2/ref=cm_sw_r_cp_api_i_bcUCEb4BEJF6N at $13 USD, it’s not losing that much $ if it doesn’t work. Just hope I can get a SATA cable to reach it. Quote Link to comment
ksculland Posted March 19, 2020 Share Posted March 19, 2020 Let us know how it goes 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.