public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml
@ 2008-07-01 18:18 Le Zhang (r0bertz)
  0 siblings, 0 replies; 5+ messages in thread
From: Le Zhang (r0bertz) @ 2008-07-01 18:18 UTC (permalink / raw
  To: gentoo-commits

r0bertz     08/07/01 18:18:22

  Modified:             power-management-guide.xml
  Log:
  updated power-management-guide.xml

Revision  Changes    Path
1.3                  xml/htdocs/doc/zh_cn/power-management-guide.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?r1=1.2&r2=1.3

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- power-management-guide.xml	1 Jun 2008 17:28:02 -0000	1.2
+++ power-management-guide.xml	1 Jul 2008 18:18:21 -0000	1.3
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding="utf-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.2 2008/06/01 17:28:02 r0bertz Exp $--> 
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.3 2008/07/01 18:18:21 r0bertz Exp $--> 
 <!--English CVS version: 1.36-->
 <guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn">
 <title>电源管理指导</title>
@@ -29,8 +29,8 @@
  See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.39</version>
-<date>2008-06-02</date>
+<version>1.40</version>
+<date>2008-06-29</date>
 
 <chapter>
 <title>介绍</title>
@@ -726,7 +726,7 @@
 <pre caption="自动加载thinkpad_acpi模块">
 <comment>(请先阅读上面的警告再做这个!)</comment>
 # <i>echo "options thinkpad_acpi experimental=1" >> /etc/modules.d/thinkpad_acpi</i>
-# <i>/sbin/update-modules</i>
+# <i>update-modules</i>
 # <i>echo thinkpad_acpi >> /etc/modules.autoload.d/kernel-2.6</i>
 # <i>modprobe thinkpad_acpi</i>
 </pre>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml
@ 2008-07-01 20:10 Le Zhang (r0bertz)
  0 siblings, 0 replies; 5+ messages in thread
From: Le Zhang (r0bertz) @ 2008-07-01 20:10 UTC (permalink / raw
  To: gentoo-commits

r0bertz     08/07/01 20:10:29

  Modified:             power-management-guide.xml
  Log:
  [zh_cn] power-management-guide.xml: fixed English CVS version

Revision  Changes    Path
1.4                  xml/htdocs/doc/zh_cn/power-management-guide.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?r1=1.3&r2=1.4

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- power-management-guide.xml	1 Jul 2008 18:18:21 -0000	1.3
+++ power-management-guide.xml	1 Jul 2008 20:10:28 -0000	1.4
@@ -1,8 +1,8 @@
 <?xml version='1.0' encoding="utf-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.3 2008/07/01 18:18:21 r0bertz Exp $--> 
-<!--English CVS version: 1.36-->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.4 2008/07/01 20:10:28 r0bertz Exp $--> 
+<!--English CVS version: 1.37-->
 <guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn">
 <title>电源管理指导</title>
 
@@ -23,8 +23,6 @@
 电源管理是延长移动系统上电池使用时间的关键,比如在笔记本电脑上。这篇指导将帮你在你的笔记本上设置它。
 </abstract>
 
-
-
 <!-- The content of this document is licensed under the CC-BY-SA license 
  See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml
@ 2008-10-20  9:05 Le Zhang (r0bertz)
  0 siblings, 0 replies; 5+ messages in thread
From: Le Zhang (r0bertz) @ 2008-10-20  9:05 UTC (permalink / raw
  To: gentoo-commits

r0bertz     08/10/20 09:05:22

  Modified:             power-management-guide.xml
  Log:
  [zh_cn] power-management-guide.xml: x86info-mhz should be x86info -mhz

Revision  Changes    Path
1.6                  xml/htdocs/doc/zh_cn/power-management-guide.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?r1=1.5&r2=1.6

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- power-management-guide.xml	10 Oct 2008 19:48:38 -0000	1.5
+++ power-management-guide.xml	20 Oct 2008 09:05:22 -0000	1.6
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding="utf-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.5 2008/10/10 19:48:38 r0bertz Exp $--> 
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.6 2008/10/20 09:05:22 r0bertz Exp $--> 
 <!--English CVS version: 1.38-->
 <guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn">
 <title>电源管理指导</title>
@@ -1252,7 +1252,7 @@
 
 <p>
 <e>答:</e>可能你在内核中启用了对称多处理器支持(CONFIG_SMP)。禁用它应该就可以了。一些旧的内核有一个bug导致这个问题。这种情况下,你可以执行<c>emerge 
-x86info</c>,根据要求升级你的内核并用<c>x86info-mhz</c>检查CPU的主频。
+x86info</c>,根据要求升级你的内核并用<c>x86info -mhz</c>检查CPU的主频。
 </p>
 
 <p>






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml
@ 2010-01-02 18:20 Le Zhang (r0bertz)
  0 siblings, 0 replies; 5+ messages in thread
From: Le Zhang (r0bertz) @ 2010-01-02 18:20 UTC (permalink / raw
  To: gentoo-commits

r0bertz     10/01/02 18:20:04

  Modified:             power-management-guide.xml
  Log:
  [zh_cn] updated power-management-guide.xml

Revision  Changes    Path
1.8                  xml/htdocs/doc/zh_cn/power-management-guide.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?r1=1.7&r2=1.8

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- power-management-guide.xml	3 Jul 2009 18:11:16 -0000	1.7
+++ power-management-guide.xml	2 Jan 2010 18:20:04 -0000	1.8
@@ -1,8 +1,8 @@
 <?xml version='1.0' encoding="utf-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.7 2009/07/03 18:11:16 r0bertz Exp $--> 
-<!--English CVS version: 1.39-->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.8 2010/01/02 18:20:04 r0bertz Exp $--> 
+<!--English CVS version: 1.41-->
 <guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn">
 <title>电源管理指导</title>
 
@@ -27,8 +27,8 @@
  See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.41</version>
-<date>2008-09-28</date>
+<version>1.44</version>
+<date>2009-08-11</date>
 
 <chapter>
 <title>介绍</title>
@@ -127,7 +127,7 @@
 
 <pre caption="电源管理的内核最简设置(内核2.6)">
 Power management and ACPI options ---&gt;
-  [*] Power Management Support
+  [*] Power Management support
   [ ] Software Suspend
 
   ACPI( Advanced Configuration and Power Interface ) Support ---&gt;
@@ -370,7 +370,7 @@
 </body>
 </section>
 <section>
-<title>手动设定主频</title>
+<title>设定主频</title>
 <body>
 
 <p>
@@ -383,7 +383,7 @@
 </note>
 
 <p>
-现在让我们来测试一下你CPU降频能不能工作。让我们装上另一个非常方便用于debug的工具:<c>sys-power/cpufrequtils</c>。
+现在让我们来测试一下你CPU降频能不能工作。让我们装上另一个工具:<c>sys-power/cpufrequtils</c>。
 </p>
 
 <pre caption="确定CPU主频">
@@ -411,19 +411,31 @@
 </pre>
 
 <p>
-现在让我们用<c>cpufreq-set</c>来折腾一下来看看主频调整能否工作。比如,运行一下<c>cpufreq-set -g 
-ondemand</c>来激活ondemand管理器,然后用<c>cpufreq-info</c>来确认一下。如果它没有像预期的那样工作,你或许可以从指导末尾的<uri 
-link="#doc_chap8">常见问题部分</uri>中找到答案。
+现在让我们用<c>cpufreq-set</c>来折腾一下来看看主频调整能否工作。比如,运行一下<c>cpufreq-set -g ondemand</c>来激活ondemand管理器,然后用<c>cpufreq-info</c>来确认一下。如果它没有像预期的那样工作,你或许可以从指导末尾的<uri link="#doc_chap8">常见问题部分</uri>中找到答案。
 </p>
 
+<p>
+<c>cpufrequtils</c>能够以自动模式运行(当你使用<b>ondemand</b>管理器的时候),当你是想手动设置特定主频的时候,你也可以切换到<b>userspace</b>管理器。你也可以静态地用<b>performance</b>或<b>powersave</b>分别将CPU的主频设为最高或最低。
+</p>
+
+<pre caption="改变CPU主频">
+<comment>(设为可用的最高主频)</comment>
+# <i>cpufreq-set -g performance</i>
+<comment>(设为可用的最低主频)</comment>
+# <i>cpufreq-set -g powersave</i>
+<comment>(设为特定主频)</comment>
+# <i>cpufreq-set -g userspace</i>
+# <i>cpufreq-set -f 2.00ghz</i>
+</pre>
+
 </body>
 </section>
 <section>
-<title>主频自适应</title>
+<title>其他CPU主频工具</title>
 <body>
 
 <p>
-上面的方法是不错,但是不方便在日常中应用。最好让你的系统自动设置主频。有很多方式来达到这个目的。下面的表格的介绍帮你你决定采用哪一个。它可以简要地分为三类:<b>内核类</b>,即需要内核支持;<b>后台类</b>,即用运行在后台的程序来做;<b>图形界面类</b>,即提供图形界面方便用户设置和调整。
+虽然<c>cpufrequtils</c>可能是最全面的程序了,但Portage中还有其他选择。下面的表格是可用CPU主频工具的速览。它可以简要地分为三类:<b>内核类</b>,即需要内核支持;<b>后台类</b>,即用运行在后台的程序来实现;<b>图形界面类</b>,即提供图形界面方便用户设置和调整。
 </p>
 
 <table>
@@ -613,7 +625,7 @@
 
 <pre caption="启动cpufreqd">
 # <i>rc-update add cpufreqd default battery</i>
-# <i>rc</i>
+# <i>/etc/init.d/cpufreqd start</i>
 </pre>
 
 <p>
@@ -1028,9 +1040,7 @@
 <pre caption="各种睡眠状态的内核设置">
   Power Management Options ---&gt;
     [*]  Power Management support
-      ACPI (Advanced Configuration and Power Interface) Support ---&gt;
-        [*]  ACPI Support
-          [*]   Sleep States
+    [*]  Suspend to RAM and standby
 </pre>
 
 <p>
@@ -1097,7 +1107,7 @@
 </p>
 
 <pre caption="各种睡眠状态的内核设置">
-Power management and ACPI Options ---&gt;
+Power management support ---&gt;
   <comment>(hibernate with swsusp)</comment>
   [*] Hibernation (aka 'suspend to disk')
       <comment>(replace /dev/SWAP with your swap partition)</comment>






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml
@ 2010-07-12 18:39 Le Zhang (r0bertz)
  0 siblings, 0 replies; 5+ messages in thread
From: Le Zhang (r0bertz) @ 2010-07-12 18:39 UTC (permalink / raw
  To: gentoo-commits

r0bertz     10/07/12 18:39:38

  Modified:             power-management-guide.xml
  Log:
  [zh_cn] updated power-management-guide.xml

Revision  Changes    Path
1.9                  xml/htdocs/doc/zh_cn/power-management-guide.xml

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

Index: power-management-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- power-management-guide.xml	2 Jan 2010 18:20:04 -0000	1.8
+++ power-management-guide.xml	12 Jul 2010 18:39:38 -0000	1.9
@@ -1,8 +1,8 @@
 <?xml version='1.0' encoding="utf-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.8 2010/01/02 18:20:04 r0bertz Exp $--> 
-<!--English CVS version: 1.41-->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.9 2010/07/12 18:39:38 r0bertz Exp $--> 
+<!--English CVS version: 1.43-->
 <guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn">
 <title>电源管理指导</title>
 
@@ -13,7 +13,7 @@
   <mail link="chriswhite@gentoo.org">Chris White</mail>
 </author>
 <author title="编辑">
-  <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
+  <mail link="nightmorph"/>
 </author>
 <author title="译者">
   <mail link="acevery@gmail.com">余钰炜</mail>
@@ -27,8 +27,8 @@
  See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.44</version>
-<date>2009-08-11</date>
+<version>1.46</version>
+<date>2010-07-13</date>
 
 <chapter>
 <title>介绍</title>
@@ -220,11 +220,11 @@
 </p>
 
 <p>
-首先,你需要一个脚本根据电源情况在<c>default</c>和<c>battery</c>间切换。这个脚本使用<c>sys-power/powermgmt-base</c>中的<c>on_ac_power</c>命令——所以确定这个包已经安装在你的系统上了。
+首先,你需要一个脚本根据电源情况在<c>default</c>和<c>battery</c>间切换。这个脚本使用<c>sys-power/pm-utils</c>中的<c>on_ac_power</c>命令——所以确定这个包已经安装在你的系统上了。
 </p>
 
-<pre caption="安装powermgmt-base">
-# <i>emerge powermgmt-base</i>
+<pre caption="安装pm-utils">
+# <i>emerge pm-utils</i>
 </pre>
 
 <p>
@@ -274,7 +274,7 @@
 </p>
 
 <pre caption="确定切换电源的ACPI事件">
-# <i>tail -f /var/log/messages | grep "received event"</i>
+# <i>tail -f /var/log/messages | grep "ACPI event"</i>
 </pre>
 
 <p>
@@ -282,13 +282,12 @@
 </p>
 
 <pre caption="电源切换输出例子">
-[Tue Sep 20 17:39:06 2005] received event "ac_adapter AC 00000080 00000000"
-[Tue Sep 20 17:39:06 2005] received event "battery BAT0 00000080 00000001"
+[Tue Sep 20 17:39:06 2005] ACPI event "ac_adapter AC 00000080 00000000"
+[Tue Sep 20 17:39:06 2005] ACPI event "battery BAT0 00000080 00000001"
 </pre>
 
 <p>
-我们感兴趣的部分是<c>received 
-event</c>后面的引号部分。它会匹配我们下面要创建的文件中有关事件的行。如果你的系统产生了多个事件或相同的事件,不用担心。只要产生了任何事件,运行级别的改变就会工作。
+我们感兴趣的部分是<c>ACPI event</c>后面的引号部分。它会匹配我们下面要创建的文件中有关事件的行。如果你的系统产生了多个事件或相同的事件,不用担心。只要产生了任何事件,运行级别的改变就会工作。
 </p>
 
 <pre caption="/etc/acpi/events/pmg_ac_adapter">






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-12 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 18:20 [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn: power-management-guide.xml Le Zhang (r0bertz)
  -- strict thread matches above, loose matches on Subject: below --
2010-07-12 18:39 Le Zhang (r0bertz)
2008-10-20  9:05 Le Zhang (r0bertz)
2008-07-01 20:10 Le Zhang (r0bertz)
2008-07-01 18:18 Le Zhang (r0bertz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox