18c2ecf20Sopenharmony_ciThe cpupower package consists of the following elements: 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_cirequirements 48c2ecf20Sopenharmony_ci------------ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciOn x86 pciutils is needed at runtime (-lpci). 78c2ecf20Sopenharmony_ciFor compilation pciutils-devel (pci/pci.h) and a gcc version 88c2ecf20Sopenharmony_ciproviding cpuid.h is needed. 98c2ecf20Sopenharmony_ciFor both it's not explicitly checked for (yet). 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cilibcpupower 138c2ecf20Sopenharmony_ci---------- 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci"libcpupower" is a library which offers a unified access method for userspace 168c2ecf20Sopenharmony_citools and programs to the cpufreq core and drivers in the Linux kernel. This 178c2ecf20Sopenharmony_ciallows for code reduction in userspace tools, a clean implementation of 188c2ecf20Sopenharmony_cithe interaction to the cpufreq core, and support for both the sysfs and proc 198c2ecf20Sopenharmony_ciinterfaces [depending on configuration, see below]. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cicompilation and installation 238c2ecf20Sopenharmony_ci---------------------------- 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_cimake 268c2ecf20Sopenharmony_cisu 278c2ecf20Sopenharmony_cimake install 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_cishould suffice on most systems. It builds libcpupower to put in 308c2ecf20Sopenharmony_ci/usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and 318c2ecf20Sopenharmony_cicpufreq-bench to put in /usr/sbin. If you want to set up the paths 328c2ecf20Sopenharmony_cidifferently and/or want to configure the package to your specific 338c2ecf20Sopenharmony_cineeds, you need to open "Makefile" with an editor of your choice and 348c2ecf20Sopenharmony_ciedit the block marked CONFIGURATION. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciTHANKS 388c2ecf20Sopenharmony_ci------ 398c2ecf20Sopenharmony_ciMany thanks to Mattia Dongili who wrote the autotoolization and 408c2ecf20Sopenharmony_cilibtoolization, the manpages and the italian language file for cpupower; 418c2ecf20Sopenharmony_cito Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his 428c2ecf20Sopenharmony_cipowernow-k8-decode and intel_gsic tools as well as the french language file; 438c2ecf20Sopenharmony_ciand to various others commenting on the previous (pre-)releases of 448c2ecf20Sopenharmony_cicpupower. 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci Dominik Brodowski 48