[Bug 302413] New: Gnome power manager does not display suspend/hibernate
https://bugzilla.novell.com/show_bug.cgi?id=302413 Summary: Gnome power manager does not display suspend/hibernate Product: openSUSE 10.3 Version: Beta 1 Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: florin@sitnet.ro QAContact: qa@suse.de Found By: Beta-Customer left clicking g-p-m only shows laptop battery levels and does not show suspend-hibernate. Also, clicking general-system settings gives an error about yast2 module power-management not existing (no such client module). This is a fresh install of beta1 upgraded to FACTORY with both oss and non-oss repositories active. if i run pm-suspend or pm-hibernate the system suspends and resumes successfully every time. florin-laptop:~ # lshal |grep can power_management.can_hibernate = true (bool) power_management.can_standby = false (bool) power_management.can_suspend = true (bool) power_management.can_suspend_hybrid = false (bool) power_management.can_suspend_to_disk = true (bool) power_management.can_suspend_to_ram = true (bool) florin@florin-laptop:~> gconftool-2 -R /apps/gnome-power-manager |grep can can_hibernate = true can_suspend = true Any other info i can provide? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302413#c1
Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=302413#c2
Holger Macht
suspend-hibernate. Also, clicking general-system settings gives an error about yast2 module power-management not existing (no such client module). This is a fresh install of beta1 upgraded to FACTORY with both oss and non-oss repositories active.
Rodrigo, the YaST2 power management module got dropped. Can you please remove the referring patch from gpm?
Any other info i can provide?
Can you please attach the output of polkit-list-actions as user, thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302413#c3
--- Comment #3 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c4
--- Comment #4 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c5
--- Comment #5 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413#c6
--- Comment #6 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c7
--- Comment #7 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c8
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413
Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413
Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c9
Magnus Boman
https://bugzilla.novell.com/show_bug.cgi?id=302413#c10
--- Comment #10 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c11
--- Comment #11 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413#c12
--- Comment #12 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c13
--- Comment #13 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413#c14
--- Comment #14 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c15
--- Comment #15 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c16
--- Comment #16 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c17
--- Comment #17 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=302413
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=302413#c18
--- Comment #18 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c19
--- Comment #19 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=302413#c21
--- Comment #21 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c22
--- Comment #22 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=302413#c23
--- Comment #23 from Samareanu Florin
https://bugzilla.novell.com/show_bug.cgi?id=302413#c24
--- Comment #24 from Rodrigo Moya
Rodrigo, the YaST2 power management module got dropped. Can you please remove the referring patch from gpm?
gnome-power-manager-yast-settings.patch removed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302413
Rodrigo Moya
https://bugzilla.novell.com/show_bug.cgi?id=302413#c25
--- Comment #25 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413#c26
--- Comment #26 from Rodrigo Moya
https://bugzilla.novell.com/show_bug.cgi?id=302413#c27
--- Comment #27 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302413#c28
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=302413#c29
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=302413#c30
--- Comment #30 from Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=302413#c31
Rodrigo Moya
https://bugzilla.novell.com/show_bug.cgi?id=302413#c32
Danny Kukawka
Fedora also has a newer policykit, they are explicitly turning off policy kit support --disable-policykit. The gpm support seems to be tied to the last official release i can find, 0.3.
However it looks like all we really need to do is to link to libpolkit-grant and use the API there to query privileges.
It should be easier to use simply libhal to query the policies via: libhal_device_is_caller_privileged(...). This function handle also all the ConsoleKit/session handling. This was what we did for example in KPowersave. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com