Open
Description
Describe the bug
Since the update to the following kernel, the "add_event_detect" function from the RPi.GPIO library no longer works.
Linux outdoor enclosurePi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
The program crashes with the following error.
Traceback (most recent call last):
File "/home/pi/scripts/test/./door_limit_switch_states.py", line 48, in <module>
GPIO.add_event_detect(door_limit_switch_top, GPIO.BOTH, callback=all, bouncetime = 20)
RuntimeError: Failed to add edge detection
I use the following Raspberry
Raspberry Pi 4 Model B Rev 1.5
Steps to reproduce the behaviour
Update to the actual kernel and try the RPi.GPIO library function "add_event_detect"
Device (s)
Raspberry Pi 4 Mod. B
System
Raspberry Pi reference 2023-10-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, fb56ad562991cf3ae5c96ab50983e1deeaefc7b6, stage2
Feb 29 2024 12:24:53
Copyright (c) 2012 Broadcom
version f4e2138c2adc8f3a92a3a65939e458f11d7298ba (clean) (release) (start)
Logs
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels