sys-power/cpufrequtils is dead upstream. There have been no updates in a year and all of its functionality has been moved to 'cpupower' which is included with all mainline kernel sources in /linux/tools/power/cpupower/ since ver-3.1. Since it's no longer maintained and all development has shifted to cpupower we should do the same as well. The application is known by various names with different distros as cpupower, cpupower-utils, or cpupowerutils. Most distros (including RedHat, Suse, Debian, Ubuntu, Mint, and Arch) have been making the switch, because cpupower includes finer grain control of cpu and idle governors and support for the latest generation of processors across platforms which weren't supported by cpufrequtils. It's currently included as part of the package sys-apps/linux-misc-apps-3.1, however this doesn't build in my system. (Since I don't require any of the other tools, I've been searching for a stand-alone solution.) There are two threads in the Gentoo forums mentioning this app and several bug reports requesting its inclusion in the tree including #358801 #408193 #410439. Since its nearly a drop in replacement for cpufrequtils it shouldn't be too difficult for the maintainer to make the switch. I'm a truck driver, not a programmer. However, I was able to install the application by modifying the ebuild from the 'Strohel overlay' and combining with the init script and config file provided by Phillip Richter in bug #410439 which I manually added to /etc/conf.d and /etc/init.d then installed in my default runlevel. Since installing last week my battery uptime has increased dramatically vs cpufrequtils on my ~amd64 laptop. I'm getting 20 more minutes on a charge. On a laptop which used get barely get 2 hours this is impressive. I'm including a slightly modified ebuild and configuration files that I've been using. Hopefully someone with better skills than myself can improve and incorporate this into the tree so that the deprecated cpufrequtils can be removed in its favor. TIA Reproducible: Always
Created attachment 317063 [details] modified ebuild from Strohel overlay
Created attachment 317065 [details] configuration file
Created attachment 317067 [details] init file
currently cpupower is installed by sys-apps/linux-misc-apps but without init script. % equery b /usr/bin/cpupower sys-apps/linux-misc-apps-3.1 (/usr/bin/cpupower)
see bug #408193 and bug #410439
To comments #4 and #5, DON"T YOU EVEN BOTHER TO READS THESE POSTS BEFORE COMMENTING ON THEM??!! I know about the other bug reports, I specifically mentioned 3 of them #358801 #408193 #410439, as well as two threads in the forum. And I also mentioned its inclusion in sys-apps/linux-misc-apps-3.1, AS WELL AS STATING THAT IT DOESN'T BUILD FOR ME!!! I'm asking for this this (sys-power/cpupower) to be released as a separate stand alone app REPLACING or in addition to sys-power/cpufrequtils WHICH IS DEAD UPSTREAM and being replaced in most distros by cpupower. Cpufrequtils doesn't support the addition power savings features in most Intel CPUs post core2 and most AMD multicore cpus, period. Additionally, cpupower better supports ARM, and most other architectures. So its benefits will be felt across platforms. I've included a modified ebuild and scripts that I found here and in the forums. They have worked for me and present a starting point for someone wishing to improve and expand upon. As I said previously, I'm a truck driver not a programmer. I've done the best I could to help contribute. Which is more than I can say for you two chiming in to restate the previously stated without adding anything new or positive to the discussion!!!
If you know that there are other bugs, why don't you contribute to these bugs instead of creating a new one? Multiple bugs make it very hard for interested developers and users to check where they find the latest ebuild for cpupower. I also see no bug report regarding the build failure of linux-misc-apps.
(In reply to comment #7) > If you know that there are other bugs, why don't you contribute to these > bugs instead of creating a new one? > > Multiple bugs make it very hard for interested developers and users to check > where they find the latest ebuild for cpupower. > > I also see no bug report regarding the build failure of linux-misc-apps. Again I ask did you even bother to take the time to read my original post or any other comments on this thread? Obviously not! For one, I've included an ebuild which needs improvement and two scripts that work for me, to help somebody as a starting point. I can't do much more as I don't know a thing about programing. THIS IS A CONTRIBUTION TO THE COMMUNITY!!! I can't possibly make it any easier SINCE I"M NOT A PROGRAMMER!!!! I'm a 50 year old truck driver/Family man, who has been a Linux user since the mid 90's and a Gentoo user and contributer (in ways that I can, including bug reports and helping in the forums) for over a decade. Now as to not reporting a bug on linux-misc-apps.... The reason is simple, I only need this tool, the build fails elsewhere, and I don't have the inclination nor the extra time to deal with it when I already have what I need that is working for me with this ebuild and included files. Again, if YOU have nothing to contribute positively, (which you haven't done thus far) then move on! Ciao
*** This bug has been marked as a duplicate of bug 408193 ***
Hey Robert. Sorry it's taken me so long to get to this. I'm in the process of moving across the US, but be assured this is important to me and is on my to-do list.