source: general/sysutils/pm-utils.xml@ 70727c9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 70727c9 was 70727c9, checked in by Igor Živković <igor@…>, 11 years ago

Few fixes to pm-utils as noted by Armin

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11377 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pm-utils-download-http "http://pm-utils.freedesktop.org/releases/pm-utils-&pm-utils-version;.tar.gz">
8 <!ENTITY pm-utils-download-ftp " ">
9 <!ENTITY pm-utils-md5sum "1742a556089c36c3a89eb1b957da5a60">
10 <!ENTITY pm-utils-size "204 KB">
11 <!ENTITY pm-utils-buildsize "1.6 MB">
12 <!ENTITY pm-utils-time "0.1 SBU">
13]>
14
15<sect1 id="pm-utils" xreflabel="pm-utils-&pm-utils-version;">
16 <?dbhtml filename="pm-utils.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: igor $</othername>
20 <date>$Date: 2013-07-10 14:18:46 +0200 (Wed, 10 Jul 2013) $</date>
21 </sect1info>
22
23 <title>pm-utils-&pm-utils-version;</title>
24
25 <indexterm zone="pm-utils">
26 <primary sortas="a-pm-utils">pm-utils</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Power Management Utilities</title>
31
32 <para>
33 The <application>Power Management Utilities</application> is a small
34 collection of scripts to suspend and hibernate computer that can be used
35 to run user supplied scripts on suspend and resume.
36 </para>
37
38 &lfs73_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&pm-utils-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&pm-utils-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &pm-utils-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &pm-utils-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &pm-utils-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &pm-utils-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Power Management Utilities Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="xmlto"/> (to generate man pages)
79 </para>
80
81 <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
82 <para role="optional">
83 <xref linkend="hdparm"/>,
84 <xref linkend="wireless_tools"/> and
85 <ulink url="https://www.kernel.org/pub/software/network/ethtool/">ethtool</ulink>
86 <!-- vbetool, deprecated? -->
87 <!-- radeontool, deprecated? -->
88 </para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/pm-utils"/>
92 </para>
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Power Management Utilities</title>
97
98 <para>
99 Install <application>Power Management Utilities</application> by
100 running the following commands:
101 </para>
102
103<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
104 --docdir=/usr/share/doc/pm-utils-&pm-utils-version; &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 This package does not come with a test suite.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 <para>
118 If you don't have <xref linkend="xmlto"/> installed, copy pregenerated
119 man pages:
120 </para>
121
122<screen role="root"><userinput>install -v -m644 man/*.1 /usr/share/man/man1 &amp;&amp;
123install -v -m644 man/*.8 /usr/share/man/man8 &amp;&amp;
124ln -sv pm-action.8 /usr/share/man/man8/pm-suspend.8 &amp;&amp;
125ln -sv pm-action.8 /usr/share/man/man8/pm-hibernate.8 &amp;&amp;
126ln -sv pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring Power Management Utilities</title>
132
133 <para>
134 Suspend or resume functionality can be easily modified by installing files
135 into the /etc/pm/sleep.d directory. These files, known as hooks, are run
136 when the system is put into a sleep state or resumed. Default hooks are
137 located in /usr/lib/pm-utils/sleep.d, and user hooks should be put in
138 /etc/pm/sleep.d. See the pm-action(8) man page for more information.
139 </para>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>
153 on_ac_power, pm-hibernate, pm-is-supported, pm-powersave, pm-suspend
154 and pm-suspend-hybrid
155 </seg>
156 <seg>
157 None
158 </seg>
159 <seg>
160 /etc/pm, /usr/lib/pm-utils and
161 /usr/share/doc/pm-utils-&pm-utils-version;
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="on_ac_power">
172 <term><command>on_ac_power</command></term>
173 <listitem>
174 <para>
175 is a script that determines whether the system is running on AC
176 power (rather than a battery).
177 </para>
178 <indexterm zone="pm-utils on_ac_power">
179 <primary sortas="b-on_ac_power">on_ac_power</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="pm-hibernate">
185 <term><command>pm-hibernate</command></term>
186 <listitem>
187 <para>
188 is a symlink to pm-action script that puts the computer into
189 hibernate mode (the system is fully powered off and system state is
190 saved to disk).
191 </para>
192 <indexterm zone="pm-utils pm-hibernate">
193 <primary sortas="b-pm-hibernate">pm-hibernate</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="pm-is-supported">
199 <term><command>pm-is-supported</command></term>
200 <listitem>
201 <para>
202 is a script that checks whether power management features such as
203 suspend and hibernate are supported.
204 </para>
205 <indexterm zone="pm-utils pm-is-supported">
206 <primary sortas="b-pm-is-supported">pm-is-supported</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="pm-powersave">
212 <term><command>pm-powersave</command></term>
213 <listitem>
214 <para>
215 is a script that puts the computer into powersaving (low power)
216 mode.
217 </para>
218 <indexterm zone="pm-utils pm-powersave">
219 <primary sortas="b-pm-powersave">pm-powersave</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="pm-suspend">
225 <term><command>pm-suspend</command></term>
226 <listitem>
227 <para>
228 is a symlink to pm-action script that puts the computer into suspend
229 mode (most devices are shut down and system state is saved in RAM).
230 </para>
231 <indexterm zone="pm-utils pm-suspend">
232 <primary sortas="b-pm-suspend">pm-suspend</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="pm-suspend-hybrid">
238 <term><command>pm-suspend-hybrid</command></term>
239 <listitem>
240 <para>
241 is a symlink to pm-action script that puts the computer into
242 hybrid-suspend mode (the system does everything it needs to
243 hibernate, but suspends instead of shutting down).
244 </para>
245 <indexterm zone="pm-utils pm-suspend-hybrid">
246 <primary sortas="b-pm-suspend-hybrid">pm-suspend-hybrid</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 </variablelist>
252
253 </sect2>
254
255</sect1>
Note: See TracBrowser for help on using the repository browser.