Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
it seems like we need to register a pm_power_off callback to handle power，or do something in machine_power_off()
SYSCALL_DEFINE4(reboot,……) ->kernel_power_off() ->machine_power_off()
any progress here?
btw. power consumption does not change between running system and halted system via poweroff-command, so i assume that only the init-part of OS (stopping services, umounting filesystems, ...) is done but nothing hardware-specific
link to forum just for reference: http://forum.banana-pi.org/t/shutdown-does-not-poweroff/3866/