all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@gnu.org>
To: guix-devel@gnu.org
Subject: Re: acpi, suspend, hibernate
Date: Sat, 28 Mar 2015 21:59:04 +0100	[thread overview]
Message-ID: <20150328205904.GB8346@venom> (raw)
In-Reply-To: <87twx5arzc.fsf@netris.org>

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

On Sat, Mar 28, 2015 at 02:37:11PM -0400, Mark H Weaver wrote:
>ludo@gnu.org (Ludovic Courtès) writes:
>
>> 白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:
>>
>>> I have GuixSD installed on the Gluglug X200 and would like to issue
>>> suspend and hibernate commands. Upon inspecting /proc/acpi however it
>>> seems that this is not built in the current kernel that I have booted.
>>
>> We currently lack the pm-utils package, which provides ‘pm-suspend’
>> (currently I use a script that writes to /sys/power/state as Tomáš
>> suggested.)  Would you like to give it a try?
>
>I wonder if it might be better to implement suspend/resume in dmd, so
>that services could easily define actions to be run before suspend and
>after resume.  I guess the pm-utils approach is to put shell scripts
>into /etc/pm.

I second this idea. Dmd is proper place to implement such actions as
services may benefit from performing actions before suspend or after
resume.

Pm-utils package was collection of hacks and workarounds for broken
hardware. It hopefully won't be needed anymore.

To have the list of options richer, there is also UPower
(http://upower.freedesktop.org/) which is designed to take care of
power management.

Best regards,

S_W

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-03-28 20:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28  1:44 acpi, suspend, hibernate 白い熊@相撲道
2015-03-28  8:01 ` Tomáš Čech
2015-03-28 17:30 ` Ludovic Courtès
2015-03-28 18:37   ` Mark H Weaver
2015-03-28 20:59     ` Tomáš Čech [this message]
2017-07-04  0:45       ` Implement power management (suspend, hibernate, resume) in Shepherd? Mekeor Melire
2017-07-04 19:31         ` Mark H Weaver
2017-07-08 22:09           ` Ludovic Courtès
2017-07-09 12:15         ` Ricardo Wurmus
2015-03-31 12:18     ` acpi, suspend, hibernate Ludovic Courtès
2015-03-31 21:50   ` 白い熊@相撲道

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150328205904.GB8346@venom \
    --to=sleep_walker@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.