Issue with Connecting AI Hat+ on Raspberry Pi 5 - Kernel and Driver Errors


Hello,

I recently purchased a Raspberry Pi 5 and I’m having trouble connecting the AI Hat+ to it, even though I’ve followed every guide available. The main issue I’m facing is related to the kernel and driver.

When I try running the command:

hailortcli fw-control identify

I get one of these two errors:

  1. “hailort driver class not found”
  2. “PCIe Driver not found”

I have been troubleshooting for over a day now, and I’m unable to resolve these issues. I bought this setup for a cost and have spent hours trying to get everything configured properly.

I would really appreciate any help or guidance on how to fix these driver and kernel-related issues. So i can go further with my thesis/project.

Thank you in advance!

Welcome to the Hailo Community!

Did you follow this guide?

Raspberry Pi - Documentation - AI

This should have you up and running in no time.

I followed this guide 15 times yesterday and reset the Raspberry Pi multiple times to complete the installation step by step. However, I keep encountering the same errors. I already searched through many forums yesterday, but without success.

This person had the exact same issue but didn’t mention how they solved it:
:link: Raspberry Pi Forum

I also tried following the solution you suggested to another user here:
:link: Hailo Community

When I run the lspci command, it returns the following:
image

To be sure, I reconnected everything, but the issue persists.

Can you help me further? It’s probably not going to be a simple fix, so we can skip the easy solutions.

This shows that the Hailo device is not recognized by the system. Until this is solved you can stop trying any driver or software installation.

PCIe devices have standardized registers that allow the system to find all connected devices without any custom drivers.

On top of the AI HAT+ between the PCIe cable connector and the corner is a orange LED labeled D2 PWR. Does that light up when you power the board?

The PCIe cable has to be installed the right way around. On my Raspberry Pi when the GPIO header is at the top and I can read the silk screen (Raspberry Pi and Hailo logo) on the HAT, the print on the cable has the same orientation. There is a small “PCIe cable 1” printed at the bottom and a small 1 at the PCIe HAT connector.

That works;-)

1 Like