Hey all, new on the forums though I’ve been watching level1 on youtube for a while.
Have been running GPU passthrough on my main system for almost a year. I recently did a reinstall because I wasn’t satisfied with how I had initially set things up in combination with purchasing aa pcie4 nvme drive. Everything is back up and running, but my last issue is that USB devices are not picked up again by the host when the win10 guest is shut down.
I’m wondering if anyone else has had this problem? I’ve been poking around a bit, and strangely, the host os doesn’t even reacquire these usb devices after physically unplugging them (we’re talking about a hyperX keyboard and a razer deathadder essential mouse).
It seems like the ports that are being passed through to the guest, which I’m doing with a script that issues the following command:
virsh attach-device domain --file /home/user/scripts/keyboard.xml> --current
I have a script to detach, which worked on the previous installation, but simply shutting down the guest without the script also resulted in the usb devices being picked up by the host os again without problems then as well.
I am a little stumped on where to start looking for this. It appears as if virsh is somehow reserving the adresses altogether and holds onto them even when the actual devices are unplugged and the guest is shut down.
If anyone has any ideas I’d love to hear it. i’ll update the topic as I think of new things to try. As I’m typing this I realize I haven’t tried plugging one of the devices into a different USB port when the problem occurs.
Any thoughts would be appreciated.
problem occurs with any guest, win10, ubuntu, etc.