-
-
Notifications
You must be signed in to change notification settings - Fork 211
Description
NOTE: IF YOU DO NOT ATTACH YOUR LOG FILES, THEN THERE IS A HIGHER PROBABILITY THE ISSUE WON'T BE RESOLVED. (Steps at end)
Please answer the following:
FPP Version and Hardware:
9.2-2-g71597563
Platform: | Raspberry Pi (Pi 5)
FPP OS Build: | v2025-09
OS Version: | Raspbian GNU/Linux 12 (bookworm)
Kernel Version: | 6.12.34+rpt-rpi-v8
Describe the bug and Steps to reproduce:
A clear and concise description of what the bug is and the steps to be taken to reproduce.
I use GPIO inputs to control button presses to activate playlists and other features of the show. I also want to disable button presses during certain times, like during an active show or after hours.
I configure GPIO inputs under 'GPIO Inputs', using "pull up," buttons work as expected. I disable or set the input to an output and the button presses stop working as expected. If I re-enable the input, after disabling, the button presses still fail and are not recognized. When the input is re-enabled, its only configured as "pn" "lo" and can not be set to "pu" "hi". I need to reboot FPP in order for the GPIO Inputs that were disabled to be recognized again.
To Disable the GPIO inputs I have tried:
1). Using command preset GPIO Off/On, to disable the input - this stops the button from working (intended experience)
2). Using the following script - this stops the button from working (intended experience)
#!/bin/sh
###########################################################
GPIO-GPIOInputDisable.sh - Turn off one of the Pi's GPIO Inputs
###########################################################
Set the GPIO number (NOT the pin number)
GPIO="6"
Make sure the pin is setup for output.
/opt/fpp/src/fpp -G ${GPIO},Output
Turn off the pin
/opt/fpp/src/fpp -g ${GPIO},Output,1 (using 1 or 0 does not make a difference)
To Enable the GPIO input after disabling I have tried:
1). Using command preset GPIO Off/On, to enable the input - button press does not work as configured in GPIO Inputs (not intended experience)
2). Using the following script - button press does not work as configured in GPIO Inputs (not intended experience)
#!/bin/sh
###########################################################
GPIO-GPIOInputEnable.sh - Turn on one of the Pi's GPIO Inputs
###########################################################
Set the GPIO number (NOT the pin number)
GPIO="6"
Make sure the pin is setup for input.
/opt/fpp/src/fpp -G ${GPIO},Input
Turn on the pin input
(optional, doesn't make a difference) /opt/fpp/src/fpp -g ${GPIO},Input,(1 or 0)
This script reports using pinctrl get 6: 6 ip pn lo
Example screenshot of command preset for GPIO On/Off/Opposite
Example screenshot of GPIO Inputs
Screenshot of pinctrl
