Enabling the powerbutton in Ubuntu Server 10.04 on an AMD box

While shutdown –h does the trick of shutting down a server just fine, occasionally I’d prefer the haptic version. While I’ve never had problems getting the powerbutton to work with Ubuntu desktop versions, it didn’t work out of the box on my AMD Athlon XP.
Fortunately the solution seems to be quite simple:

sudo apt-get install apmd
sudo apt-get install acpid

I also had to edit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="acpi=force acpi_osi=Linux"


sudo update-grub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.