Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Suspend to {RAM,Disk]
Date: Fri, 18 May 2012 22:28:10
Message-Id: CADPrc82bxyNOdXwgTBn_rGBTavAPRcFdXyt9A-=vBKarCikyhQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Suspend to {RAM,Disk] by Volker Armin Hemmann
1 On Fri, May 18, 2012 at 5:09 PM, Volker Armin Hemmann
2 <volkerarmin@××××××××××.com> wrote:
3 > Am Freitag, 18. Mai 2012, 22:42:59 schrieb Ignas Anikevicius:
4 >> On 18/05/12 20:59, Alex Schuster wrote:
5 >> > Suspend to ram (using the hibernate-ram command from
6 >> > sys-power/hibernate-script) seems to work better.
7 >>
8 >> What about pm-utils? Does it work better or worse than hibernate-script.
9 >> I had 0 problems with it during entire usage of linux, whereas with the
10 >> hibernate script package I had some issues...
11 >>
12 >> And yes, I am usually suspending to ram, but I was just thinking about
13 >> possibilities to make my computer boot faster in the cases I really need
14 >> to do a restart. :)
15 >>
16 >> Cheers,
17 >> Ignas
18 >
19 > I just do echo mem > ... or click on the 'Ruhezustand' button in KDE. Results
20 > in the same. Well working suspend-to-ram. With fglrx. X running etc pp.
21
22 With upower to suspend-to-ram you can just:
23
24 dbus-send --system --print-reply --dest="org.freedesktop.UPower"
25 /org/freedesktop/UPower org.freedesktop.UPower.Suspend
26
27 or use the "Suspend" option in GNOME 3 (GNOME uses upower). That I
28 already knew. What I didn't knew was that
29
30 dbus-send --system --print-reply --dest="org.freedesktop.UPower"
31 /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
32
33 works as well for suspend-to-disk. I hadn't hibernated my laptop in
34 ages, it's good to know it still works. I use systemd+dracut, which I
35 suppose it matters for the hibernate option.
36
37 Regards.
38 --
39 Canek Peláez Valdés
40 Posgrado en Ciencia e Ingeniería de la Computación
41 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] Re: Suspend to {RAM,Disk] Volker Armin Hemmann <volkerarmin@××××××××××.com>