You can save some battery power by decreasing the cpu core voltage. linux-phc.org provides an kernel interface to these voltages via a patches acpi-cpufreq module, called phc-intel. This is the ebuild for the latest intel release. Instead of http://bugs.gentoo.org/show_bug.cgi?id=158579 this ebuild uses the supplied Makefile and prepare.sh for the kernel-module patching. CONFIG_X86_ACPI_CPUFREQ must not be Y (compiled in). I've added this to my overlay at http://svn.xmw.de/gentoo-overlay/ Reproducible: Always
Created attachment 202928 [details] shiny new ebuild
Created attachment 202930 [details, diff] removes one depmod -a and removes one access violation
Created attachment 202932 [details] online-docu vs. repoman
*** Bug 271297 has been marked as a duplicate of this bug. ***
i would suggest that it is moved to sys-power as it is also applicable for all intel cpus
Created attachment 203437 [details] inherits from linux-mod A slightly different approach: it inherits from linux-mod which simplifies things a bit: linux-mod does installation (instead of doing a make install) and as a result patching for sandbox violations is not required. Also linux-mod runs depmod in the end so that the user doesn't have to do that manually.
*** Bug 284103 has been marked as a duplicate of this bug. ***
Created attachment 206702 [details] sys-power/phc-intel-0.3.3-r8.ebuild new version available
Created attachment 206704 [details, diff] removes one depmod -a and removes one access violation adapted for new ebuild version
Created attachment 206809 [details] sys-power/phc-intel-0.3.3-r8.ebuild removed typo, secured emake with "|| die ..."
Created attachment 207883 [details] sys-power/phc-intel-0.3.3-r8.ebuild (improved arch detection) fixed problem at x86. uname -m reports i.e. i686, but ARCH=x86 is expected. at amd64, ARCH ist set to amd64, but the make script needs x86_64 inside /usr/src/linux/arch/....
Created attachment 208823 [details] sys-power/phc-k8-0.4.1.ebuild version for AMD K8 Family, see http://svn.xmw.de/gentoo-overlay/
Created attachment 208824 [details, diff] moves make install destination to .../image/
For userland tool see closed bug http://bugs.gentoo.org/show_bug.cgi?id=284103
Created attachment 208825 [details] sys-power/phc-k8-0.4.1.ebuild fixed kernel config test added installation message: run update-modules to activate replacement of kernel modules
Created attachment 214912 [details] sys-power/phc-intel-0.3.2.9.ebuild, new upstream version changed version format from 0.3.2-r8 to 0.3.2.9
Created attachment 214913 [details, diff] removes one depmod -a and one access violation, unchanged from -r8
Created attachment 217854 [details] sys-power/phc-intel-0.3.2.10.ebuild, new upstream version
Created attachment 217856 [details, diff] removes one depmod -a and one access violation, unchanged from -r8
Created attachment 220417 [details] ebuild switched to linux-mod gained little linux-mod knowledge wit dev-util/exmap, linux-mod __is__ cool.
Created attachment 221211 [details] adapted to gentoo-sources-2.6.33 had to add src_prepare() { if kernel_is -ge 2 6 33 ; then sed -i "s:include/linux/utsrelease.h:include/generated/utsrelease.h:" Makefile || die fi } for the latest (2.6.33) gentoo-sources/vanilla-sources kernel
Seems a quite interesting package If someone is willing to proxy-maintain it please let me know. I can commit this ebuild for you on portage tree
These Ebuilds were now in sunrise overlay http://overlays.gentoo.org/proj/sunrise/browser/reviewed/ and in the main tree, tomorrow. \o/ Michael
Created attachment 232065 [details] sys-power/phc-intel-0.3.2.11.ebuild, new upstream version * kernel support 2.6.33 2.6.34 now upstream * force -j1 on MAKEOPTS
(In reply to comment #25) > sys-power/phc-intel-0.3.2.11.ebuild, new upstream version http://overlays.gentoo.org/proj/sunrise/changeset/10580 will be reviewd in 48 hours, thanks erik.
(phc-intel) 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org> ChangeLog: New ebuild for sys-power/phc-intel. Ebuild written by me, taken from sunrise. Fixes bug #283472. *phc-k8-0.4.2 (24 Aug 2010) 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org> +phc-k8-0.4.2.ebuild, +metadata.xml: Initial commit for phc-k8. Fixes bug 283472. *phctool-0.5.2.2 (24 Aug 2010) 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org> +phctool-0.5.2.2.ebuild, +files/phctool-0.5.2.2_all_paths_tool_no_sudo.patch, +files/phctool-0.5.2.2_all_paths_tool_sudo.patch, +files/phctool-0.5.2.2_all_paths_tray.patch, +metadata.xml: Initial commit for phctool. Fixes bug 283472.