From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: acpi, suspend, hibernate Date: Sat, 28 Mar 2015 18:30:43 +0100 Message-ID: <877fu158sc.fsf@gnu.org> References: <4157721eb7315db31a3b8ecfbab4adc3@hcoop.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbuZT-0001pQ-Jh for guix-devel@gnu.org; Sat, 28 Mar 2015 13:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbuZP-0003Dg-Iz for guix-devel@gnu.org; Sat, 28 Mar 2015 13:30:55 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbuZP-0003Dc-Fp for guix-devel@gnu.org; Sat, 28 Mar 2015 13:30:51 -0400 In-Reply-To: <4157721eb7315db31a3b8ecfbab4adc3@hcoop.net> (=?utf-8?B?Ig==?= =?utf-8?B?55m944GE54aK77yg55u45pKy6YGTIidz?= message of "Sat, 28 Mar 2015 02:44:42 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?55m944GE54aK77yg55u45pKy6YGT?= Cc: guix-devel@gnu.org =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B=B8=E6=92=B2=E9=81=93 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 =E2=80=98pm-suspend= =E2=80=99 (currently I use a script that writes to /sys/power/state as Tom=C3=A1=C5=A1 suggested.) Would you like to give it a try? > Do I need to add some acpi, acpi-service etc. to config.scm and > reconfigure? Could someone specify what exactly is needed? We also lack a service to run acpid. You=E2=80=99re welcome to try it as w= ell ;-). The main thing is that it requires studying a bit acpid=E2=80=99s opt= ions and possibly provide an API for the /etc/acpi/events rules. Thanks, Ludo=E2=80=99.