joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.43k stars 403 forks source link

Issue with pigpio Initialization on Raspberry Pi 5 Model B #598

Closed Flying-Bolt closed 5 months ago

Flying-Bolt commented 5 months ago

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

Sjohn21 commented 5 months ago

Duplicate of #589. Also Refer to #586