| 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.9 2005/03/12 16:52:22 so Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.10 2005/03/19 16:48:25 yoswink 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.19</version> |
20 | <version>1.20</version> |
| 21 | <date>2005-03-12</date> |
21 | <date>2005-03-19</date> |
| 22 | |
22 | |
| 23 | <chapter> |
23 | <chapter> |
| 24 | <title>Introduction</title> |
24 | <title>Introduction</title> |
| 25 | |
25 | |
| 26 | <section> |
26 | <section> |
| … | |
… | |
| 186 | Consult the kernel documentation if you're unsure which one to take. |
186 | Consult the kernel documentation if you're unsure which one to take. |
| 187 | </p> |
187 | </p> |
| 188 | |
188 | |
| 189 | <p> |
189 | <p> |
| 190 | Compile your kernel, make sure the right modules get loaded at startup and boot |
190 | Compile your kernel, make sure the right modules get loaded at startup and boot |
| 191 | into your new ACPI-enabled kernel. Next run <c>emerge sys-apps/acpid</c> to get |
191 | into your new ACPI-enabled kernel. Next run <c>emerge sys-power/acpid</c> to get |
| 192 | the acpi daemon. This one informs you about events like switching from AC to |
192 | the acpi daemon. This one informs you about events like switching from AC to |
| 193 | battery or closing the lid. Make sure the module <e>button</e> is loaded if you |
193 | battery or closing the lid. Make sure the module <e>button</e> is loaded if you |
| 194 | didn't compile it into the kernel and start acpid with <c>/etc/init.d/acpid |
194 | didn't compile it into the kernel and start acpid with <c>/etc/init.d/acpid |
| 195 | start</c>. Run <c>rc-update add acpid default</c> to load it on startup. You'll |
195 | start</c>. Run <c>rc-update add acpid default</c> to load it on startup. You'll |
| 196 | soon see how to use it. |
196 | soon see how to use it. |
| 197 | </p> |
197 | </p> |
| 198 | |
198 | |
| 199 | <pre caption="Installing acpid"> |
199 | <pre caption="Installing acpid"> |
| 200 | # <i>emerge sys-apps/acpid</i> |
200 | # <i>emerge sys-power/acpid</i> |
| 201 | # <i>modprobe button</i> |
201 | # <i>modprobe button</i> |
| 202 | # <i>/etc/init.d/acpid start</i> |
202 | # <i>/etc/init.d/acpid start</i> |
| 203 | # <i>rc-update add acpid default</i> |
203 | # <i>rc-update add acpid default</i> |
| 204 | </pre> |
204 | </pre> |
| 205 | |
205 | |