Add kernel options for suspend and hibernate.

Minor xfce updates.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16420 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2015-09-17 05:00:55 +00:00
parent 987cd78e47
commit 31fc886aae
5 changed files with 64 additions and 8 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "13"> <!-- Always 2 digits -->
<!ENTITY day "16"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2015">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "September 13th &year;">
<!ENTITY releasedate "September 16th &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->

View File

@ -82,11 +82,8 @@
<para role="optional">
<xref linkend="hdparm"/>,
<xref linkend="wireless_tools"/>,
<ulink url="https://www.kernel.org/pub/software/network/ethtool/">ethtool</ulink> and
<!-- both http://www.codon.org.uk/~mjg59/vbetool/ and
http://www.srcf.ucam.org/~mjg59/vbetool/ are down -->
<ulink url="https://www.kernel.org/pub/software/network/ethtool/">ethtool</ulink>, and
<ulink url="http://ftp.de.debian.org/debian/pool/main/v/vbetool/">vbetool</ulink>
<!-- radeontool, deprecated? -->
</para>
<para condition="html" role="usernotes">User Notes:
@ -94,6 +91,49 @@
</para>
</sect2>
<sect2 role="kernel" id="pm-utils-kernel">
<title>Kernel Configuration</title>
<para>
If needed, enable the following options in the kernel configuration and
recompile the kernel:
</para>
<screen><literal>Power management and ACPI options ---&gt;
&lt;*&gt; Suspend to RAM and standby [CONFIG_SUSPEND]
&lt;*&gt; Hibernation (aka 'suspend to disk') [CONFIG_HIBERNATION]</literal></screen>
<para>
Suspend to RAM allows the system to enter sleep states in which main
memory is powered and thus its contents are preserved. The method cuts
power to most parts of the machine aside from the RAM. Because of the
large power savings, it is advisable for laptops to automatically enter
this mode when the computer is running on batteries and the lid is closed
(or the user is inactive for some time).
</para>
<para>
Suspend to disk (Hibernation) saves the machine's state into swap space
and completely powers off the machine. When the machine is powered on,
the state is restored. Until then, there is zero power consumption.
Suspend to RAM and hibernation are normally appropriate for portable
devices such as laptops, but can be used on workstations. The capability
is not really appropriate for servers.
</para>
<para>
To use hibernation, the kernel parameter
resume=/dev/&lt;swap_partition&gt; has to be used on the kernel command
line (in grub.cfg). The swap partition should be at least the size of
the physical RAM on the system.
</para>
<indexterm zone="pm-utils pm-utils-kernel">
<primary sortas="d-pm-utils">pm-utils</primary>
</indexterm>
</sect2>
<sect2 role="installation">
<title>Installation of Power Management Utilities</title>

View File

@ -44,6 +44,16 @@
-->
<listitem>
<para>September 16th, 2015</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add kernel options for suspend and hibernate
to pm-utils.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 13th, 2015</para>
<itemizedlist>

View File

@ -86,8 +86,9 @@
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="desktop-file-utils"/> and
<xref linkend="shared-mime-info"/>
<xref linkend="desktop-file-utils"/>
<xref linkend="shared-mime-info"/>, and
<xref linkend="polkit-gnome"/>
</para>
<bridgehead renderas="sect4">Required Runtime</bridgehead>

View File

@ -97,6 +97,11 @@
<sect2 role="installation">
<title>Installation of Xfce4 Keyboard Plugin</title>
<para>First, fix a path issue for a plugin:</para>
<screen><userinput>sed -e 's|xfce4/panel-plugins|xfce4/panel/plugins|' \
-i panel-plugin/{Makefile.in,xkb-plugin.desktop.in.in}</userinput></screen>
<para>
Install <application>Xfce4 Keyboard Plugin</application> by running the
following commands: