Hello ZimaOS team,
I’d like to request the inclusion of the Hailo PCIe driver (hailo_pci) in ZimaOS, covering both the Hailo-8 and the Hailo-8L M.2 accelerators, in the same way Coral PCIe (gasket) and other drivers were added after community requests.
Use case
Running object detection with Frigate (Docker) on ZimaOS, using a Hailo-8 or Hailo-8L as the detector. Hailo and the Frigate team have officially partnered on support for these accelerators, and Home Assistant OS already ships the Hailo driver. ZimaOS would be a great platform for Frigate + Hailo as well, especially for NAS/NVR setups where a low-power detector makes a lot of sense.
Current state on my system
ZimaOS kernel 6.18.9. I checked the following and found nothing Hailo-related:
- find /lib/modules/$(uname -r) -iname ‘hailo’ → no result
- modinfo hailo_pci → “Module hailo_pci not found”
- modprobe -n -v hailo_pci → “not found in directory /lib/modules/6.18.9”
- ls /sys/module | grep -i hailo → empty
- ls /sys/bus/pci/drivers | grep -i hailo → empty
- ls /lib/firmware | grep -i hailo → empty
So neither the kernel module nor the firmware files are present, and /dev/hailo0 cannot be created. Frigate therefore can’t use the accelerator (it reports the Hailo driver as not installed).
Hardware covered by this request
- Hailo-8 (26 TOPS) and Hailo-8L (13 TOPS), M.2 modules (M key, B+M key, A+E key) and PCIe adapters
- Vendor ID: 1e60 (Hailo Technologies Ltd.)
- Both devices use the same driver branch and firmware family, as far as I know. Please verify the exact PCI device IDs on your side (I believe 1e60:2864 for both).
- Linux driver: hailort-drivers, branch “hailo8” ( GitHub - hailo-ai/hailort-drivers: The Hailo PCIe driver is required for interacting with a Hailo device over the PCIe interface · GitHub )
- Module name: hailo_pci
- Firmware files needed in /lib/firmware/hailo/: hailo8_fw.bin, hailo8_board_cfg.bin, hailo8_fw_cfg.bin
Version note
Frigate currently supports HailoRT driver version 4.21.0, and any driver/library mismatch (e.g. a 4.23 driver with the 4.21 library inside the Frigate image) causes errors. The driver version therefore has to match what Frigate ships. Version 4.21.0 would be the most useful one to integrate, in line with Home Assistant OS.
Since drivers are built into the ZimaOS system image and can’t be added with a package manager, I can’t install this myself.
Thank you for all the work on ZimaOS!