[SOLVED] Devices lost after turn on PCI PassThrough

Hello !

I have an issue with PCI Passthrough.

I explain my situation. I have a TrueNAS Mini X+ 3.0, system 25.04.2.6, I also have a APC Back UPS BX connected by USB, using the pilot ‘APC ups 2 Back-UPS (USB) USB (usbhid-ups)‘. All that work fine.

I have set up a Virtual Machine with Home Assistant OS inside about that, all is going well.

Now I want to had a ZigBee antenna. I bought SONOFF Dongle USB Zigbee 3.0 ; it’s well recognized by TrueNAS. Now I set up the PCI Passthrough to grant access the to antenna to Home Assistant.

Here is the problem: when I start the VM, the USB dongle is available to Home Assistant and work fine BUT TrueNAS lost the communication with the APC / when I stop the Home Assistant VM, I lost all Home Assistant benefits BUT TrueNAS communicate with the APC…

Is anyone have an idea about how I can have: VM+PCI Passthrough UP and TrueNAS+APC up at the same time ?

Thank in advance for all is idea you can provide.

Zorglube

See if you can passthrough individual usb ports instead of the usb controller. If you use the controller everything connected to it will be lost to the host.
Second option would be to see if you could manage the ups with home assistant and connect truenas to the ups as slave instead of master.
third option (if you have a free pcie slot) buy a cheap usb card and pass that to home asisstant instead of the onboard controller.

Damn @LarsR you’re fast !

So I reply myself, just after posting the question, I saw this post : home-assistant-vm-usb-passthrough-for-zigbee-zwave/27262

Then I tried setting up a USB Passthrough Device and… That work fine !