Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc-cvs
Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc-cvs@g.o
From: "Sven Vermeulen (swift)" <swift@g.o>
Subject: gentoo commit in xml/htdocs/doc/en: power-management-guide.xml
Date: Wed, 17 Aug 2011 07:10:12 +0000 (UTC)
swift       11/08/17 07:10:12

  Modified:             power-management-guide.xml
  Log:
  Bug #367145 - Update powermanagement guide to reflect OpenRC changes

Revision  Changes    Path
1.47                 xml/htdocs/doc/en/power-management-guide.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.47&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.47&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/power-management-guide.xml?r1=1.46&r2=1.47

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- power-management-guide.xml	28 Mar 2011 10:26:10 -0000	1.46
+++ power-management-guide.xml	17 Aug 2011 07:10:12 -0000	1.47
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.46 2011/03/28 10:26:10 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.47 2011/08/17 07:10:12 swift Exp $ -->
 
 <guide>
 <title>Power Management Guide</title>
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>2</version>
-<date>2011-03-02</date>
+<version>3</version>
+<date>2011-08-17</date>
 
 <chapter>
 <title>Introduction</title>
@@ -391,18 +391,20 @@
 <c>softlevel=battery</c>, but it's likely to forget choosing it. A better way
 is faking an ACPI event in the end of the boot process and letting
 <path>pmg_switch_runlevel.sh</path> script decide whether a runlevel change is
-necessary. Open <path>/etc/conf.d/local.start</path> in your favourite editor
-and add these lines:
+necessary. Create a <path>/etc/local.d/battery.start</path> file with the
+following contents:
 </p>
 
-<pre caption="Runlevel adjustment at boot time by editing local.start">
+<pre caption="Runlevel adjustment at boot time through local.d/battery.start">
+#!/bin/sh
 <comment># Fake acpi event to switch runlevel if running on batteries</comment>
 /etc/acpi/actions/pmg_switch_runlevel.sh "battery/battery"
 </pre>
 
 <p>
-Prepared like this you can activate Power Management policies for individual
-devices.
+Don't forget to mark the file as executable (<c>chmod +x
+/etc/local.d/battery.start</c>). Prepared like this you can activate Power
+Management policies for individual devices.
 </p>
 
 </body>
@@ -886,11 +888,17 @@
 loaded with the experimental parameter.
 </p>
 
-<pre caption="automatically loading the thinkpad_acpi module">
+<pre caption="Automatically loading the thinkpad_acpi module">
 <comment>(Please read the warnings above before doing this!)</comment>
+
 # <i>echo "options thinkpad_acpi experimental=1" >> /etc/modprobe.d/thinkpad_acpi</i>
 # <i>update-modules</i>
-# <i>echo thinkpad_acpi >> /etc/modules.autoload.d/kernel-2.6</i>
+# <i>nano /etc/conf.d/modules</i>
+<comment># Autoload the thinkpad_acpi module</comment>
+modules_2_6="thinkpad_acpi"
+<comment># Parameters for the thinkpad_acpi module</comment>
+modules_thinkpad_acpi_args_2_6="experimental=1"
+
 # <i>modprobe thinkpad_acpi</i>
 </pre>
 





Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo commit in xml/htdocs/doc/en: power-management-guide.xml
Next by thread:
gentoo commit in xml/htdocs/doc/en: power-management-guide.xml
Previous by date:
gentoo commit in xml/htdocs/doc/en: vi-guide.xml
Next by date:
gentoo commit in xml/htdocs/doc/en: power-management-guide.xml


Updated Jun 30, 2012

Summary: Archive of the gentoo-doc-cvs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.