Description
Version
3.5.2
Branch
future/main
OS
RPI OS bookworm lite - 32bit
Pi model
3 B+
Hardware
- Suptronics x400 Soundcard
- MFRC522 RFID Reader
- GPIO buttons
What happened?
After a fresh install of RPI OS bookworm lite, 32-bit with latest future/main
, the GPIO buttons and the RFID reader stopped working (They worked before with the same configuration on an older 2.x installation on RPI OS bullseye).
I saw this discussion thread which confirms this issue, but I wanted to create a dedicated issue for it, to not bloat the discussion topic too much since it covers also other issues of a bookworm/future/main installation.
I can see this relevant log entry:
Exception in thread read_00Thread:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/varac/RPi-Jukebox-RFID/src/jukebox/components/rfid/reader/__init__.py", line 143, in run
self._reader = self._reader_module.ReaderClass(self._reader_cfg_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/varac/RPi-Jukebox-RFID/src/jukebox/components/rfid/hardware/rc522_spi/rc522_spi.py", line 85, in __init__
self.device = pirc522.RFID(bus=spi_bus,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/varac/RPi-Jukebox-RFID/.venv/lib/python3.11/site-packages/pirc522/rfid.py", line 103, in __init__
GPIO.add_event_detect(pin_irq, GPIO.FALLING,
RuntimeError: Failed to add edge detection
In the discussion Sharing tips for future3 on bookworm/kernel 6.6 and upstreaming fixes #2295 @hoffie pointed out possible ways forward but I am missing concrete instructions know how to actually fix this issue on my current installation. Any help welcome, thanks already !
Logs
app.log
errors.log
INSTALL-1710188086.log
Configuration
rfid.yaml.txt
jukebox.yaml.txt
gpio.yaml.txt
More info
No response