Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
acpid installed but no events defined?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beijingjj
Apprentice
Apprentice


Joined: 01 Jul 2006
Posts: 212

PostPosted: Sun Oct 01, 2006 5:38 pm    Post subject: acpid installed but no events defined? Reply with quote

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
View user's profile Send private message
kill
Apprentice
Apprentice


Joined: 25 Dec 2004
Posts: 179

PostPosted: Sun Oct 01, 2006 5:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
beijingjj
Apprentice
Apprentice


Joined: 01 Jul 2006
Posts: 212

PostPosted: Sun Oct 01, 2006 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Sun Oct 01, 2006 7:24 pm    Post subject: Reply with quote

See the Power Management Guide for a nice general intro on how to do reacting to acpi events.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum