joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with pigpio Initialization on Raspberry Pi 5 Model B

Flying-Bolt opened this issue · comments

Description:

Hello,

I'm trying to use pigpio on my Raspberry Pi 5 Model B, but I'm encountering issues with the initialization. After various attempts and research, I have set the PI_IGNORE_ENV environment variable to 1 to bypass hardware checking, but that hasn't worked.

Hardware Information:

Raspberry Pi 5 Model B
Revision: d04170
Steps to Reproduce the Issue:

Installation of pigpio (sudo apt-get install pigpio)
Compilation of my C++ program with pigpio dependencies
Execution of the program
Error Message:

sql
Copy code
2024-01-28 15:04:40 gpioHardwareRevision: unknown rev code (d04170)
2024-01-28 15:04:40 initCheckPermitted:
+---------------------------------------------------------+
|Sorry, this system does not appear to be a raspberry pi. |
|aborting. |
+---------------------------------------------------------+
pigpio initialization failed
Additional Information:

I have already attempted to set the PI_IGNORE_ENV environment variable, but it did not improve the situation.
Thank you in advance for your assistance!
Error

Duplicate of #589.
Also Refer to #586