Difference between revisions of "Pm-utils"

From CBLFS
Jump to navigationJump to search
(new page. someone who is familiar with multilib should add build instructions.)
 
(64Bit)
Line 52: Line 52:
 
Compile the package:
 
Compile the package:
  
  to do
+
  CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/pm-utils-1.2.3 &&
 +
make
 +
 
  
 
Install the package:
 
Install the package:
  
  to do
+
  make install
  
 
== Configuring ==
 
== Configuring ==

Revision as of 13:32, 30 August 2009

Download Source: http://pm-utils.freedesktop.org/releases/pm-utils-1.2.3.tar.gz

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:

to do

Install the package:

to do

N32

Compile the package:

to do

Install the package:

to do

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.
Retrieved from "?title=Pm-utils&oldid=18974"