Is actual shutdown even possible?
Posted: 2026-04-05 2:57
Hi! The command seems to only power cycle a Luckfox Pico 2B Mini, and not shut it down. It comes back again immediately, unless the USB cable is disconnected. There is no command.
Is it possible to power it off properly?
If there is no such command, can it be done by C++ code? Like:
Code: Select all
poweroffCode: Select all
shutdownIs it possible to power it off properly?
If there is no such command, can it be done by C++ code? Like:
Code: Select all
#include <unistd.h>
#include <sys/reboot.h>
sync();
reboot(RB_POWER_OFF);