Getting the PiPAD 7" screen case power button to work.

Hi, I have a PiPAD case for the Pi and 7" screen which has a power button on the back.
It comes with these instructions for making the button work on raspbian:


Can I get some help getting it to work in my balena project?
I am running a version of x11-window-manager updated to balenalib/raspberrypi3-64:bullseye.
Thanks.

Hi

According to the instructions you shared, you need to set the correct dtoverlay for your peripheral

You can find out how to do this here

Note that since you have 2 entries for the dtoverlay, You would need to set the value to

"gpio-poweroff,gpiopin=18,active_low=0","gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up"

Hope this helps

Thanks