27 Jan 2021, 16:35

Hi all,

I'm trying to get the power button working of the OKDO Power-HAT Case on the RPi4.

On Raspberry Pi OS works with:

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

I tried to put these lines in config.txt but does not work.
An help would be appreciated, I'm not so expert on this kind of stuff.

Thanks!