Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: GPIO busy
#3
Hello again,

Thanks Tim for what you achieve with Moode and nevertheless your attention to my previous message. Audiophonics may have nice hardware but software maintenance is mainly a customer job which I did !

In Moode 9,  Rpi.GPIO is implemented through lgpio which leads to subtle differences with the native version. (rpi-lgpio 0.6 Documentation). An accurate control of GPIO pin usage and ownership is now provided leading to a"GPIO busy" error in case of a potential conflict.

In my case, the error was due to one GPIO pin setuped twice (without being first released) even redundantly :

Code:
dtoverlay=gpio-shutdown,gpio_pin=17,active_low=0,gpio_pull=down


de facto setups GPIO 17 as an input and marks is as used (gpioinfo) which conflicts with a later GPIO.setup(17, GPIO.IN) in ther initialisation script.

Voilà !

Best regards,

Philippe

(Sorry not to know how to turn "Problem" into "Solved"
Reply


Messages In This Thread
GPIO busy - by chano22000 - 12-02-2024, 04:26 PM
RE: GPIO busy - by Tim Curtis - 12-02-2024, 06:53 PM
SOLVED : GPIO busy - by chano22000 - 12-05-2024, 12:14 PM
RE: GPIO busy - by Tim Curtis - 12-05-2024, 12:45 PM

Forum Jump: