View previous topic :: View next topic |
Author |
Message |
beijingjj Apprentice

Joined: 01 Jul 2006 Posts: 212
|
Posted: Sun Oct 01, 2006 5:38 pm Post subject: acpid installed but no events defined? |
|
|
I've installed acpid on two laptops, and in each case added acpid to startup automatically. The problem is that it seems that none of the events are defined. On the older laptop, every time I do an emerge --update world the laptop overheats and shuts down (by the BIOS, not the acpid service). If I look in /var/log/messages I see a lot of messages like this:
Code: | logger: ACPI group thermal_zone / action thermal_zone is not defined |
Similarly, I in both laptops I see messages like these:
Code: | logger: ACPI group battery / action battery is not defined |
But the most frustrating thing is when the battery gets low it is apparently trying to put itself to sleep (without any warning) but instead logs me out and the system freezes.
Where can I find some guidance on how to setup the various events, or have I done something fundamentally wrong?
Thanks. |
|
Back to top |
|
 |
kill Apprentice

Joined: 25 Dec 2004 Posts: 179
|
Posted: Sun Oct 01, 2006 5:48 pm Post subject: |
|
|
The default is for there to be no actions. It simply just logs when something happens but does nothing about it. Have a look in /etc/acpi/ particularly the file default.sh. |
|
Back to top |
|
 |
beijingjj Apprentice

Joined: 01 Jul 2006 Posts: 212
|
Posted: Sun Oct 01, 2006 6:20 pm Post subject: |
|
|
kill wrote: | The default is for there to be no actions. It simply just logs when something happens but does nothing about it. Have a look in /etc/acpi/ particularly the file default.sh. |
Right, so it's a script which does nothing but report that the event is undefined. How then do I define some events? Are there some pre-built scripts out there? Should acpi be doing things like turning on and off the fan, scaling the CPU speed, etc.? |
|
Back to top |
|
 |
vonr Guru

Joined: 23 Mar 2006 Posts: 300
|
Posted: Sun Oct 01, 2006 7:24 pm Post subject: |
|
|
See the Power Management Guide for a nice general intro on how to do reacting to acpi events. |
|
Back to top |
|
 |
|