GPIO on Banana Pi: the RPi.GPIO and WiringPi ports only do simple I/O, and BCM numbers are translatedwarning · unverified · Banana Pi's docs point to ports of WiringPi (with gpio readall) and RPi.GPIO for boards like the BPI-M5, M2S, M4 Zero and F3. The RPi.GPIO port states that only simple I/O works — PWM, events and analog read are not implemented — apps need root, and BCM numbers are mapped to Banana Pi pins internally.
RPi.GPIO edge detection broke with kernel 6.6 (not only on Pi 5): switch to rpi-lgpio or gpiozerowarning · unverified · Since Raspberry Pi's 6.6 kernel, global GPIO numbers start at 512 instead of 0, and RPi.GPIO calls such as add_event_detect fail even on a Pi 4. Raspberry Pi engineers point to rpi-lgpio (same API, apt package python3-rpi-lgpio) or gpiozero. On Pi 5 the header GPIOs moved from gpiochip4 to gpiochip0.
Raspberry Pi pin numbering: GPIO (BCM) numbers vs physical header pinsguide · unverified · 'Pin 17' means different things: BCM/GPIO numbering names the SoC signal, BOARD numbering counts header positions. gpiozero always works in BCM numbering and accepts 'BOARD11' or 'J8:11' as translations. Mixing the two is a classic wiring bug.
Related
alternative to (from): rpi-lgpio – Drop-in replacement with the same module name; both cannot be installed in one Python environment.