Talk:Hibernate-script

From ArchWiki
Revision as of 08:52, 17 October 2009 by Gog (Talk | contribs)

Jump to: navigation, search

Cool that somebody started an article on that. Just by coincidence I also made my experience with Suspend2 tonight. I will add details I discovered soon (NVidia stuff, Sound stuff).


Are you sure about the need of the acpi package? I don't even have it and my system suspends just fine. The powersave package has a dep on acpi, not the hibernate scripts though, AFAIK.

ACPI is definitely not needed. You can run hibernate as a user via sudo. But powersaved >= 1.12 supports hibernate, so you could do it with kpowersave and/or gnome-power-whatever. brain0 04:55, 7 June 2006 (EDT)

As for the possibility of executing the script as a user: Couldn't the permissions of the hibernate script be changed so that members of the "power" group (seems to exist by default) can execute it.


Anyone tried out Gnome Power Manager already - does it play nice with the hibernate scripts?


Has anyone tried suspend to disk with encryption e.g. as described here? Are there other ways to encrypt the suspend image?

Outdated

package kernel26-suspend2 was removed from the official repo. (see here http://bbs.archlinux.org/viewtopic.php?id=38578 )


Pm-utils does now allow specifying the core you want to use. Cleophas 22:12, 27 February 2009 (EST)


Stroke out the outdated parts. Should be rmoved IMHO. kujub 2009-07-22 09:25 +0200

do it. nTia89 05:31, 22 July 2009 (EDT)
done! kujub 2009-07-22 22:25 +0200

ProcSetting no longer supported?

I added

ProcSetting extra_pages_allowance 0

to my hibernate/common.conf. When I then run "hibernate", I get:

hibernate: Unknown configuration option (procsetting)

Using "Hibernate Script 1.99". MSchmarck 14:39, 28 December 2008 (EST)

Interacting with HAL

Hello, I just edited the "Interacting with HAL" section to hopefully show the simplest way to make HAL use hibernate-script, so that desktop power managers will work.
The old solution may not work now that policykit is being used, but I left it in. Jperry 13:30, 31 March 2009 (EST)

grub modification

Perhaps it would be worth mentioning that grub configuration needs to modified as well. It requires resume=/your/root/partition to grub menu as a boot option

Dropping Disk Caches

Adding something like this to common.conf is probably a better idea than writing the command yourself every time:

# Drop disk caches
OnSuspend 00 sync; echo 3 > /proc/sys/vm/drop_caches