So it was incompatible code.
Anyway I got my M.2 Coral working. The inference on that thing is low. Down to 6.7ms. The USB one is hanging around at 28.4ms.
Here is how I did it
First I enabled the google-coral-dkms, installed it
sudo dnf copr enable kylegospo/google-coral-dkms
sudo dnf install gasket-dkms
Then I modified the code in gasket_core.c which had some incompatibilities with the kernel I was using.
The issue was this https://github.com/KyleGospo/gasket-dkms/issues/7
So in the file gasket_core.c I removed this
-#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0) - internal->class = class_create(driver_desc->module, driver_desc->name); -#else - inte
And replaced it with
+ internal->class = class_create(driver_desc->name);
Then I did
dkms autoinstall
modprobe apex
modprobe gasket
And it worked, there was a /dev/apex device
I then enabled it in the config.yml for frigate itself
detectors: coral_usb: type: edgetpu device: usb coral_pci: type: edgetpu device: pci
And enabled it in docker to pass through
volumes: - /dev:/dev
Seems complicated, but figured it out.
Weight: 343.0