Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229763 - sys-apps/hal sys-power/pm-utils PPC patches
Summary: sys-apps/hal sys-power/pm-utils PPC patches
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High enhancement (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 250515
  Show dependency tree
 
Reported: 2008-06-27 14:12 UTC by Christian Schmitt
Modified: 2009-01-05 16:20 UTC (History)
3 users (show)

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


Attachments
enable PMU support on PPC for HAL (hal-0.5.11-enable-pmu.patch,1.02 KB, patch)
2008-06-27 14:13 UTC, Christian Schmitt
Details | Diff
disable dependencies on PPC (pm-utils-1.1.2.1-enable-ppc.patch,905 bytes, patch)
2008-06-27 14:15 UTC, Christian Schmitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmitt 2008-06-27 14:12:14 UTC
These patches should be applied against the Gentopia ebuilds and will enable PMU support for HAL on PPC machines, which is the proper way to get information about AC status on these computers. I have it running on my iBook since some months now and it works good in conjunction with kpowersave.

When compiled with the "laptop" USE-flag (currently masked for PPC), pm-utils is installed which takes care of powersaving. The pm-utils patch disables the dependency on sys-apps/vbetool and app-laptop/radeontool for PPC machines, since these packages do not work here.

I would be glad to get some testing on more machines and feedback.
Comment 1 Christian Schmitt 2008-06-27 14:13:35 UTC
Created attachment 158651 [details, diff]
enable PMU support on PPC for HAL
Comment 2 Christian Schmitt 2008-06-27 14:15:17 UTC
Created attachment 158653 [details, diff]
disable dependencies on PPC

Disable unsuitable deps on PPC
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2008-07-13 06:36:53 UTC
These look okay from the ppc side, Gentopia, what do you think?
Comment 4 gringo 2008-08-08 09:05:19 UTC
thanks for the patches, both work for me. Laptop USE works here too ( or at least gnome-power-manager does his job here).

thansk again !
Comment 5 Christian Schmitt 2008-09-20 14:49:54 UTC
We'd need some testing on PPC64 for this, too. Corsair, would you please give it a try?
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2008-09-20 18:11:23 UTC
hal 0.5.11 is fucked on ppc64 anyways. this means the patch cannot be tested as long as newer hal versions are broken. go ahead and apply it. the patches cannot make the situation worse on ppc64 ^^

I'm also using newer hal versions on my mac mini (ppc32). I just did not get around marking those versions ~ppc again. I.e. I'm cool with adding ~ppc to hal-0.5.11-r1.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-14 23:39:28 UTC
(In reply to comment #3)
> These look okay from the ppc side, Gentopia, what do you think?
> 

Please do this. I would like for net-misc/wicd to depend on pm-utils. compnerd is non-responsive so take this as your 'ok' to doit. Thanks.
Comment 8 Steev Klimaszewski (RETIRED) gentoo-dev 2008-12-15 17:41:38 UTC
I am sorry - I thought I had replied to this bug already - please apply, none of us have ppc/ppc64 machines in Gentopia, so if these work for you, as long as they don't break on x86/amd64, feel free to do whatever you need on the ppc* platforms.
Comment 9 Christian Schmitt 2008-12-16 09:08:59 UTC
Ok, please add the patches to 0.5.11-r4, as it has already a PPC64 patch to make it run on this arch. The HAL ebuild could need some more cleanup, but that's probably another bug.
Please also remove the "laptop" USE mask for HAL.
Comment 10 Christian Schmitt 2009-01-05 16:20:03 UTC
As the patches are no longer meant to be applied against gentopia and I got feedback from devs that this is not clear on first sight, I decided to refile the bug and split it into two parts: bug 253866, bug 253868