Friday, September 27, 2013

Power down the BeagleBone Black using the on board power button

The beaglebone black board has a power button next to the RJ45 ethernet connector. Pressing that button can get the board to cleanly shutdown.

First install acpid:

root@beagle1:/home/james# apt-get install acpid

Now test the shutdown. Press the Power button:

root@beagle1:/home/james#
Broadcast message from root@beagle1 (Fri Sep 27 01:13:49 2013):

Power button pressed
The system is going down for system halt NOW!
Connection to 192.168.1.116 closed by remote host.
Connection to 192.168.1.116 closed.

Installed system was Debian 7.1

james@beagle1:~$ more /etc/debian_version 
7.1
james@beagle1:~$ uname -a
Linux beagle1 3.8.13-bone26 #1 SMP Fri Aug 16 20:56:24 UTC 2013 armv7l GNU/Linux




1 comment:

  1. Hi James. I'm using Ubuntu 14.04 on my BeagleboneBlack. Any way how I can do this on Ubuntu 14.04 ? tried a lot but so far no luck.

    Thanks
    Amien

    ReplyDelete