Summary: | sys-power/cpupower: the new sys-power/cpufrequtils | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | [OLD] Core system | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, fedux, flow, ktrackfd, mieszkoslusarczyk, polynomial-c, richterphilipp.pops, robcab666, saintdev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://permalink.gmane.org/gmane.linux.kernel.cpufreq/7041 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sys-power/cpupowerutils-3.4.18
cpupower-3.4.18-makefile.patch cpupower-3.4.18-makefile.patch |
Description
Martin Mokrejš
2012-03-14 18:46:44 UTC
This is now merged into the tools/ tree of the kernel tree. But it doesn't include the pmtools pieces. Those are at www.lesswatts.org. *** Bug 410439 has been marked as a duplicate of this bug. *** *** Bug 424643 has been marked as a duplicate of this bug. *** Created attachment 329698 [details]
sys-power/cpupowerutils-3.4.18
Okay, I've started hacking together an ebuild for this.
I find it quite annoying that these tools are part of the kernel sources so I put them into a tarball on my dev space. Please find attached the ebuild I'm currently using. I took the sources from 3.4.18 kernel version because that's the one I'm currently using on most of my machines.
Comments are welcome.
Created attachment 329700 [details, diff]
cpupower-3.4.18-makefile.patch
The needed patch to get the ebuild working.
Created attachment 329702 [details, diff]
cpupower-3.4.18-makefile.patch
Sorry, first patch contained a bad line. This one is good :)
bug #410439 and bug #424643 include also ebuilds and some more patches, maybe you want to take a look at them? imho src_compile and src_install is not nescessary in your ebuild, if you want to process the default operations. Maybe the package should be rather just cpupower, like in other linux distros. Took me a while to realize this is a same thing. ;-) Works fine for me on 3.7.1 kernel but looks I will downgrade to 3.4 because can't make by CPU to go to the highest turbo frequency (hope the "smp_scheduler or mc_scheduler values in the configuration file" will help me, removed since kernel 3.5. :(). https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling https://bbs.archlinux.org/viewtopic.php?id=148113 sys-power/cpupower-3.8_rc4 is already in the tree. I guess this can be closed (In reply to comment #9) > sys-power/cpupower-3.8_rc4 is already in the tree. I guess this can be closed nod |