/etc 目录下的 power.conf 文件让用户设置管理系统电源的配置。该文件还让用户能设定显示器电源配置;当没有 CDE 或 OpenWindows 桌面时,该显示器便可依循该配置。(要获得在那些窗口环境下管理显示器电源的详情,参见 第 2 章,显示器电源的管理 。)
# Power Management Configuration File # # Putting an entry in this file will only be effective if the # driver for the device supports device power management. # After the file is modified, pmconfig(1M) command must be # executed to activate the new change. # # Fields must be separated by white space or semicolons. # Note that physical dependents are automatically considered # by the power management framework. # Name Threshold(s) Logical Dependent(s) /dev/kbd 1800 /dev/mouse 1800 # NOTE: The entries below are only used when no window # system is running. When running the window system, monitor # power management is done by the screen saver functions. /dev/fb 0 0 /dev/kbd /dev/mouse # Auto-Shutdown Idle(min) Start/finish(hh:mm) Behavior autoshutdown 30 9:00 9:00 default statefile /.CPR>
在 /etc/power.conf 文件中,有一些"逻辑从属部分"( Logical Dependent)的条目。每一逻辑从属部分均是物理设备(例如鼠标),它具有与另一设备 (例如整缓冲区)相关的活动,但并未从物理上与其连接。
如果逻辑从属设备处于活动状态,则主设备也被视为处于活动状态。这影响到主设备的闲置时间。