-
-
Notifications
You must be signed in to change notification settings - Fork 69
Unable to interact with the GPIO of Raspberry Pi 5 #807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Created by: Khushikela29 Hii !! I think the issue is being resolved because the output after running the program is same as expected output |
Created by: eMUQI
Hello @Khushikela29, may I ask if you have run the aforementioned program on a Raspberry Pi 5? Today I tried again and still encountered the same error. |
In GitLab by @fabianluescher on Apr 23, 2024, 17:38 I have the same issue (identical error messages) even with a rpi4. I figure it has something to do with the fact that the rpi3 uses the "Sysfs Interface" for GPIO pins (which is phased out for a long time), and the rpi4 onwards "GPIO Character Device Interface". The Hardware I/O library seems to rely on the "Sysfs Interface"? The folder
Whereas output of the rpi 3
I might be totally off course. |
Created by: JinbaoPeng In the latest systems (bookworm), processing is not available, so try going back to bullseye. |
I have also encountered this problem on my PI4, after doing some research I found out that in version 6.6 they changed the numbers you have to use to access the GPIO pins more info can be found here: https://stackoverflow.com/questions/78452048/not-able-to-access-gpio-pins-on-my-raspberry-pi-5 |
It actually also does not work either on a RPi 3B with Bookworm ARM64 here, it's more of a "kernel > 6.6" issue I believe:
|
The Hardware I/O library lives on this fork of the old Processing repository: https://github.com/gohai/processing/releases/tag/latest Hi @gohai and thanks for your work on this! Do you think it would make sense to migrate the Hardware I/O library to a dedicated repository so issues like that one above can be addressed by the community? How was the release generated? |
Hi @SableRaf From what I can see, the library is still part of main processing4 repo in java/libraries/io - so anyone could contribute to its development there. Feel free to point the library URL in the contributions manager away from my own repo if you want. (Be great to have my work in this area acknowledged if there is going to be a continuation of this effort [which I'd applaud]. Thanks.) |
Uh oh!
There was an error while loading. Please reload this page.
Created by: eMUQI
Description
Unable to interact with the GPIO of Raspberry Pi 5
Expected Behavior
Draw a dot on Processing, which blinks synchronously with the LED.

Current Behavior
Steps to Reproduce
Install Hardware I/O

Run the code
error
Your Environment
Possible Causes / Solutions
My suspicion is that it might be related to the introduction of the new southbridge chip, RP1, on the Raspberry Pi 5, which now handles the GPIOs and may have altered the access protocol.
Other
Also report at https://discourse.processing.org/t/issue-with-gpio-access-on-raspberry-pi-5-using-processing-4/43337
The text was updated successfully, but these errors were encountered: