From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51103-garchives=archives.gentoo.org@gentoo.org>)
	id 1GOJIs-0004QO-IY
	for garchives@archives.gentoo.org; Fri, 15 Sep 2006 19:24:46 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8FJO3nJ011164;
	Fri, 15 Sep 2006 19:24:03 GMT
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8FJJXSE000028
	for <gentoo-user@lists.gentoo.org>; Fri, 15 Sep 2006 19:19:34 GMT
Received: by ug-out-1314.google.com with SMTP id p27so185619ugc
        for <gentoo-user@lists.gentoo.org>; Fri, 15 Sep 2006 12:19:33 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id;
        b=O12bnzIo3MBRD7X3lgr9EBZyiQxny/ptEqE2EsHjJXKiNMfE4eV5ch0VkEHhrsOuovEJjMvXiRgogiVPBFSZsRjc3VKXe4yNJibbbSjnJ8AlJRPHAfl48eXECxX8aVMTIwi0WqUPfaT4r56P+9HLre1G2s1q/j+6IFrxdIARILE=
Received: by 10.67.93.7 with SMTP id v7mr5587960ugl;
        Fri, 15 Sep 2006 12:19:33 -0700 (PDT)
Received: from ?192.168.0.5? ( [213.162.120.196])
        by mx.gmail.com with ESMTP id b23sm1385326ugd.2006.09.15.12.19.32;
        Fri, 15 Sep 2006 12:19:33 -0700 (PDT)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Power butten
Date: Fri, 15 Sep 2006 20:22:11 +0100
User-Agent: KMail/1.9.1
References: <200609141817.16902.gentoo@kd4ccd.dynalias.org> <200609151147.38748.michaelkintzios@gmail.com> <200609151258.47032.bo.andresen@zlin.dk>
In-Reply-To: <200609151258.47032.bo.andresen@zlin.dk>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart2862781.pLd8BIGWae";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200609152022.28532.michaelkintzios@gmail.com>
X-Archives-Salt: 499ba4ee-7788-4c78-8baa-1ef848a490a1
X-Archives-Hash: 971800e7e0e34946e245fee8bda44c81

--nextPart2862781.pLd8BIGWae
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 15 September 2006 11:58, Bo =C3=98rsted Andresen wrote:

> Perhaps [1] will give you a clue. Otherwise feel free to ask again.
>
> [1]
> http://gentoo-wiki.com/HOWTO_Shutdown_headless_server_when_power-button_p=
re
>ssed

Thanks!  I hadn't spotted this article.  I've tried adding the following tw=
o=20
lines in /etc/acpid/event/default but nothing much happened (as per the log=
=20
further down):

event=3Dbutton[ /]power.*
action=3D/usr/sbin/hibernate-ram

This is the log:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D> /var/log/acpid <=3D=3D
[Fri Sep 15 19:59:26 2006] received event "button/sleep C1A3 00000080=20
00000006"
[Fri Sep 15 19:59:26 2006] executing action "/etc/acpi/default.sh button/sl=
eep=20
C1A3 00000080 00000006"
[Fri Sep 15 19:59:26 2006] BEGIN HANDLER MESSAGES
[Fri Sep 15 19:59:26 2006] END HANDLER MESSAGES
[Fri Sep 15 19:59:26 2006] action exited with status 0
[Fri Sep 15 19:59:26 2006] completed event "button/sleep C1A3 00000080=20
00000006"

=3D=3D> /var/log/messages <=3D=3D
Sep 15 19:59:26 lappy logger: ACPI event unhandled: button/sleep C1A3 00000=
080=20
00000006
Sep 15 19:59:26 lappy logger: ACPI event unhandled: button/sleep C1A3 00000=
080=20
00000006
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

It's as if the two lines I've added were ignored.

This is what dmesg shows about C1A3:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# dmesg | grep -i C1A3
ACPI: Sleep Button (CM) [C1A3]
C052 C17E C185 C0A4 C0AA C19F C1A0 C1A3 C1A4
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

What now?
=2D-=20
Regards,
Mick

--nextPart2862781.pLd8BIGWae
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFCv105Fp0QerLYPcRAvgrAKDEkH3iPGAsA/Plbv7oaTWXN+1aEACgxARj
UCpzm0cPW8Fg8+UB/Ixwa98=
=VDx5
-----END PGP SIGNATURE-----

--nextPart2862781.pLd8BIGWae--
-- 
gentoo-user@gentoo.org mailing list