2007-04-09

How To Turn It Off

Well, I've got an OLPC btest2 unit. Due to circumstances surrounding the wireless card being DOA, I'm going to be shipping it back to the OLPC folks tomorrow.

In the meantime, I've been exploring the operating system and have discovered that turning the machine off is sometimes problematic, and have decided to document the procedure.

If you are in X, running the sugar interface, you can turn the machine off cleanly by pressing the power button.

If you are not in X, the following things have the following outcomes:

Pressing Power Button: Nothing.
Pressing Power Button for 10 seconds: Machine will hard power off.
$ halt: Machine will stop operating system and remain power on.
$ shutdown now: Machine will go to runlevel 1.
$ shutdown -h now: Machine will shutdown and power off cleanly.
$ poweroff: Machine will shutdown and power off cleanly.

In conclusion. use poweroff or shutdown -h now to turn the XO off while not in X.

See #513 for some more details if curious.

1 comment:

Chris said...

Someone just rewrote olpc-hardware-manager in C, so it can run as a daemon outside of X.