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
Cookie and privacy policy
Schützt vor Cross-Site-Request-Forgery Angriffen.
Speichert die aktuelle PHP-Session.
This website uses cookies to enable certain functions and to improve the offer.
silvestri.geraud@gmail.com
29.04.26 15:18