Bug 258400 - [powerdevil] suspend / hibernate not avaliable without hal in KDE 4.6beta1
Summary: [powerdevil] suspend / hibernate not avaliable without hal in KDE 4.6beta1
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
: 258029 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-30 17:25 UTC by Mark
Modified: 2010-12-02 13:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2010-11-30 17:25:50 UTC
Version:           unspecified (using KDE 4.5.80) 
OS:                Linux

in KDE 4.6beta1
as it's now possible run KDE _without hal_ I uninstalled it, but suspend/hibernate feature is afterwards not available in powerdevil. 
pm-suspend , pm-hibernate still work
with hal running, susp/hibernate were offered.

Reproducible: Always

Steps to Reproduce:
run kde4.6beta1 without hal and try to suspend/hibernate via powerdevil/system shutdown menu. 

Actual Results:  
not offered
Comment 1 Marian Kyral 2010-11-30 21:03:18 UTC
Can confirm. No Suspend/hibernate buttons, No backlight information (shows minimal value).
Comment 2 Marian Kyral 2010-11-30 21:14:46 UTC
Maybe we should try this: http://www.afiestas.org/one-step-closer-towards-a-kde-hal-free/
Comment 3 Marian Kyral 2010-11-30 21:21:25 UTC
(In reply to comment #2)
> Maybe we should try this:
> http://www.afiestas.org/one-step-closer-towards-a-kde-hal-free/

Yes, works. Suspend/Hibernate buttons are back and works, still no backlight information and regulation.
Comment 4 Mark 2010-11-30 21:34:54 UTC
Wow, thanks Marian, will try as well. 
btw, on my system, the file is located at: 
/usr/share/kde4/services/powerdevilupowerbackend.desktop
the blog says to set InitialPreference = 20 (lower than the hal one)

can confirm the missing backlight control, though Fn-keys work for me (but that's bios I think)

Devs: shouldn't the change to InitialPreference default to upower, as hal is not a dependency anymore?
Comment 5 Dario Freddi 2010-12-02 10:41:22 UTC
This bug is fixed in Beta2+, as now backend loading in the Power Management system is no longer dynamic but static (and most of all working). Those bugs were due to a faulty backend load in the power management system in Beta 1.
Comment 6 Dario Freddi 2010-12-02 10:42:42 UTC
*** Bug 258029 has been marked as a duplicate of this bug. ***