[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: acpi, suspend, hibernate
From: |
Ludovic Courtès |
Subject: |
Re: acpi, suspend, hibernate |
Date: |
Tue, 31 Mar 2015 14:18:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> address@hidden (Ludovic Courtès) writes:
>
>> 白い熊@相撲道 <address@hidden> 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.
Good point, and this would be quite easy.
I wonder where things like X session locking should take place though.
(I guess this is one of the things that ConsoleKit and its replacements
took care of.)
Thoughts?
Ludo’.