diff options
Diffstat (limited to 'tools/power/cpupower/README')
-rw-r--r-- | tools/power/cpupower/README | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tools/power/cpupower/README b/tools/power/cpupower/README new file mode 100644 index 00000000000..fd9d4c0d668 --- /dev/null +++ b/tools/power/cpupower/README | |||
@@ -0,0 +1,49 @@ | |||
1 | The cpufrequtils package (homepage: | ||
2 | http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html ) | ||
3 | consists of the following elements: | ||
4 | |||
5 | requirements | ||
6 | ------------ | ||
7 | |||
8 | On x86 pciutils is needed at runtime (-lpci). | ||
9 | For compilation pciutils-devel (pci/pci.h) and a gcc version | ||
10 | providing cpuid.h is needed. | ||
11 | For both it's not explicitly checked for (yet). | ||
12 | |||
13 | |||
14 | libcpufreq | ||
15 | ---------- | ||
16 | |||
17 | "libcpufreq" is a library which offers a unified access method for userspace | ||
18 | tools and programs to the cpufreq core and drivers in the Linux kernel. This | ||
19 | allows for code reduction in userspace tools, a clean implementation of | ||
20 | the interaction to the cpufreq core, and support for both the sysfs and proc | ||
21 | interfaces [depending on configuration, see below]. | ||
22 | |||
23 | |||
24 | compilation and installation | ||
25 | ---------------------------- | ||
26 | |||
27 | make | ||
28 | su | ||
29 | make install | ||
30 | |||
31 | should suffice on most systems. It builds default libcpufreq, | ||
32 | cpufreq-set and cpufreq-info files and installs them in /usr/lib and | ||
33 | /usr/bin, respectively. If you want to set up the paths differently and/or | ||
34 | want to configure the package to your specific needs, you need to open | ||
35 | "Makefile" with an editor of your choice and edit the block marked | ||
36 | CONFIGURATION. | ||
37 | |||
38 | |||
39 | THANKS | ||
40 | ------ | ||
41 | Many thanks to Mattia Dongili who wrote the autotoolization and | ||
42 | libtoolization, the manpages and the italian language file for cpufrequtils; | ||
43 | to Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his | ||
44 | powernow-k8-decode and intel_gsic tools as well as the french language file; | ||
45 | and to various others commenting on the previous (pre-)releases of | ||
46 | cpufrequtils. | ||
47 | |||
48 | |||
49 | Dominik Brodowski | ||