| 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.10 2005/03/19 16:48:25 yoswink Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.11 2005/04/18 19:19:27 dertobi123 Exp $ --> |
| 4 | <guide link="power-management-guide.xml"> |
4 | <guide link="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="fragfred@gmx.de">Dennis Nienhüser</mail> |
8 | <mail link="fragfred@gmx.de">Dennis Nienhüser</mail> |
| … | |
… | |
| 15 | |
15 | |
| 16 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
16 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 17 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
17 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
| 18 | <license/> |
18 | <license/> |
| 19 | |
19 | |
| 20 | <version>1.20</version> |
20 | <version>1.21</version> |
| 21 | <date>2005-03-19</date> |
21 | <date>2005-04-18</date> |
| 22 | |
22 | |
| 23 | <chapter> |
23 | <chapter> |
| 24 | <title>Introduction</title> |
24 | <title>Introduction</title> |
| 25 | |
25 | |
| 26 | <section> |
26 | <section> |
| … | |
… | |
| 318 | Some of these files must be executable. Last not least restart acpid to have |
318 | Some of these files must be executable. Last not least restart acpid to have |
| 319 | it recognize the changes. |
319 | it recognize the changes. |
| 320 | </p> |
320 | </p> |
| 321 | |
321 | |
| 322 | <pre caption="Finishing runlevel switching with acpid"> |
322 | <pre caption="Finishing runlevel switching with acpid"> |
|
|
323 | <i># emerge powermgmt-base</i> |
| 323 | <i># chmod +x /etc/acpi/switch_runlevel.sh</i> |
324 | <i># chmod +x /etc/acpi/switch_runlevel.sh</i> |
| 324 | <i># chmod +x /etc/acpi/actions/pmg_*</i> |
325 | <i># chmod +x /etc/acpi/actions/pmg_*</i> |
| 325 | <i># /etc/init.d/acpid restart</i> |
326 | <i># /etc/init.d/acpid restart</i> |
| 326 | </pre> |
327 | </pre> |
| 327 | |
328 | |
| … | |
… | |
| 1229 | <e>A:</e> The ondemand governor is only included in recent kernel sources. Try |
1230 | <e>A:</e> The ondemand governor is only included in recent kernel sources. Try |
| 1230 | updating them. |
1231 | updating them. |
| 1231 | </p> |
1232 | </p> |
| 1232 | |
1233 | |
| 1233 | <p> |
1234 | <p> |
| 1234 | <e>Q:</e> Runlevel switching doesn't work - the script is not able to determine |
|
|
| 1235 | the power source correctly. |
|
|
| 1236 | </p> |
|
|
| 1237 | |
|
|
| 1238 | <p> |
|
|
| 1239 | <e>A:</e> On some systems, the power source can't be determined by reading |
|
|
| 1240 | <path>/proc/acpi/ac_adapter/*/state</path>. If it fails for you, create a |
|
|
| 1241 | custom script <c>on_ac_power</c> or use the one from <c>powermgmt-base</c>. |
|
|
| 1242 | An ebuild can be found in <uri |
|
|
| 1243 | link="http://bugs.gentoo.org/show_bug.cgi?id=76516">Bug #76516</uri>. You |
|
|
| 1244 | only have to emerge it, it works transparently with the above script. |
|
|
| 1245 | </p> |
|
|
| 1246 | |
|
|
| 1247 | <p> |
|
|
| 1248 | <e>Q:</e> Battery life time seems to be worse than before. |
1235 | <e>Q:</e> Battery life time seems to be worse than before. |
| 1249 | </p> |
1236 | </p> |
| 1250 | |
1237 | |
| 1251 | <p> |
1238 | <p> |
| 1252 | <e>A:</e> Check your BIOS settings. Maybe you forgot to re-enable some of the |
1239 | <e>A:</e> Check your BIOS settings. Maybe you forgot to re-enable some of the |