I am having an interesting problem where my Coral M.2 works fine after a reboot but after some time, a few days the first time, an hour just today but it had been running fine for a week before that it just stops being available to Frigate and I get:
frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
This shuts down the container and restarting the container will just print that error again and then bail. "/dev/apex_0" is still available in an Unraid shell but just stops working in Frigate after working fine for some time. I believe this might be related to an issue some people have reported with the M.2 version where it goes to sleep and cannot be woken again as described here:
https://www.reddit.com/r/VFIO/comments/l5awg0/using_google_coral_mpcie_tpu_in_qemu_vm/
and here:
https://github.com/blakeblackshear/frigate/issues/1020
I am trying to add
options vfio-pci ids=1ac1:089a disable_idle_d3=1
to
/etc/modprobe.d/blacklist-apex.conf
I was just wondering if anyone else with the M.2 version has had similar problems and is there another solution that worked in case this doesn't fix it for me? I can't currently restart Unraid as I am running a 20 hour preclear on a new 4tb drive. I assume the TPU will work fine after reboot so it's a matter of just waiting and seeing if it fails again.