Lacy Posted September 3, 2022 Share Posted September 3, 2022 (edited) I have a USB switch that I switch between 3 computers, including one Unraid machine. I want USB devices to work with my Windows VM _when_ they are connected, but not have to be connected. Currently the VM will not boot without them connected. If I boot with them then I am able to use the switch without issues. Is this possible, to have a USB device associated with a VM, but not have to be present in order to boot the machine? Edited September 3, 2022 by Lacy update title Quote Link to comment
Squid Posted September 3, 2022 Share Posted September 3, 2022 The ideal way is to physically passthrough a separate USB controller card so that it operates the same way as any other machine. Your other alternative would be or Quote Link to comment
Jorgen Posted September 3, 2022 Share Posted September 3, 2022 Or:https://forums.unraid.net/topic/71159-auto-vm-start-interrupted-by-missing-usb-device/?do=findComment&comment=654162Sent from my iPhone using Tapatalk Quote Link to comment
Jorgen Posted September 3, 2022 Share Posted September 3, 2022 3 hours ago, Lacy said: Is this possible, to have a USB device associated with a VM, but not have to be present in order to boot the machine? BTW, my reply only applies to this part, I have no idea what happens if the VM boots wihtout the device present, then you add it later. But I assume that the plugins Squid mentions would solve for that part. I've raised a feature request to have the optional startup policy added to the VM form view: Quote Link to comment
SimonF Posted September 3, 2022 Share Posted September 3, 2022 2 hours ago, Jorgen said: But I assume that the plugins Squid mentions would solve for that part. My USB Manager plugin can connect at startup of the VM, or hotplugging a USB can be mapped to a VM. Mappings ca be by device or port and it support same vendor product IDs. Specify a hub mapping to a VM and any device connect to that hub gets connected to the VM. You can use the USBIP addon to use or allow remote machines access to USB devices. Quote Link to comment
Jorgen Posted September 3, 2022 Share Posted September 3, 2022 Wow, that is an awesome plug-in, not sure how I’ve managed to miss it! Thanks @SimonF Sent from my iPhone using Tapatalk Quote Link to comment
Lacy Posted September 25, 2022 Author Share Posted September 25, 2022 Just want to note, this feature has been introduced in the latest update, 6.11 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.