Thank you for your donation!


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


Solved: Shutdown hardware button issue
#1
Hello.
I have a problem with adding a hardware shutdown button. I am using a CM4 module and my own expansion board.
I have modified the config.txt file by adding
dtoverlay=gpio-shutdown
gpio3 pulled up to 3.3V, button between gpio3 and ground.
Moode Audio 9.1.4 no reaction to pressing the button. When I change the SD card with another system, the system shuts down after pressing the button. Pressing it again restarts the system, so I assume the hardware is OK.
I also tried to enable button support in the Moode settings, without success. I also changed the gpio pin, without effect.
Reply
#2
I found a solution. I commented out one line in the config.txt file
#dtparam=i2c_arm=on
I2c enabled was blocking gpio3 from working.
Reply


Forum Jump: