Replies: 3 comments 15 replies
-
Thanks for this comprehensive documentation of bookworm issues. @AlvinSchiller the NetworkManager stuff might be especially interesting as well as GPIO. I think we should convert this discussion into an issue (should be possible by a GitHub function) or break it into several topics (the only time I miss epics in GitHub ;) |
Beta Was this translation helpful? Give feedback.
-
@AlvinSchiller did you try rc522 with bookworm? |
Beta Was this translation helpful? Give feedback.
-
Update regarding GPIO: The rpi-lpgio shim seems to have been added to the official repositories: raspberrypi/linux#6037 (comment) It's also worth reading the details from the shim's author down below the thread: raspberrypi/linux#6037 (comment) |
Beta Was this translation helpful? Give feedback.
-
First of all: Thanks a lot to all creators and contributors for developing such a cool project!
I've recently started building a Phoniebox using the future3/main branch on a Raspberry Pi Model 3B with Raspberry Pi OS Bookworm Lite - 32bit, latest kernel (6.6).
I'd like to share some experiences to help others avoid spending as many hours as I did. ;)
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
). Configuringwpa_supplicant
manually is a workaround. I chose to implement a small log watcher to detect such connection problems and fix the config on the fly: https://github.com/hoffie/raspberry-scripts/tree/main/wpa-no-psk-sha256Background: https://waldorf.waveform.org.uk/2022/the-one-where-dave-breaks-stuff.html
This breaks several pieces of a typical Phoniebox. A common error message is
RuntimeError: Failed to add edge detection
when trying to listen for events on GPIOs (e.g. when wiring up buttons or using IRQ pins).Luckily, there are nice workarounds:
dtoverlay=gpio-poweroff,gpiopin=4,active_low=1
in/boot/firmware/config.txt
makes the Raspberry cut power after shutdown without any scripts. The shutdown button can be configured via this project'sgpio.yaml
.wait_for_tag()
(which is required forplay_not_swipe
). I see two ways forward:While at it, I also reworked the code to use named registers instead of hardcoded addresses and to fix an issue in the IRQ handling which caused to IRQ to continuously fire after the first card read. This is what I currently use in my box.
So, some of these findings are related to Debian, some are related to RC522 and some are related to this very project. Let me know if some of those should be documented somewhere and/or if I should create further Issues/PRs.
[ ] Upstream report Debian/NetworkManager
Beta Was this translation helpful? Give feedback.
All reactions