View Full Version : HOWTO for ACPI config file?

17th June 2004, 11:23 AM
I'd like to learn how to set up a custom ACPI configuration file. They live in /etc/acpi, and a sample file /etc/acpi/events/sample.conf is set up, which maps the power button to doing a shutdown. The acpid man page merely says "The event value is a regular expression (see regcomp(3)), against which events are matched." This is no help. For example, the event value in sample.conf is "button/power.*". There is no reference to these expressions in the regcomp man page. I've tried googling and come up empty. Does there exist somewhere a complete list of all the event values that can go in this file?