Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] suspend/hibernate and genkernel.
Date: Wed, 14 Mar 2012 03:23:21
Message-Id: CADPrc809KpnHkqozygr_xQ-X_W6=MDtE=bnZjQBHAQAbbSRGag@mail.gmail.com
In Reply to: [gentoo-user] suspend/hibernate and genkernel. by William Kenworthy
1 On Tue, Mar 13, 2012 at 9:13 PM, William Kenworthy <billk@×××××××××.au> wrote:
2 > I am trying to get my system(s) ready for the new (read crappy) way
3 > mandated by udev and am having some issues.
4 >
5 > I usually manually compile my kernels, use tuxonice  and dont use an
6 > initrd/initramfs.
7 >
8 > As ToI is not available for the latest kernels, I updated openrc and
9 > installed genkernel but then found I couldnt use in-kernel suspend to
10 > disk - googling implies that genkernel doesnt support suspend/hibernate
11 > but there are various kludges to get it to work.
12 >
13 > So whats the least invasive, but workable kludge?
14 >
15 > hibernate, pmhibernate, swsuspend, uswsuspend, ...
16 >
17 > Are there any (up to date) docs?
18
19 Hi; not sure if it will help you, but I have been using
20 vanilla-sources since forever (sys-kernel/vanilla-sources-2.6.30.3,
21 since Aug 29, 2009), and my laptop suspends and resumes pretty much
22 always without any issue. I don't use genkernel: I manually configure
23 and compile my kernels since always, and I use dracut for my
24 initramfs.
25
26 Anyhow; suspend/resume should be orthogonal to an initramfs, since the
27 first has nothing to do with the second. I don't know about hibernate
28 (it's been years since I hibernated my laptop), but it should be
29 similar, I think.
30
31 In my laptop, GNOME does the suspend for me, but it calls pm-suspend
32 (I believe) from pm-utils.
33
34 Regards.
35 --
36 Canek Peláez Valdés
37 Posgrado en Ciencia e Ingeniería de la Computación
38 Universidad Nacional Autónoma de México