audio-box/docs/noxbox-phase-1.3-Power-Button.md

20 lines
1.1 KiB
Markdown

# This describes the story of trying to get the Pi to shutdown and reboot using a single power-button
## Findings:
- gpio-shutdown interferes with I2C pin, we need to either move gpio-shutdown or i2c to different pins
- GLOBAL_EN does not seem to be useful to send a halt signal, shorting it to ground is equivalent to disconnecting the power (somehow) and thus will allow it to boot up, and hard-reset but thats it
# Things modded:
- Installed the rpi-eeprom package documentation from Rpi themselves [here](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-bootloader-configuration)
```To view the current EEPROM configuration:
rpi-eeprom-config
To edit it and apply the updates to latest EEPROM release:
sudo -E rpi-eeprom-config --edit```
## References
- [gpio-shutdown overlay and low power state](https://github.com/seamusdemora/PiFormulae/blob/master/LoPwrOneButtonStartStop.md)
- [Stackexchange discussion refering to link above and GLOBAL_EN](https://raspberrypi.stackexchange.com/questions/117013/raspberry-pi-4-b-gpio-boot-and-shutdown-buttons)