Public bug reported:

Binary package hint: gnome-power-manager

This seems to be a new regression in Karmic within the last week.  (ie
it was working a week ago, and is not working with yesterday's or
today's updates.)

My Thinkpad X61s no longer shows options to suspend or hibernate in the
logout dialog or from the gnome-power-manager applet.  Also, the gpm
applet always shows a mains plug even when the machine is running from
battery, and the power history option no longer shows anything about a
battery.

I worked through the steps in
https://wiki.ubuntu.com/DebuggingGNOMEPowerManager which confirm that
the kernel and lower levels of the machine *can* suspend correctly and
do see a battery.  It seems to be a higher level problem in the UI:

m...@lithe% dbus-send --system --print-reply --dest="org.freedesktop.Hal" 
/org/freedesktop/Hal/devices/computer 
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
method return sender=:1.0 -> dest=:1.104 reply_serial=2
   int32 0
*** at this point the machine suspended and resumed correctly ***
m...@lithe% gnome-power-cmd suspend
Suspending
Error org.freedesktop.DBus.GLib.UnmappedError.GpmControlError.Code0: Cannot 
suspend as not allowed from policy
Failed
*** it did not suspend here ***
m...@lithe% ubuntu-bug gnome-power-manager
ubuntu-bug gnome-power-manager  2.73s user 1.56s system 19% cpu 22.101 total
m...@lithe% dbus-send --session --print-reply 
--dest="org.freedesktop.PowerManagement" --type=method_call 
--reply-timeout=6000 /org/freedesktop/PowerManagement 
org.freedesktop.PowerManagement.CanSuspend
method return sender=:1.19 -> dest=:1.82 reply_serial=2
   boolean false
m...@lithe% gconftool-2 -g /apps/gnome-power-manager/general/can_suspend
true
m...@lithe% polkit-auth | grep power-management.suspend
org.freedesktop.hal.power-management.suspend
m...@lithe% hal-device | grep power_management.can_suspend
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = false  (bool)
m...@lithe% pm-is-supported --suspend || echo "Not supported"
m...@lithe% pm-is-supported --suspend 

I see that policykit 0.9-4ubuntu1 was installed yesterday, perhaps the
problem is in there.

ProblemType: Bug
Architecture: i386
Date: Sun Jun 28 08:51:46 2009
DistroRelease: Ubuntu 9.10
Package: gnome-power-manager 2.27.1-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
SourcePackage: gnome-power-manager
Uname: Linux 2.6.30-9-generic i686

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
cannot suspend, GpmControlError.Code0: Cannot suspend as not allowed from 
policy Failed
https://bugs.launchpad.net/bugs/393021
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to