-
Notifications
You must be signed in to change notification settings - Fork 354
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
Configuration Management problems with the use of rpi-gpio "hack"; just use lgpio native instead? #910
Labels
bug
Something isn't working
Comments
closed accidentally |
Open
Yeah, this is something I've considered. It would certainly solve one of the installation issues with the RPi.GPIO being installed and causing a conflict. The bcm2711 folder is also used by the Pi 4, which I'm not sure if lgpio would run on, so it may just need a bcm2712 version for the Pi 5 if it doesn't work on the Pi 4. |
I haven’t tested these change on a PI 4, but I don’t see why it wouldn’t work. The kernel on my bullseye install shows the /dev/gpio chip devices, so it should run just like it does on the PI3. The conflict you mentioned is a real mess to deal with. Just had to deal with it again updating a Pi zero w.
… On Jan 16, 2025, at 2:12 PM, Melissa LeBlanc-Williams ***@***.***> wrote:
Yeah, this is something I've considered. It would certainly solve one of the installation issues with the RPi.GPIO being installed and causing a conflict. The bcm2711 folder is also used by the Pi 4, which I'm not sure if lgpio would run on, so it may just need a bcm2712 version for the Pi 5 if it doesn't work on the Pi 4.
—
Reply to this email directly, view it on GitHub <#910 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASVI5SQL2X7EKSQQPPXWIVL2LAACVAVCNFSM6AAAAABRXMPMO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWGU4DMNRUHA>.
You are receiving this because you modified the open/close state.
|
sassanh
added a commit
to ubopod/ubo_app
that referenced
this issue
Feb 1, 2025
…stall.sh` related: adafruit/Adafruit_Blinka#910 - closes #231
sassanh
added a commit
to ubopod/ubo_app
that referenced
this issue
Feb 3, 2025
…stall.sh` related: adafruit/Adafruit_Blinka#910 - closes #231
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Board Name
Raspberry PI 5
Steps
A pip update of Adafruit_blinka from a version earlier than 0.8.28(?) to any later version does not work. This is due to the fact that the rpi-gpio replacement for RPi.GPIO is only installed from the ./adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py installer. It took quite a while to track this down.
Description
I'd like to propose an alternate solution. Since the /dev/gpiochip* files and lgpio python package are now part of the Debian kernel 1:6.1.63-rpi7-rpi-v8, simply implement the ./microcontroller/bcm283x/pin.py and ./microcontroller/bcm283x/pwmio/PWMOut.py using lgpio directly, and remove the RPi.GPIO code (3 lines) from the ./microcontroller/bcm2711/pin.py package. An updated version is available in pull request 911 and has been tested successfully on a PI5 on this kernel and a PI3B as well, using the pin package directly and also using digitalio.DigitalInOut with no changes to the digitalio package. Also successfully tested the blinka pwmio.PWMOut package. on both platforms.
Additional information
Code changes in pull request 911
The text was updated successfully, but these errors were encountered: