Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Power butten
Date: Fri, 15 Sep 2006 19:24:46
Message-Id: 200609152022.28532.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Power butten by "Bo Ørsted Andresen"
1 On Friday 15 September 2006 11:58, Bo Ørsted Andresen wrote:
2
3 > Perhaps [1] will give you a clue. Otherwise feel free to ask again.
4 >
5 > [1]
6 > http://gentoo-wiki.com/HOWTO_Shutdown_headless_server_when_power-button_pre
7 >ssed
8
9 Thanks! I hadn't spotted this article. I've tried adding the following two
10 lines in /etc/acpid/event/default but nothing much happened (as per the log
11 further down):
12
13 event=button[ /]power.*
14 action=/usr/sbin/hibernate-ram
15
16 This is the log:
17 ========================================
18 ==> /var/log/acpid <==
19 [Fri Sep 15 19:59:26 2006] received event "button/sleep C1A3 00000080
20 00000006"
21 [Fri Sep 15 19:59:26 2006] executing action "/etc/acpi/default.sh button/sleep
22 C1A3 00000080 00000006"
23 [Fri Sep 15 19:59:26 2006] BEGIN HANDLER MESSAGES
24 [Fri Sep 15 19:59:26 2006] END HANDLER MESSAGES
25 [Fri Sep 15 19:59:26 2006] action exited with status 0
26 [Fri Sep 15 19:59:26 2006] completed event "button/sleep C1A3 00000080
27 00000006"
28
29 ==> /var/log/messages <==
30 Sep 15 19:59:26 lappy logger: ACPI event unhandled: button/sleep C1A3 00000080
31 00000006
32 Sep 15 19:59:26 lappy logger: ACPI event unhandled: button/sleep C1A3 00000080
33 00000006
34 ========================================
35
36 It's as if the two lines I've added were ignored.
37
38 This is what dmesg shows about C1A3:
39 ========================================
40 # dmesg | grep -i C1A3
41 ACPI: Sleep Button (CM) [C1A3]
42 C052 C17E C185 C0A4 C0AA C19F C1A0 C1A3 C1A4
43 ========================================
44
45 What now?
46 --
47 Regards,
48 Mick

Replies

Subject Author
Re: [gentoo-user] Power butten "Nico Schümann" <nico.schuemann@××××××××××.com>