Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89716 - acpid: bug in default Gentoo config
Summary: acpid: bug in default Gentoo config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 14:45 UTC by BlaisorBlade
Modified: 2005-04-24 09:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BlaisorBlade 2005-04-19 14:45:05 UTC
Quoting from /etc/acpi/events/default:

# event keeps a regular expression matching the event. To get
# power events only, just use something like "event=button power.*"
# to catch it.
...
event=button power.*

action=/sbin/init 0

Actually, on both my system (from what I see with cat /proc/acpi/events when 
acpid disabled) and on Mandrake default config, the correct string is 
button/power:

event=button/power (PWR.|PBTN)
(even button.power would suffice). The same applies to other buttons:

event=button/lid LID

However, I read that the correct string should be button[ /]power, because 
both messages have been used in various ACPI code releases.

Note: I use acpid-1.0.4

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Henrik Brix Andersen 2005-04-24 09:22:19 UTC
Fixed in sys-power/acpid-1.0.4-r1. Thank you for reporting this.