Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] suspend/resume
Date: Tue, 27 Jun 2006 01:33:21
Message-Id: 7573e9640606261826s75abf8ahd1ce9d438f6fedfe@mail.gmail.com
In Reply to: [gentoo-user] suspend/resume by Grant
1 On 6/26/06, Grant <emailgrant@×××××.com> wrote:
2 > Is there a way to shut the power of my laptop down and then power it
3 > back on and have it resume right where it was when it was powered
4 > down? I think this is called suspend/resume. I see there is a kernel
5 > called suspend2-sources.
6
7 This uses suspend2, which is an externally maintained patch to the
8 kernel [1]. Suspend2 may work better than the in-kernel suspend
9 implementation for some cases.
10
11 I know nothing about the hardened kernel, but you should be able to
12 enable the 'normal' suspend to disk and suspend to ram options. Look
13 under "Power management options..." and turn on "Software Suspend" for
14 suspend-to-disk support. You can also add "ACPI...->Sleep States" for
15 suspend-to-ram.
16
17 I highly recommend merging and using hibernate-script. This is an
18 advanced script that can handle most suspend/standby tasks. Just edit
19 the config file[s] in /etc/hibernate/, and run "hibernate -F
20 <path_to_config>".
21
22 I also recommend getting the ~arch version of hibernate-script, so
23 that you can start off using the new config file layout.
24
25 -Richard
26
27 [1] http://www.suspend2.net/
28 --
29 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] suspend/resume Grant <emailgrant@×××××.com>