2024-02-16, 09:29 PM
I've installed my new MacArthur hat with the new power module and believe it is configured according to the Power Management section on page 8 & 9 of the documentation. The system is functioning and communicating correctly with my IMU, DB18b20 1 wire sensors, etc. I did reboot after configuring the Shutdown management. However, when I power-off with my external switch, it appears to shutdown instantly, meaning all the lights on the MacArthur hat and Raspberry pi turn off instantly. Is this to be expected? I belive the "last -x" command confirms that a gracefull shutdown has not occured!
pi@openplotter:~ $ last -x
runlevel (to lvl 5) 6.1.21-v8+ Fri Feb 16 14:43 still running
pi tty7 :0 Fri Feb 16 14:43 gone - no logout
pi tty1 Fri Feb 16 14:43 gone - no logout
reboot system boot 6.1.21-v8+ Wed Dec 31 19:00 still running
runlevel (to lvl 5) 6.1.21-v8+ Fri Feb 16 14:43 - 14:43 (00:00)
pi tty7 :0 Fri Feb 16 14:43 - crash (-19769+19:43)
pi tty1 Fri Feb 16 14:43 - crash (-19769+19:43)
reboot system boot 6.1.21-v8+ Wed Dec 31 19:00 still running
This is from the [GENERAL] section of the ~/.opneplotter/openplotter.conf file:
shutdown = {'gpio': '21', 'transition': 0, 'pull': 0}
poweroff = {'gpio': '26', 'transition': 1}
How should I troubleshoot and resolve this issue?
pi@openplotter:~ $ last -x
runlevel (to lvl 5) 6.1.21-v8+ Fri Feb 16 14:43 still running
pi tty7 :0 Fri Feb 16 14:43 gone - no logout
pi tty1 Fri Feb 16 14:43 gone - no logout
reboot system boot 6.1.21-v8+ Wed Dec 31 19:00 still running
runlevel (to lvl 5) 6.1.21-v8+ Fri Feb 16 14:43 - 14:43 (00:00)
pi tty7 :0 Fri Feb 16 14:43 - crash (-19769+19:43)
pi tty1 Fri Feb 16 14:43 - crash (-19769+19:43)
reboot system boot 6.1.21-v8+ Wed Dec 31 19:00 still running
This is from the [GENERAL] section of the ~/.opneplotter/openplotter.conf file:
shutdown = {'gpio': '21', 'transition': 0, 'pull': 0}
poweroff = {'gpio': '26', 'transition': 1}
How should I troubleshoot and resolve this issue?