Download man Pages(7): Device Network Interfaces
Transcript
pm ( 7D )
Devices
NAME
SYNOPSIS
DESCRIPTION
Power Management
Framework
pm − power management driver
/dev/pm
The Power Management driver provides an interface for applications to configure devices within the system for power management. The interface is provided through ioctl(2)
commands. The pm driver may be accessed using /dev/pm.
The pm model of power management is to view the system as a collection of devices.
Each device is a collection of components. A component is the smallest power manageable unit. The definition of power manageable components of a device is under the control of the device driver. A power manageable component has three states. It may be
busy (in use), it may be idle (not in use but using normal power), or it may be power
managed (not in use and not using normal power).
Normally, the pm driver manages the component transition from idle to power managed.
pm uses two factors to determine this transition: the component must have been idle for
at least the threshold time, and the device to which the component belongs must satisfy
any dependency requirements. A dependency occurs when a device requires another
device to be power managed before it can be power managed. Dependencies occur on a
per device basis: when a dependency exists, no components of a device may be managed
unless all the devices it depends upon are first power managed. See power.conf(4),
power(9E), pm_create_components(9F), pm_idle_component(9F),
pm_busy_component(9F), pm_destroy_components(9F), and Writing Device Drivers for
additional information.
Using the commands below, an application may take control of the power management
of a device from the pm driver and manage the transition of device power levels directly.
Xsun(1) does this to power manage the display.
IOCTLS
For all ioctl commands, arg (see ioctl(2)) points to a structure of type pm_request defined
in <sys/pm.h>:
typedef struct {
char
int
int
char
int
} pm_request;
∗who;
select;
level;
∗dependent;
size;
/∗ device to configure ∗/
/∗ selects the component or
dependent of the device ∗/
/∗ power level or threshold value ∗/
/∗ hold name of dependent ∗/
/∗ size of dependent buffer ∗/
The fields should contain the following data:
7D-288
who
Pointer to the name of the device to be configured. The name
must be in the format described in power.conf(4).
select
Non−negative integer specifying the component or dependent
being configured. The numbering starts at zero.
SunOS 5.6
modified 10 Jun 1997
Related documents
Adaptec AHA-1520A Technical data
PubTeX output 2000.01.12:1056
Compaq Vectra 486VL Installation guide
Platform Notes: SPARCstation Voyager Software Guide
man pages section 7: Device and Network Interfaces
man pages section 7: Device and Network Interfaces
Cabletron Systems Cabletron SmartSwitch Router 510 Specifications
Platform Notes: SPARCstation Voyager Software Guide
Blancco Erasure Software Manual
Manual - Stanford Research Systems
Genexis Live!
SDT-5000 - User Guide - Stratos Global Corporation