++bahjatk++ wrote:If I do a "sudo halt" will the power go off ?
Power is not switched - in fact quite a bit is involved in making your average PC switch itself off after shutdown, and indeed getting it to come back up after that with a push button.
Not quite as much as having the power button on an Apple keyboard.
So applying power to your Pi starts it booting, by asserting a power-on-reset.. Halt puts it into a shutdown state, in which nothing useful is happening
Taking the RST pin to 0v (on Rev 2) asserts the same power-on-reset, and so initiates the boot.
Connecting pin 5 to 0v (pin 6) restarts the boot sequence part way through.
So it wakes itself up, more-or-less the same as if you'd just connected the power.