Hi,
I’ve found another issue when trying to potentially use Balena for our product.
For some reason, the gpio-shutdown dtoverlay isn’t working as expected.
I have the following dtoverlay configured as the device configuration under HOST_CONFIG_dtoverlay
"spi1-3cs","gpio-shutdown,gpio_pin=26,active_low=1,gpio_pull=up","gpio-poweroff,gpiopin=25,active_low='y'"
This sets 3 overlays we require, SPI1 being enabled, GPIO shutdown triggered when a button on pin 26 is pulled low and a Power LED to indicate when the Compute Module 3 shuts down on GPIO25.
SPI works fine, and the Power LED also acts as expected, however GPIO Shutdown does not.
Upon pressing the button to shut down, the device does indeed shut down, but seems to striaght away power back up.
I’m 99% certain this isn’t a hardware issue as when testing on a native Raspberry Pi OS installation once it shuts down it stays in a halted state ready for the user to unplug the device.
Using balenaOS 2.65.0+rev1, supervisor 12.2.11 on balena-staging.