I had some hard time understanding why the sleep/hibernate buttons in KDE4 did nothing. Everything was installed and working as normal... with the exception of the pm-utils. I think pm-utils should be installed automatically if kde-base/powerdevil is requested to be installed. This would have saved me few days of intermittent googling. Reproducible: Always Steps to Reproduce: 1. emerge --unmerge pm-utils 2. emerge -va kde-base/powerdevil 3. # it should re-install pm-utils, but it doesn't Actual Results: pm-utils is not installed when kde-base/powerdevil is Expected Results: pm-utils not pulled in the dependency graph pm-utils should be pulled in the dependency graph
Why it should be pulled. Some of us use tuxonice and should we pull those? User should be aware of what hibernation method he use and merge correct package.
(In reply to comment #1) > Why it should be pulled. > Some of us use tuxonice and should we pull those? > I am using tuxonice but with gentoo-sources patched by myself and suspend to mem does not work! Do I need pm-utils? BTW, a small and naive script I wrote, correctly suspend to memory. I don't use suspend to disk.
I had sys-power/hibernate-script installed, which I used from command line, but these did not work with kde4 (powerdevil). It appears that kde-base/powerdevil uses ONLY pm-utils. Tomáš, do you have sleep/hibernate working from the kde-base/powerdevil, or the logout menu in kde4, without pm-utils being installed? If yes how did you do it? Best regards, Octavian
(In reply to comment #2) ... > > I am using tuxonice but with gentoo-sources patched by myself and suspend to > mem does not work! Do I need pm-utils? > I installed pm-utils (needed to remove laptop-mode-utils!) and now suspend works. Unfortunately I didn't find a way to suspend from kdm screen!
There is no option to suspend from kdm screen. It seems that Ubuntu/Suse guys implemented this for their distribution. If you find this important, you might want to vote for KDE bug http://bugs.gentoo.org/show_bug.cgi?id=274932
So.... kde-base/powerdevil does not work on it's own, it needs additional packages. As far as I've tested, pm-utils works OK. Will pm-utils (or other equivalent) be put as a dependency for kde-base/powerdevil? Best regards, Octavian
https://bugs.kde.org/show_bug.cgi?id=191127 See comments 9 and 10.
As this is another optional(?) run-time dep, I suggest adding a warning to pkg_postinst.
I have a different issue, sleep works via powerdevil but hibernate falls back to screen saver, how can I fix it? using powerdevil 4.3.3, was the same at 4.3.0
Hi, I have kde 4.3.3 and pm-utils installed. still the sleep button just locks the screen. pm-suspend works like a charm though.
This bug is fixed on our side. The problem with hibernating are problem of their respective packages. If it is bug only when using powerdevil open new bug.