Re: How do I suspend to disk
Just as an add-on to what Djoume has just written, you can also use the
Although is says it only supports Software Suspend 2, it works with
suspend-to-disk too [you have to modify the config file though]. It
provides a nice way to tailor the script to your requirements (stopping
sound appications, taking care of mounted network share, ect.).
Djoume SALVETTI wrote:
Le vendredi 03/04/05 Wee-Jin Goh <firstname.lastname@example.org> a écrit :
If anyone is able to post or point out some relevant information on
getting suspend to disk working on the Powerbook 12", I'd be grateful.
1) patch your kernel with Guido Guenther swsusp patch :
3) Change your yaboot.conf to add resume=your_swap_partition kernel
parameter (don't forget ybin after)
4) Then you can suspend with the following script :
echo disk > /sys/power/state
5) After resume you can do something like :