From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SVWtF-0006iU-HV for garchives@archives.gentoo.org; Fri, 18 May 2012 23:47:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5942E082D; Fri, 18 May 2012 23:47:07 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 63D6BE07A3 for ; Fri, 18 May 2012 23:45:34 +0000 (UTC) Received: by yhp26 with SMTP id 26so3610614yhp.40 for ; Fri, 18 May 2012 16:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=tRcLcOXD+XaOBrtROrteuJpRFlfggUTKmEd1WAqXD1c=; b=0aN8M8e6Vp0GsL0drNhJXPXAXqR4pmZJS9Sfq6A87y0hOQvKb97/BikGYQHjJmJKwl CsK/0ELP6sPxHYGq69pAmojYsXdazE3149F0ur7XWQMGUhVT9saGCCFGXQF7LliLUFfx sZXV3iPFrcfpAe1+yYNLCmRv+34lzM0siX2d57j9b+FBTrgN5vXcm8ETDptvpIfntkpx hOr14VSBHK+BfYsSwXe9Zww7PTHl4TheXCT06QX9t+ty9Pe2+OQZK3NNh/c7xIJTbmo0 GwrbNcKS8Eyy0JzB9E10ublol2cPI9fcTeAZD8aJt/6s94a6X9/Io3GwmBV82bo4ve3G xpeQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.185.10 with SMTP id t10mr14355057yhm.112.1337384733921; Fri, 18 May 2012 16:45:33 -0700 (PDT) Received: by 10.100.117.1 with HTTP; Fri, 18 May 2012 16:45:33 -0700 (PDT) In-Reply-To: References: <4FB367FA.2050705@gmail.com> <1666844.nRWEj7KuYY@localhost> <1353077.oNBOd7Ihih@localhost> Date: Fri, 18 May 2012 18:45:33 -0500 Message-ID: Subject: Re: [gentoo-user] Re: Suspend to {RAM,Disk] From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: Volker Armin Hemmann Cc: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9a019a8e-3076-4071-aeca-1d15718c16c1 X-Archives-Hash: ee160e6d73654c0728092ecd0679cc87 On Fri, May 18, 2012 at 6:36 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Fri, May 18, 2012 at 5:37 PM, Volker Armin Hemmann > wrote: >> Am Freitag, 18. Mai 2012, 17:26:10 schrieb Canek Pel=C3=A1ez Vald=C3=A9s= : >>> On Fri, May 18, 2012 at 5:09 PM, Volker Armin Hemmann >>> >>> wrote: >>> > Am Freitag, 18. Mai 2012, 22:42:59 schrieb Ignas Anikevicius: >>> >> On 18/05/12 20:59, Alex Schuster wrote: >>> >> > Suspend to ram (using the hibernate-ram command from >>> >> > sys-power/hibernate-script) seems to work better. >>> >> >>> >> What about pm-utils? Does it work better or worse than hibernate-scr= ipt. >>> >> I had 0 problems with it during entire usage of linux, whereas with = the >>> >> hibernate script package I had some issues... >>> >> >>> >> And yes, I am usually suspending to ram, but I was just thinking abo= ut >>> >> possibilities to make my computer boot faster in the cases I really = need >>> >> to do a restart. :) >>> >> >>> >> Cheers, >>> >> Ignas >>> > >>> > I just do echo mem > ... or click on the 'Ruhezustand' button in KDE. >>> > Results in the same. Well working suspend-to-ram. With fglrx. X runni= ng >>> > etc pp. >>> With upower to suspend-to-ram you can just: >>> >>> dbus-send --system --print-reply --dest=3D"org.freedesktop.UPower" >>> /org/freedesktop/UPower org.freedesktop.UPower.Suspend >>> >> >> which is way harder to type and memorize than: >> echo mem > /sys/power/state > > Yeah. However, he Dbus method works as a simple user; the > /sys/power/state thing you can only do it as root. At least in my > system. > >>> or use the "Suspend" option in GNOME 3 (GNOME uses upower). That I >>> already knew. What I didn't knew was that >>> >>> dbus-send --system --print-reply --dest=3D"org.freedesktop.UPower" >>> /org/freedesktop/UPower org.freedesktop.UPower.Hibernate >>> >>> works as well for suspend-to-disk. I hadn't hibernated my laptop in >>> ages, it's good to know it still works. I use systemd+> dracut, which I >>> suppose it matters for the hibernate option. >> >> no, not really... > > The restore-from-hibernate requires booting the kernel in a special > way to load the memory state from the swap partition. That requires > special handling from the init process and the initramfs; we had a > discussion some weeks ago about genkernel not handling this correctly. > > Maybe systemd has nothing to do with restore-from-hibernate working (I > don't know) Oh, and less than two weeks ago systemd added suspend/hibernate targets on = git: http://cgit.freedesktop.org/systemd/systemd/commit/?id=3D6edd7d0a09171ea5ae= 8e01b7b1cbcb0bdfbfeb16 Which of course is not necessary for suspend/hibernate to work, but it is cool nonetheless. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico