Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 361 #387
i
i
i
i
i
i
i
i
17
Power Management
17.2.1 The APM Daemon (apmd)
The apmd daemon (package apmd) monitors the battery and can trigger
certain actions when a standby or a suspend event occurs. Although it is
not mandatory for operation, it may be useful for some problems.
apmd is not started automatically when the system is booted. If you want it
started automatically, edit the settings for the system services with the YaST
runlevel editor. Alternatively, use the chkconfig utility. The daemon can
be started manually with the command rcapmd start.
A number of configuration variables are available in /etc/sysconfig/
powermanagement. As the file is commented, only some information is
provided here:
APMD_ADJUST_DISK_PERF Adapts the disk performance to the power
supply status. This can be done with a number of additional variables
beginning with APMD_BATTERY (for battery operation) or APMD_AC
(for AC operation).
APMD_BATTERY/AC_DISK_TIMEOUT
Disk inactivity period after which the disk is spun down. The values
are described in Section 17.4 on page 368 or in the manual page for
hdparm, option -S.
APMD_BATTERY/AC_KUPDATED_INTERVAL
Interval between two cycles of the kernel update daemon.
APMD_BATTERY/AC_DATA_TIMEOUT
Maximum age of buffered data.
APMD_BATTERY/AC_FILL_LEVEL
Maximum fill level of the hard disk buffer.
APMD_PCMCIA_EJECT_ON_SUSPEND
Although PCMCIA is implemented with APM support, difficulties
may sometimes be encountered. Some card drivers do not resume
correctly after a suspend (xirc2ps_cs). Therefore, apmd can
deactivate the PCMCIA system prior to the suspend and reactivate it
afterwards. To do this, set this variable to yes.
APMD_INTERFACES_TO_STOP Set network interfaces to stop prior to
a suspend and restart afterwards.
APMD_INTERFACES_TO_UNLOAD
Use this variable if you also need to unload the driver modules of
these interfaces.
361
SUSE LINUX Enterprise Server