
36
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
acpid
acpid [options]
Daemon that informs user-space programs about ACPI (Advanced
Configuration and Power Interface) events, such as battery warn-
ings, power-supply changes, and laptop lid closings. As ACPI
hardware replaces older APM (Advanced Power Management)
hardware, acpid replaces apmd. Like other daemons, this applica-
tion is controlled primarily through a configuration file that
determines which events merit action, and what those actions are.
In some operating systems, including SUSE Linux and its relatives,
all power management is handled by a combined ACPI/APM
system called powersave and this daemon is not installed.
Options
-c directory, --confdir=directory
Set the directory used for configuration files. The default
directory is /etc/acpi/events. All files in this directory, except
those beginning with a period (.), are parsed as configuration
files. Typically, a single file is used for each ACPI event to be
acted upon.
In the configuration files, blank lines and those beginning with
# are ignored. Other lines are expected to consist of a regular
expression and a command to be executed when an ACPI
event matches the expression.
-d, --debug
Debug mode: run the daemon in the foreground and send all
log output to stderr and stdout, rather than a logfile. ...