Raspberry Pi 5 soft shutdown to HAT through GPIO pin 31

Hello, im making a cellular hotspot using a raspberry pi 5, but i noticed that i have to either shut the cellular HAT off manually, or i have to somehow send an off signal to the GPIO 31 pin, i found that adding "dtoverlay=gpio-poweroff,gpiopin=31,active_high" to the "/boot/firmware/config.txt" file is supposed to work, can anybody verify this. I havent ordered the raspberry pi 5 and want to verify this with somone before committing to it.

Raspberry Pi 5 with SIM7600G-H 4G HAT, using 2 IPEX1 to SMA cables to connect 2 antennas im mounting on the custom enclosure im making,
with the AWUS036AXML Alfa adapter as an access point.
image.png
Was this page helpful?