Gentoo Archives: gentoo-laptop

From: Devon Miller <devon.c.miller@×××××.com>
To: gentoo-user@l.g.o, gentoo-laptop@l.g.o
Subject: [gentoo-laptop] ACPI and HP Pavilion laptop
Date: Sun, 03 Sep 2006 15:21:07
Message-Id: c52221f0609030817t14033e4amf6f5682233a5672e@mail.gmail.com
1 In the course of updating to 2006.1, sys-power/acpid got remerged and in
2 merging some changes to /etc/acpid/default.sh.
3 I decided to try getting it to work again. I currently have it working for
4 the power button and for the lid open/close events. But I'm stumped when it
5 comes to AC vs battery.
6
7 My laptop generates these events when going from AC to battery:
8
9 processor CPU0 00000080 00000000
10 processor CPU0 00000080 00000000
11 processor CPU0 00000080 00000000
12 battery BAT0 00000080 00000001
13 battery BAT0 00000081 00000001
14
15 And when AC is restored it generates these:
16
17 processor CPU0 00000080 00000000
18 processor CPU0 00000080 00000000
19 processor CPU0 00000080 00000000
20 battery BAT0 00000080 00000001
21 battery BAT0 00000081 00000001
22 processor CPU0 00000080 00000000
23 battery BAT0 00000080 00000001
24 battery BAT0 00000081 00000001
25
26 Is there a document anywhere that explains what the id and value fields
27 mean?
28
29
30 dcm

Replies

Subject Author
Re: [gentoo-laptop] ACPI and HP Pavilion laptop Gabor BOROS <user.boros.gabor@×××××.com>