Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 'Hibernate' by power button
Date: Fri, 16 Feb 2007 20:42:19
Message-Id: 200702162036.11472.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] 'Hibernate' by power button by Raymond Lewis Rebbeck
1 On Friday 16 February 2007 19:49, Raymond Lewis Rebbeck wrote:
2 > On Saturday, 17 February 2007 6:08, Mick wrote:
3
4 > > Can you spot anything out of place?
5 >
6 > Your configs seem to all be in order.
7 >
8 > Are you sure that the acpid init script has been started?
9
10 I am sure it is running alright:
11 ==================================
12 # rc-update -s -v | grep -i acpid
13 acpid | default
14 ==================================
15
16 > Also try checking your logs while pressing the hibernate button and acpid
17 > should output what it is doing and what acpi events it is receiving, you
18 > can view this on vt12.
19
20 Thanks. It seems that my syslog-ng is configured different to yours (I guess
21 some more awful hacking to get xconsole to work is to blame for this) and
22 nothing relevant to acpid is shown on vt12. However, tail -f /var/log/acpid
23 showed a couple of errors which I fixed - bar the last one which says:
24
25 [Fri Feb 16 20:30:55 2007] BEGIN HANDLER MESSAGES
26 /etc/acpi/default.sh: line 57: syntax error: unexpected end of file
27
28 The last few of lines of my /etc/acpi/default.sh show this much:
29 ==================================
30 ac_adapter)
31 case "$value" in
32 # Add code here to handle when the system is unplugged
33 # (maybe change cpu scaling to powersave mode)
34 #*0)
35 # ;;
36
37 # Add code here to handle when the system is plugged
38 in
39 # (maybe change cpu scaling to performance mode)
40 #*1)
41 # ;;
42
43
44 *) log_unhandled $* ;;
45 esac
46 ==================================
47
48 What's your's like?
49 --
50 Regards,
51 Mick

Replies

Subject Author
Re: [gentoo-user] 'Hibernate' by power button Alex Schuster <wonko@×××××××××.org>