I'm experiencing a critical issue with the JoyPi Advanced joystick on Raspberry Pi 4 Model B (kernel 6.12.62). The ADC fails with "GPIO busy" error.
SYSTEM: - Pi 4 Model B Rev 1.5 - Raspberry Pi OS Bookworm (Debian 12) - Kernel: 6.12.62+rpt-rpi-v8 - Python 3.13.5 - JoyPiAdvanced 0.0.0
PROBLEM: The kernel SPI driver claims GPIO8 as "spi0 CS0", preventing the JoyPi library from accessing it.
ERROR:
Hello JoyPi Support,
I'm experiencing a critical issue with the JoyPi Advanced joystick on Raspberry Pi 4 Model B (kernel 6.12.62). The ADC fails with "GPIO busy" error.
SYSTEM: - Pi 4 Model B Rev 1.5 - Raspberry Pi OS Bookworm (Debian 12) - Kernel: 6.12.62+rpt-rpi-v8 - Python 3.13.5 - JoyPiAdvanced 0.0.0
PROBLEM: The kernel SPI driver claims GPIO8 as "spi0 CS0", preventing the JoyPi library from accessing it.
ERROR: lgpio.error: 'GPIO busy'
ROOT CAUSE: The spi-cs-extend device tree overlay fails to load: $ sudo dtoverlay spi-cs-extend
Failed to apply overlay '0_spi-cs-extend' (kernel)
ATTEMPTED SOLUTIONS (ALL FAILED): - Added user to spi/gpio groups - Disabled shutdown.service - Recompiled overlay from joy-it.net - Rebooted multiple times - Ran installJoyPiAdvanced.sh
Even the official example code fails: /opt/Joy-Pi/joypiadvanced/data/knowledgebase/data/joystick/raspberrypi/code/joystick.py
QUESTIONS: 1. Is spi-cs-extend compatible with kernel 6.12? 2. Can you provide an updated overlay for modern kernels? 3. Is there an alternative configuration for Pi 4 with current OS?
The overlay exists at /boot/firmware/overlays/spi-cs-extend.dtbo (dated Mar 16 2024) but kernel rejects it.
Full diagnostics available if needed. Thank you for your help!
ATTEMPTED SOLUTIONS (ALL FAILED): - Added user to spi/gpio groups - Disabled shutdown.service - Recompiled overlay from joy-it.net - Rebooted multiple times - Ran installJoyPiAdvanced.sh
Even the official example code fails: /opt/Joy-Pi/joypiadvanced/data/knowledgebase/data/joystick/raspberrypi/code/joystick.py
QUESTIONS: 1. Is spi-cs-extend compatible with kernel 6.12? 2. Can you provide an updated overlay for modern kernels? 3. Is there an alternative configuration for Pi 4 with current OS?
The overlay exists at /boot/firmware/overlays/spi-cs-extend.dtbo (dated Mar 16 2024) but kernel rejects it.
Full diagnostics available if needed. Thank you for your help!
silvestri.geraud@gmail.com
29.04.26 15:18
Hello Silvestri,
it looks like this is not an issue with the Joy-Pi Software. I was also not able to reproduce your error.
Have you already tried reinstalling the Raspberry Pi OS on your SD card? Maybe with another version?
Best regards Jens
Jens
04.05.26 08:34
Cookie- und Datenschutzhinweise
Schützt vor Cross-Site-Request-Forgery Angriffen.
Speicherdauer: Dieses Cookie bleibt nur für die aktuelle Browsersitzung bestehen.
Speichert die aktuelle PHP-Session.
Speicherdauer: Dieses Cookie bleibt nur für die aktuelle Browsersitzung bestehen.
Diese Webseite verwendet Cookies, um bestimmte Funktionen zu ermöglichen und das Angebot zu verbessern.
silvestri.geraud@gmail.com
29.04.26 15:18
Jens
04.05.26 08:34