SDB:Using APMD and Power Management

Şuraya atla: kullan, ara


Version: 8.0

Situation

You want to use APM (Advanced Power Management). APM is particularly interesting for notebooks.

Prerequisite

Make sure all APM settings in your notebook's BIOS work smoothly with your computer. The "suspend to disk" mode may require a specific "suspend to disk" partition in some notebooks. For more information on this subject, refer to the manufacturer's documentation about your notebook. The option "suspend to memory" should work.

Procedure

First, use the command rcapmd status to check if the APM service has already been started. Additional options for "rcapmd" are:

  • rcapmd start (starts the APM service during operation)
  • rcapmd stop (stops the APM service during operation)
  • rcapmd restart (restarts the APM service during operation)

The APM service can be switched on or off on a more permanent basis in YaST's runlevel editor. For more information on YaST's runlevel editor, refer to the SuSE manual.

The following settings can be defined in the file /etc/sysconfig/powermanagement:

APMD_SET_CLOCK_ON_RESUME="no"
If the wrong time is displayed after a suspend or standby.

APMD_SUSPEND_ON_AC="yes"
Suspend and standby are executed if the notebook is connected to the power supply.

APMD_PCMCIA_SUSPEND_ON_SUSPEND="no"
The value 'yes' is only advisable for a PCMCIA package without APM support. From SuSE Linux 6.4 on, the SuSE PCMCIA package is already compiled with APM support and this option can be set to 'no'.

APMD_PCMCIA_EJECT_ON_SUSPEND="no"
This option should only be set to "yes" if a PCMCIA card does not "survive" the suspend mode.

APMD_LEAVE_X_BEFORE_SUSPEND="no"
APMD_LEAVE_X_BEFORE_STANDBY="no"
This option is relevant up to XFree 3.3.6 only. From XFree 4.0.x on, the X server supports APM.

APMD_STOP_SOUND_BEFORE_SUSPEND="no"
The sound no longer works after a suspend. Possible settings are "alsa","oss", or "kernel".

All possible setting options are available at /usr/share/doc/packages/apmd

Note: The configuration of APM services exceeds the scope of the free installation support. <keyword>APM,APMD,powermanagement,laptop,notebook</keyword>