HoaryPMResults contains the known state of support at present.
Suspend/resume requires kernel 2.6.10 and acpi-support 0.11 or later (Hoary ships with both). You will need to reboot after installing acpi-support.
To enable suspend to RAM on Hoary, edit /etc/default/acpi-support and uncomment the second line (ACPI_SLEEP=true).
To enable suspend to disk on Hoary, edit /boot/grub/menu.lst and go to the line starting #kopt. Add resume=/dev/hda2, replacing hda2 with the name of your swap partition. For reference, mine looks like this:
# kopt root=/dev/hda1 resume=/dev/hda2 ro
Now run sudo update-grub and reboot.
To suspend to RAM, either press your machine's sleep button or run {sudo /etc/acpi/sleep.sh. To suspend to disk, either press your machine's hibernate button or run sudo /etc/acpi/hibernate.sh. The buttons may not work on all machines. Code will shortly be added to Gnome to let you suspend from the menu rather than having to run scripts by hand.
Warning: this code is still experimental and may fail in all sorts of ways. Do not try this while you have any unsaved work.
Other options are available in /etc/default/acpi-support - if suspend or resume fails, try playing with them. Once you've tested things, see [HoaryPMResults] and add your results. If you've enabled 3D drivers from ATI or nVidia and it fails, try also without them.
From JeromeS.Gotangco Tue Mar 22 07:22:29 +0000 2005 From: Jerome S.
Gotangco Date: Tue, 22 Mar 2005 07:22:29 +0000 Subject: commands
Message-ID: <20050322072229+0000@ https://www.ubuntulinux.org>
just made a check on this, it actually works in my laptop but the commands are sudo /etc/acpi/hibernate.sh and sudo /etc/acpi/sleep.sh respectively
From MatthewCaron
Thu Apr 7 23:27:00 +0100 2005 From: Matthew Caron Date: Thu, 07 Apr
2005 23:27:00 +0100 Subject: Power Management + ATI Binary Drivers
Message-ID: <20050407232700+0100@ https://www.ubuntulinux.org>
This does not play nicely with the ATI binary drivers (fglrx). The screen gets filled with garbage when the machine restores. This is not an Ubuntu but, but an ATI bug.
Aside from that, it works perfectly on my ThinkPad R50p.
From BlaineDonley
Thu May 19 08:01:17 +0100 2005 From: Blaine Donley Date: Thu, 19 May
2005 08:01:17 +0100 Subject: Slight Modification Message-ID:
<20050519080117+0100@ https://www.ubuntulinux.org>
I found that this doesn't work on my machine (Dell Latitude D810). I had to write:
# kopt=root=/dev/hda1 resume=/dev/hda2 ro
Otherwise, when I run update-grub, the line is overwritten with it's previous contents. Notice that there is a '=' between kopt and root. There is also a '#' in front of the entire line.
From SimonP.Ditner Sun May 29 15:43:50 +0100 2005 From: Simon P.
Ditner Date: Sun, 29 May 2005 15:43:50 +0100 Subject: Associating
hibernate/sleep with buttons/laptop lid Message-ID:
<20050529154350+0100@ https://www.ubuntulinux.org>
In /etc/acpi/events, you will find a set of configuration files, which tell the system which script to call in /etc/acpi upon receiving an event. Changes to the config files require a reboot (acpid reload doesn't seem to do the trick)
CategoryDocumentation CategoryCleanup