Pm-utils
From CBLFS
Download Source: | http://pm-utils.freedesktop.org/releases/pm-utils-1.2.3.tar.gz |
---|
Contents
Introduction to Pm-utils
Pm-utils is a set of tools to control power management (e.g. suspend and resume).
Project Homepage: http://pm-utils.freedesktop.org/wiki/
Dependencies
Runtime
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/pm-utils-1.2.3 && make
Install the package:
make install
Multilib
This package does not provide any libraries so only one installation is required.
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --libdir=/usr/lib \ --prefix=/usr --sysconfdir=/etc \ --docdir=/usr/share/doc/pm-utils-1.2.3 && make
Install the package:
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 \ --prefix=/usr --sysconfdir=/etc \ --docdir=/usr/share/doc/pm-utils-1.2.3 && make
Install the package:
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 \ --prefix=/usr --sysconfdir=/etc \ --docdir=/usr/share/doc/pm-utils-1.2.3 && make
Install the package:
make install
Configuring
Config files
Configuration files should be put in /etc/pm/config.d. See the pm-action(8) man page for more information.
Hooks
Hooks are run when the system is put into a sleep state or resumed. Default hooks are located in /usr/lib/pm-utils/sleep.d, and user hooks should be put in /etc/pm/sleep.d. See the pm-action(8) man page for more information.
Contents
Installed Directories: | /usr/lib/pm-utils, /etc/pm |
---|---|
Installed Programs: | on_ac_power, pm-hibernate, pm-is-supported, pm-powersave, pm-suspend, pm-suspend-hybrid, /usr/lib/pm-utils/bin/{pm-action,pm-pmu,pm-reset-swap} |
Installed Libraries: | None |
Short Descriptions
on_ac_power | is a script that determines whether the system is running on AC power (rather than a battery). |
---|---|
pm-hibernate | is a symlink to pm-action that puts the computer into hibernate mode (i.e., saves the contents of memory to disk and shuts down). |
pm-is-supported | is a script that checks whether power management features such as suspend and hibernate are supported. |
pm-powersave | is a script that puts the computer into powersaving (low power) mode. |
pm-suspend | is a symlink to pm-action that puts the computer into suspend mode. |
pm-suspend-hybrid | is a symlink to pm-action that puts the computer into suspend mode (like hibernate, but resumes more quickly). |
pm-action | is a script that puts the computer into a sleep state (hibernate, suspend, or suspend-hybrid). |
pm-pmu | is a program that puts computers which have a Macintosh PMU into suspend mode. |
pm-reset-swap | is a program that marks a swap partition unusable for resuming from hibernate. |