| 1 |
Installation requirements |
| 2 |
========================= |
| 3 |
|
| 4 |
1. A computer(laptop) running a fairly recent Linux distro, preferably with a kernel from the 2.6 series. |
| 5 |
|
| 6 |
2. That kernel MUST have ACPI support enabled and /proc file support. Sysfs support |
| 7 |
is required for a kernel from the 2.6 series (not for 2.4). |
| 8 |
|
| 9 |
|
| 10 |
For ACPI, enable all options applicable to your system. You should enable at least the following: |
| 11 |
|
| 12 |
- sleep states |
| 13 |
- processor |
| 14 |
- button |
| 15 |
- thermal zone |
| 16 |
- battery |
| 17 |
- ac adapter |
| 18 |
- fan |
| 19 |
|
| 20 |
3. If you have a Toshiba laptop, you can enable kernel support the Toshiba ACPI extensions. |
| 21 |
|
| 22 |
4. If you have an Asus laptop, you can enable kernel support the ASUS ACPI extensions. |
| 23 |
|
| 24 |
5. a C++ compiler (gcc-g++ is fine, it worked for me anyway). |
| 25 |
|
| 26 |
6. If you have a pretty recent laptop, check out if supports frequency scaling, and enable |
| 27 |
kernel support for it if it does. |
| 28 |
|
| 29 |
7. GNU Make |
| 30 |
|
| 31 |
|
| 32 |
Basic Installation |
| 33 |
================== |
| 34 |
|
| 35 |
The simplest way to compile this package is: |
| 36 |
|
| 37 |
1. `cd' to the directory containing the package's source code and type |
| 38 |
`sh configure'. When that's done, type `make' to compile the package. |
| 39 |
|
| 40 |
2. Type `make install' to install the program and any data files and documentation. |
| 41 |
|
| 42 |
3. You can remove the program binaries and object files from the source code directory |
| 43 |
by typing `make clean'. To remove the installed files that `make install' created, |
| 44 |
type `make uninstall'. |
| 45 |
|
| 46 |
4. You can set the CXXFLAGS environment variable to define compile options. |
| 47 |
|
| 48 |
|
| 49 |
Installation Names |
| 50 |
================== |
| 51 |
|
| 52 |
By default, `make install' will install the package's files in `/usr/local/bin'. |
| 53 |
You can edit the Makefile and specify an installation prefix other than `/usr/local'. |
| 54 |
|
| 55 |
|
| 56 |
How to use it |
| 57 |
============= |
| 58 |
|
| 59 |
Acpitool is a CLI application, that means it has no fancy GUI with buttons or other crap. |
| 60 |
So, just type "acpitool", without the quotes, at your shell prompt and you should get some text output. |
| 61 |
If you want to find out which arguments it can handle, type "acpitool --help". |
| 62 |
|
| 63 |
|