If possible, I would like to shutdown or wake up the Odroid N2 using a GPIO button. I followed the guide here: https://wiki.odroid.com/odroid-n2/application_note/gpio/gpio_key_wakeup. The button LED works, but the button does not trigger shutdown or wake up using pin 9 and 11. Has anyone gotten a power button to work on the Odroid N2? Is there a specific Odroid module/software that isn't installed by default in Armbian?
Additions to /boot/boot.ini
setenv gpiopower "479"
setenv bootargs ${bootargs} gpiopower=${gpiopower}
After these additions, /proc/cmdline shows "gpiopower=479" as expected.
I'm running Armbian 21.02.2 Buster on the Odroid N2 (kernel 5.10.16-meson64), running headless with OS installed on eMMC.
The power button and led hardware is functioning as expected when tested with a multi-meter.
Thank you!