MAY THE 4TH BE WITH YOU!… and also this guide.
I have not tested it in Ubuntu 24.04 but it may work. Let me know in the comments if you try!
This brief guide has been revised from:
https://coral.ai/docs/m2/get-started#2-install-the-pcie-driver-and-edge-tpu-runtime
This will essentially be the first part of a few parts coming for Frigate and Home Assistant.
First, we need to setup the apt repository, and install the required packages:
If gasket-dkms fails (it probably will — if it doesn’t, skip down to the udev rule section):
You’ll have a .deb file one folder up:
We need to add a udev rule for permission to the hardware device:
If you don’t want to use the docker group, replace docker in the udev command string:
REBOOT!
Verify the device is detected and available:
ls -alh /dev/apex*
crw-rw---- 1 root docker 120, 0 May 4 20:34 /dev/apex_0
I had an issue on Ubuntu 24.04 where the “debuild” command would fail with:
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9)
I had to add “debhelper” to the end of the list to install with “apt”.
Hi,
Could you explain where you added debhelper?
Just run a sudo apt install debhelper
It’s an apt package
I spent all day trying to get coral working again after upgrading, following different approaches. Arrived back here on my thousandth google search and remembered having tried this too… Then read the reply about adding the `debhelper` package. OMG! Thank you all so much!
dpkg -i gasket-dkms-*.deb should read dkms_* with an underscore, not a hyphen, at least when I did this on Ubuntu 24.04. Other than that, great guide!
Thank you so much for sharing this solution – it helped me a lot after struggling with the “gasket-dkms” build failure. Thanks to your instructions, my Coral PCIe chip is now working perfectly with Frigate in Docker on Ubuntu 24.04.2 LTS (kernel 6.8.0-60-generic). Great job!
Just a quick note: I also had to install debhelper using “sudo apt install debhelper”.
Excellent write up! It worked for me on 24.04 and like Sebastian I needed the additional dependency of debhelper