Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283472 - sys-power/phc-intel-0.3.2.10, sys-power/phc-k8-0.4.1, sys-power/phctool-0.5.2-r2: New Ebuilds
Summary: sys-power/phc-intel-0.3.2.10, sys-power/phc-k8-0.4.1, sys-power/phctool-0.5.2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Michael Weber (RETIRED)
URL: http://www.linux-phc.org/
Whiteboard:
Keywords: EBUILD
: 271297 284103 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-02 02:40 UTC by Michael Weber (RETIRED)
Modified: 2010-08-24 14:06 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
shiny new ebuild (phc-intel-0.3.2-r7.ebuild,1.09 KB, text/plain)
2009-09-02 02:42 UTC, Michael Weber (RETIRED)
Details
removes one depmod -a and removes one access violation (phc-intel-0.3.2-r7_all_sandbox.patch,731 bytes, patch)
2009-09-02 02:44 UTC, Michael Weber (RETIRED)
Details | Diff
online-docu vs. repoman (phc-intel-0.3.2-r7.ebuild,1.07 KB, text/plain)
2009-09-02 02:57 UTC, Michael Weber (RETIRED)
Details
inherits from linux-mod (phc-intel-0.3.2.7.ebuild,757 bytes, text/plain)
2009-09-08 03:49 UTC, redneb
Details
sys-power/phc-intel-0.3.3-r8.ebuild (phc-intel-0.3.2-r8.ebuild,1.07 KB, text/plain)
2009-10-10 20:15 UTC, Michael Weber (RETIRED)
Details
removes one depmod -a and removes one access violation (phc-intel-0.3.2-r8_all_sandbox.patch,731 bytes, patch)
2009-10-10 20:15 UTC, Michael Weber (RETIRED)
Details | Diff
sys-power/phc-intel-0.3.3-r8.ebuild (phc-intel-0.3.2-r8.ebuild,1.14 KB, text/plain)
2009-10-11 21:24 UTC, Michael Weber (RETIRED)
Details
sys-power/phc-intel-0.3.3-r8.ebuild (improved arch detection) (phc-intel-0.3.2-r8.ebuild,1.31 KB, text/plain)
2009-10-22 03:56 UTC, Michael Weber (RETIRED)
Details
sys-power/phc-k8-0.4.1.ebuild (phc-k8-0.4.1.ebuild,1.10 KB, text/plain)
2009-10-31 03:59 UTC, Michael Weber (RETIRED)
Details
moves make install destination to .../image/ (phc-k8-0.4.1_all_sandbox.patch,850 bytes, patch)
2009-10-31 04:01 UTC, Michael Weber (RETIRED)
Details | Diff
sys-power/phc-k8-0.4.1.ebuild (phc-k8-0.4.1.ebuild,1.11 KB, text/plain)
2009-10-31 04:51 UTC, Michael Weber (RETIRED)
Details
sys-power/phc-intel-0.3.2.9.ebuild, new upstream version (phc-intel-0.3.2.9.ebuild,1.31 KB, text/plain)
2010-01-02 11:37 UTC, Michael Weber (RETIRED)
Details
removes one depmod -a and one access violation, unchanged from -r8 (phc-intel-0.3.2.9_all_sandbox.patch,731 bytes, patch)
2010-01-02 11:39 UTC, Michael Weber (RETIRED)
Details | Diff
sys-power/phc-intel-0.3.2.10.ebuild, new upstream version (phc-intel-0.3.2.10.ebuild,1.32 KB, text/plain)
2010-01-29 17:49 UTC, Michael Weber (RETIRED)
Details
removes one depmod -a and one access violation, unchanged from -r8 (phc-intel-0.3.2.10_all_sandbox.patch,733 bytes, patch)
2010-01-29 17:50 UTC, Michael Weber (RETIRED)
Details | Diff
ebuild switched to linux-mod (phc-intel-0.3.2.10.ebuild,798 bytes, text/plain)
2010-02-20 00:43 UTC, Michael Weber (RETIRED)
Details
adapted to gentoo-sources-2.6.33 (phc-intel-0.3.2.10.ebuild,940 bytes, text/plain)
2010-02-25 21:33 UTC, Michael Weber (RETIRED)
Details
sys-power/phc-intel-0.3.2.11.ebuild, new upstream version (phc-intel-0.3.2.11.ebuild,835 bytes, text/plain)
2010-05-19 09:42 UTC, Erik Hoppe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2009-09-02 02:40:09 UTC
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
Comment 1 Michael Weber (RETIRED) gentoo-dev 2009-09-02 02:42:43 UTC
Created attachment 202928 [details]
shiny new ebuild
Comment 2 Michael Weber (RETIRED) gentoo-dev 2009-09-02 02:44:11 UTC
Created attachment 202930 [details, diff]
removes one depmod -a and removes one access violation
Comment 3 Michael Weber (RETIRED) gentoo-dev 2009-09-02 02:57:28 UTC
Created attachment 202932 [details]
online-docu vs. repoman
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2009-09-02 06:11:33 UTC
*** Bug 271297 has been marked as a duplicate of this bug. ***
Comment 5 Mario Fetka (geos_one) 2009-09-04 14:41:34 UTC
i would suggest that it is moved to sys-power as it is also applicable for all intel cpus
Comment 6 redneb 2009-09-08 03:49:38 UTC
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.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2009-09-08 11:04:15 UTC
*** Bug 284103 has been marked as a duplicate of this bug. ***
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-11 06:49:32 UTC
*** Bug 284103 has been marked as a duplicate of this bug. ***
Comment 9 Michael Weber (RETIRED) gentoo-dev 2009-10-10 20:15:06 UTC
Created attachment 206702 [details]
sys-power/phc-intel-0.3.3-r8.ebuild

new version available
Comment 10 Michael Weber (RETIRED) gentoo-dev 2009-10-10 20:15:53 UTC
Created attachment 206704 [details, diff]
removes one depmod -a and removes one access violation

adapted for new ebuild version
Comment 11 Michael Weber (RETIRED) gentoo-dev 2009-10-11 21:24:49 UTC
Created attachment 206809 [details]
sys-power/phc-intel-0.3.3-r8.ebuild

removed typo,
secured emake with "|| die ..."
Comment 12 Michael Weber (RETIRED) gentoo-dev 2009-10-22 03:56:40 UTC
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/....
Comment 13 Michael Weber (RETIRED) gentoo-dev 2009-10-31 03:59:27 UTC
Created attachment 208823 [details]
sys-power/phc-k8-0.4.1.ebuild

version for AMD K8 Family, see http://svn.xmw.de/gentoo-overlay/
Comment 14 Michael Weber (RETIRED) gentoo-dev 2009-10-31 04:01:05 UTC
Created attachment 208824 [details, diff]
moves make install destination to .../image/
Comment 15 Michael Weber (RETIRED) gentoo-dev 2009-10-31 04:04:01 UTC
For userland tool see closed bug http://bugs.gentoo.org/show_bug.cgi?id=284103
Comment 16 Michael Weber (RETIRED) gentoo-dev 2009-10-31 04:51:58 UTC
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
Comment 17 Michael Weber (RETIRED) gentoo-dev 2010-01-02 11:37:55 UTC
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
Comment 18 Michael Weber (RETIRED) gentoo-dev 2010-01-02 11:39:19 UTC
Created attachment 214913 [details, diff]
removes one depmod -a and one access violation, unchanged from -r8
Comment 19 Michael Weber (RETIRED) gentoo-dev 2010-01-29 17:49:29 UTC
Created attachment 217854 [details]
sys-power/phc-intel-0.3.2.10.ebuild, new upstream version
Comment 20 Michael Weber (RETIRED) gentoo-dev 2010-01-29 17:50:50 UTC
Created attachment 217856 [details, diff]
removes one depmod -a and one access violation, unchanged from -r8
Comment 21 Michael Weber (RETIRED) gentoo-dev 2010-02-20 00:43:27 UTC
Created attachment 220417 [details]
ebuild switched to linux-mod

gained little linux-mod knowledge wit dev-util/exmap, linux-mod __is__ cool.
Comment 22 Michael Weber (RETIRED) gentoo-dev 2010-02-25 21:33:39 UTC
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
Comment 23 Markos Chandras (RETIRED) gentoo-dev 2010-04-10 10:14:28 UTC
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
Comment 24 Michael Weber (RETIRED) gentoo-dev 2010-04-11 00:07:20 UTC
These Ebuilds were now in sunrise overlay http://overlays.gentoo.org/proj/sunrise/browser/reviewed/ and in the main tree, tomorrow. 

\o/ Michael

Comment 25 Erik Hoppe 2010-05-19 09:42:01 UTC
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
Comment 26 Michael Weber (RETIRED) gentoo-dev 2010-05-19 12:40:17 UTC
(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.
Comment 27 Michael Weber (RETIRED) gentoo-dev 2010-08-24 14:06:06 UTC
(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.