Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309899 - power management guide: sys-power/pm-utils for on_ac_power
Summary: power management guide: sys-power/pm-utils for on_ac_power
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/power-ma...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 04:55 UTC by Ben Kohler
Modified: 2010-04-05 01:26 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2010-03-17 04:55:03 UTC
Both sys-power/pm-utils and sys-power/powermgmt-base can both provide the on_ac_power script, but most users will want (or already have) the pm-utils version since it's pulled in by sys-apps/hal[laptop].  

The 2 can't coexist and are causing a lot of users (who already installed hal[laptop]) to get a blockage following this guide.  Bug 255249 is one example, a few users this week on IRC as well.

Unless there's some good reason to use powermgmt-base, I think the guide should recommend pm-utils instead.

Reproducible: Always

Steps to Reproduce:
1.  USE="laptop" emerge hal
2.  emerge powermgmt-base (according to power mgmt guide)
Comment 1 nm (RETIRED) gentoo-dev 2010-03-17 05:24:57 UTC
Hrm. Thing is, HAL is going away. Everyone, including Gentoo, is moving away from it in favor of devicekit[disks] and upower and whatnot. Last thing I want is to rewrite a guide that recommends installation of an obsolete library, and then have to rewrite it again later for the correct way of doing it.

Still, since things work right now with HAL, I guess I'll have to include it. Not happy about it, but as long as the ebuilds are setup to block each other, I can't think of any alternative.
Comment 2 nm (RETIRED) gentoo-dev 2010-03-17 05:54:42 UTC
CCing the appropriate package maintainers to make sure this is the way to go.
Comment 3 Ben Kohler gentoo-dev 2010-03-17 06:28:14 UTC
Yeah I understand it isn't a great situation, with hal going away soon.  And I didn't look hard enough when I submitted this to see pm-utils directly depends on hal.  IMHO it would be enough to just explain that pm-utils works in place of powermgmt-base for hal users.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2010-03-18 12:08:30 UTC
HAL isn't going away soon, it's going away now ;-) pm-utils upstream just released version 1.3.0 which doesn't depend on HAL anymore, see:

http://pm-utils.freedesktop.org/wiki/
Comment 5 nm (RETIRED) gentoo-dev 2010-04-05 01:26:46 UTC
I went with pm-utils. Fixed in CVS.