ACPI-HOWTO(1).pdf

(89 KB) Pobierz
ACPI: Advanced Configuration and Power Interface
ACPI: Advanced Configuration and Power
Interface
Emma Jane Hogbin
Erich Schubert − Author of the section on DSDT.
Revision History
Revision v1.5.1
2004−07−15
Revised by: ejh
Link included to the French translation of this document.
Revision v1.5 2004−05−21 Revised by: ejh
Minor updates for the 2.6.6 kernel and corrections regarding which kernels need patching.
Revision v1.4 2004−05−12 Revised by: ejh
Initial thoughts on the 2.6.5 kernel; includes information on battery monitoring applications causing touchpad
lockup problems.
Outlines how to patch a kernel for ACPI support.
192773658.002.png
ACPI: Advanced Configuration and Power Interface
Table of Contents
1. About this document. ......................................................................................................................................1
2. Copyright and License. ...................................................................................................................................2
3. Translations. ....................................................................................................................................................3
4. About ACPI. ....................................................................................................................................................4
5. Why switch?. ...................................................................................................................................................5
6. DSDT: Differentiated System Description Table. ........................................................................................6
7. Installing from scratch. ..................................................................................................................................7
7.1. Choosing a kernel. ............................................................................................................................7
7.1.1. Debian−ized pre−patched kerne. ............................................................................................8
8. Backups. ...........................................................................................................................................................9
9. Download and Unpack the New Kernel. .....................................................................................................10
9.1. Required packages. .........................................................................................................................10
9.2. Unpack. ...........................................................................................................................................10
10. Configure the new kernel. ..........................................................................................................................11
11. Compile the new kernel. .............................................................................................................................12
12. Install the new kerne. .................................................................................................................................13
13. Reboot and test. ...........................................................................................................................................14
14. Load related modules. ................................................................................................................................15
15. Switching from APM to ACPI. ..................................................................................................................16
16. Using ACPI. .................................................................................................................................................17
17. References and Resources. .........................................................................................................................19
18. Thanks. .........................................................................................................................................................21
A. Patching Old Kernels. ..................................................................................................................................22
A.1. Getting the Source Files. ...........................................................................................................................23
A.1.1. Patch. ...........................................................................................................................................23
B. ACPI the Non−Debian Way. .......................................................................................................................24
i
192773658.003.png
ACPI: Advanced Configuration and Power Interface
Table of Contents
B.1. Compile the kernel. ...................................................................................................................................25
B.2. Install the new kernel. ...............................................................................................................................26
B.3. Software packages. ....................................................................................................................................27
C. GNU Free Documentation License. ............................................................................................................28
C.1. PREAMBLE. .............................................................................................................................................29
C.2. APPLICABILITY AND DEFINITIONS. ...............................................................................................30
C.3. VERBATIM COPYING. ..........................................................................................................................31
C.4. COPYING IN QUANTITY. .....................................................................................................................32
C.5. MODIFICATIONS. ..................................................................................................................................33
C.6. COMBINING DOCUMENTS. ................................................................................................................35
C.7. COLLECTIONS OF DOCUMENTS. .....................................................................................................36
C.8. AGGREGATION WITH INDEPENDENT WORKS. ..........................................................................37
C.9. TRANSLATION. ......................................................................................................................................38
C.10. TERMINATION. ....................................................................................................................................39
C.11. FUTURE REVISIONS OF THIS LICENSE. .......................................................................................40
C.12. How to use this License for your documents. .......................................................................................41
ii
192773658.004.png
1. About this document
When I first started the switch from APM to ACPI I didn't realize the kernel needed to be patched. My
problem (insanely loud fan) was fixed just by upgrading to 2.4.20 (Debian packaged kernel with an earlier
patch from acpi.sourceforge.net) . Unfortunately after the first upgrade I wasn't able to halt my computer
without using the power switch to power−down my computer. It wasn't until later that I realized I had an old,
ineffectual ACPI patch. This HOWTO was written to summarize the install process for myself, and hopefully
help others who are also having a hard time finding information about ACPI. Please note: the main article
outlines The Debian Way of doing things. There is also generic information in the Appendix B for those of
you who prefer ... the generic way.
1. About this document
1
192773658.005.png
2. Copyright and License
Copyright (c) 2003, 2004 Emma Jane Hogbin.
Permission is granted to copy, distribute and/or modify this document under the terms of the
GNU Free Documentation License, Version 1.1 or any later version published by the Free
Software Foundation; with no Invariant Sections, no Front−Cover Texts, and with no
Back−Cover Texts. A copy of the license is included in Appendix C .
2. Copyright and License
2
192773658.001.png
Zgłoś jeśli naruszono regulamin