/[gentoo]/xml/htdocs/doc/en/power-management-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/power-management-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 Revision 1.23
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.22 2006/10/23 03:40:54 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.23 2006/12/17 03:42:50 nightmorph Exp $ -->
4<guide link="/doc/en/power-management-guide.xml"> 4<guide link="/doc/en/power-management-guide.xml">
5<title>Power Management Guide</title> 5<title>Power Management Guide</title>
6 6
7<author title="Author"> 7<author title="Author">
8 <mail link="earthwings@gentoo.org">Dennis Nienhüser</mail> 8 <mail link="earthwings@gentoo.org">Dennis Nienhüser</mail>
18 18
19<!-- The content of this document is licensed under the CC-BY-SA license --> 19<!-- The content of this document is licensed under the CC-BY-SA license -->
20<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 20<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
21<license/> 21<license/>
22 22
23<version>1.29</version> 23<version>1.30</version>
24<date>2006-10-22</date> 24<date>2006-12-16</date>
25 25
26<chapter> 26<chapter>
27<title>Introduction</title> 27<title>Introduction</title>
28<section> 28<section>
29<body> 29<body>
855Probably more important is the backlight dimming. If you have access to the 855Probably more important is the backlight dimming. If you have access to the
856dimming settings via a tool, write a small script that dims the backlight in 856dimming settings via a tool, write a small script that dims the backlight in
857battery mode and place it in your <c>battery</c> runlevel. The following script 857battery mode and place it in your <c>battery</c> runlevel. The following script
858should work on most IBM Thinkpads and Toshiba laptops. You've got to enable the 858should work on most IBM Thinkpads and Toshiba laptops. You've got to enable the
859appropriate option in your kernel (IBM Thinkpads only). For Toshiba laptops, 859appropriate option in your kernel (IBM Thinkpads only). For Toshiba laptops,
860install <c>app-laptop/acpitool</c> and skip configuration of <c>ibm_acpi</c> as 860install <c>sys-power/acpitool</c> and skip configuration of <c>ibm_acpi</c> as
861described below. 861described below.
862</p> 862</p>
863 863
864<warn> 864<warn>
865Support for setting brightness is marked experimental in ibm-acpi. It accesses 865Support for setting brightness is marked experimental in ibm-acpi. It accesses
889 889
890<pre caption="/etc/conf.d/lcd-brightness"> 890<pre caption="/etc/conf.d/lcd-brightness">
891<comment># See /proc/acpi/ibm/brightness for available values</comment> 891<comment># See /proc/acpi/ibm/brightness for available values</comment>
892<comment># Please read /usr/src/linux/Documentation/ibm-acpi.txt</comment> 892<comment># Please read /usr/src/linux/Documentation/ibm-acpi.txt</comment>
893 893
894<comment># brigthness level in ac mode. Default is 7.</comment> 894<comment># brightness level in ac mode. Default is 7.</comment>
895BRIGHTNESS_AC=7 895BRIGHTNESS_AC=7
896 896
897<comment># brightness level in battery mode. Default is 4.</comment> 897<comment># brightness level in battery mode. Default is 4.</comment>
898BRIGHTNESS_BATTERY=4 898BRIGHTNESS_BATTERY=4
899</pre> 899</pre>
920 acpitool -l $LEVEL >/dev/null || ewarn "Unable to set lcd brightness" 920 acpitool -l $LEVEL >/dev/null || ewarn "Unable to set lcd brightness"
921 eend $? 921 eend $?
922 else 922 else
923 ewarn "Setting LCD brightness is not supported." 923 ewarn "Setting LCD brightness is not supported."
924 ewarn "For IBM Thinkpads, check that ibm_acpi is loaded into the kernel" 924 ewarn "For IBM Thinkpads, check that ibm_acpi is loaded into the kernel"
925 ewarn "For Toshiba laptops, you've got to install app-laptop/acpitool" 925 ewarn "For Toshiba laptops, you've got to install sys-power/acpitool"
926 fi 926 fi
927} 927}
928 928
929start() { 929start() {
930 set_brightness 930 set_brightness

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20