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.

2 Replies
are you asking how to turn off the rpi? you can run
sudo shutdown 0 or you can use the power button or you can pull the power cordNo i am asking if someone can fact check if adding the command into the file stated in my post would work for soft shutting down the 4g HAT since it needs soft shutdown to not damage the drivers
its the pi os config file, the command is supposed to configure soft shutdown for the sim7600G-H.