Raspberry Pi hailo_pci driver conflict issue - solution

The new installation method installing the Hailo PCIe driver to dkms (in the past it was part of the Kernel).
There is a corner case for old kernel with old driver and the hailo_all installs the driver in addition to dkms.

The fix is to remove the driver from the Kernel:

Repeat for "hailo_pci" and "hailo1x_pci":

sudo modprobe -r {driver_name} || true
sudo rm -rf /lib/modules/$(uname -r)/kernel/drivers/misc/{driver_name}.*
sudo rm -rf /lib/modules/$(uname -r)/updates/dkms/{driver_name}.*
sudo rm -rf /lib/modules/$(uname -r)/extra/{driver_name}.*
sudo depmod -a

Thanks,

1 Like