Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308559 - <xfce-extra/xfce4-power-manager-1 problems
Summary: <xfce-extra/xfce4-power-manager-1 problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 00:37 UTC by Enne Eziarc
Modified: 2011-05-01 12:37 UTC (History)
0 users

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 Enne Eziarc 2010-03-09 00:37:29 UTC
In 0.9.90 all of its functionality (battery, button actions and monitor blanking) is missing or disabled on my laptop, leaving a useless "AC adapter is online" icon sitting in my tray.

I've tried recompiling with/without USE=hal, and turning on all the deprecated ACPI options in the kernel but it made no difference. In the end I had to p.mask it and go back to 0.8.4.2, which works fine. Is there something obvious I'm missing to make it just work?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 05:08:36 UTC
Perhaps we should mask this pre release, there's version bump for the stable branch also available.

That said, you might need sys-apps/devicekit-power ? Unsure
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2010-03-09 20:26:33 UTC
Yes, you do need devkit iirc and I'm not sure to what extent hal is still supported. All in all, I'd consider this release worthy of a mask. Any opinions/objections?
Comment 3 Enne Eziarc 2010-03-14 02:38:26 UTC
No objections here.

I was looking at things in the tarball and realised the number 0.9.90 probably means it's a pre-release for a 0.10 version; the docs haven't been updated past 0.8, and though it does have some hal-related code left in there it's non-functional.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 11:45:12 UTC
OK, masked 'for testing'. Let's wait couple of releases before unmasking...
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-04-20 14:22:17 UTC
(In reply to comment #3)
> No objections here.
> 
> I was looking at things in the tarball and realised the number 0.9.90 probably
> means it's a pre-release for a 0.10 version; the docs haven't been updated past
> 0.8, and though it does have some hal-related code left in there it's
> non-functional.
> 

please try 0.9.90 again now that udisks/upower are in tree, and the xfce4-power-manager ebuild should be o.k.
Comment 6 Enne Eziarc 2010-04-23 12:24:12 UTC
I've just tried, but udisks has non-optional dependencies on parted[device-mapper] and lvm2, this makes it impossible to install due to bug 316591.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-04-23 12:30:00 UTC
(In reply to comment #6)
> I've just tried, but udisks has non-optional dependencies on
> parted[device-mapper] and lvm2, this makes it impossible to install due to bug
> 316591.
> 

right... i'm sure the lvm2 maintainer gets it sorted out soon enough, give it day or two
Comment 8 Enne Eziarc 2010-04-23 13:49:38 UTC
Never mind, looks like I did a --sync at a bad time.

I've got xf-p-m-0.9.90 installed, udisks and upower installed, and USE="+consolekit +policykit", but it's still mostly non-functional. The monitor settings are working now, but suspend, all battery stuff and disk settings aren't there.

Does udisks/power need manual setup to make these things work?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-04-23 14:06:00 UTC
hmm, for one, make sure /etc/init.d/consolekit stuff is running
and then try to start your X like,

exec ck-launch-session startxfce4

in .xinitrc and then startx

i.e. add the ck-launch-session in there

this should make sure udisks get the required privileges...

(note that i'm pretty much writing this "out of hat", and not tested my self)
Comment 10 Enne Eziarc 2010-04-23 21:44:04 UTC
Still no luck :/

At this point everything else works i.e. I can use the upower/udisks command line tools, and "xfce4-power-information" seems to work. It's just xfpm itself that isn't co-operating.
Comment 11 Enne Eziarc 2010-04-23 21:45:35 UTC
Oh, logging in/out again suddenly made it start working. Guess that's solved then.
Comment 12 Enne Eziarc 2010-04-23 23:51:42 UTC
I've figured out what was going on there: xfpm doesn't start upowerd or udisks-daemon, but it was using them after relogin because they got started by me using the command line tools. I'm guessing that's a bug in xfpm?
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2011-05-01 12:37:13 UTC
This is fixed in tree by current xfce4-power-manager (and other related packages)