December 30, 20178 yr I have set up 5 VM's with all the same keyboard and mice from Razer. I attach the keyboard to USB bus and device number which works well. By after some hours of gaming or web browsing, a keyboard device may disconnect and it is super frustrating especially for gaming because you have to restart the VM and manually assign the device number. There is also a chance that multiple keyboards and mouses will disconnect and it is almost impossible to track them down to the correct VM. Is there a better way of doing this?. I don't have any PCI-E slots left for USB passthrough. tower-diagnostics-20171230-1304.zip
January 11, 20188 yr maybe look into the usb hotplug plugin. that way if it does disconnect, you can always reconnect it more easily without having to power down and restart the vm to get the usb device back.
January 12, 20188 yr Author I have attempted this and i cannot use this plugin because the keyboards have the same Vendor ID
January 12, 20188 yr might be SOL then. Another option, is that if you have 1 free pcie, look into a 4port card that can assign each port to a different vm for usb passthrough. But, that can be iffy depending on your hardware to make work right. That would get you 4/5ths of the way. (just read that you don't have any... so maybe back to SOL)
January 12, 20188 yr That's a nice setup - is it a home or office environment? What's the spec of your system? Have you tried passing through USB controllers to reduce the extent of the problem? Also, to stop you at least having to reboot you could use the script below and create an instance for each VM. Then if you have a disconnect, fire up the version of the script for that VM, unplug the mouse and reconnect, and then kill the script. I do this with my webcam which I can't passthrough
January 13, 20188 yr You should see if upgrading to 6.4 helps as it has updated virtio drivers - I just upgraded my drivers and my USB webcam which wouldn't work before is now passed through
Archived
This topic is now archived and is closed to further replies.