Skip to content
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

Replace RPi.GPIO with rpi-lgpio for V3 future3 #2470

Open
wants to merge 1 commit into
base: future3/develop
Choose a base branch
from

Conversation

s-martin
Copy link
Collaborator

@s-martin s-martin commented Dec 22, 2024

Following the discussion in #2313 replacing RPi.GPIO with rpi-lgpio

@hoffie @varac

@s-martin s-martin added bug future3 Relates to future3 development labels Dec 22, 2024
@s-martin s-martin added this to the v3.6 milestone Dec 22, 2024
@s-martin s-martin linked an issue Dec 22, 2024 that may be closed by this pull request
@s-martin
Copy link
Collaborator Author

Anybody using a RC522 reader is welcome to test the change (also #2469 if you use V2) as I don't have a RC522 reader.

@pabera
Copy link
Collaborator

pabera commented Dec 27, 2024

Is the API interchangeable? It seems easy, but should be tested with some default components

pabera

This comment was marked as duplicate.

@@ -30,6 +30,8 @@ _jukebox_core_install_python_requirements() {
source "$VIRTUAL_ENV/bin/activate"

pip install --upgrade pip
# Remove RPi.GPIO, if still installed - see https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2313
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good idea, but I don't think we need it. Our installation does not qualify for reinstallation anyways. It should not be installed by default.

@s-martin
Copy link
Collaborator Author

s-martin commented Jan 3, 2025

Just thought about checking the installed package (and making sure RPi.GPIO is not installed) at least in the CI, but I realized that we don’t have these CI checks in future3 yet.

@s-martin
Copy link
Collaborator Author

s-martin commented Jan 3, 2025

I think for future3 to fix the rc522 issues https://github.com/hoffie/pi-rc522-gpiozero would be a good solution as we use gpiozero anyway in future3.

@pabera @AlvinSchiller

@s-martin
Copy link
Collaborator Author

s-martin commented Jan 12, 2025

Added task to build rpi-lgpio manually on Bullseye - some users already tried to install on Bullseye (#2481 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug future3 Relates to future3 development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 | bookworm/kernel 6.6 GPIO: Failed to add edge detection
3 participants