[Ubuntu Wiki] Update of "DebuggingGNOMEPowerManager" by cyan-spam

Ubuntu Wiki noreply at ubuntu.com
Fri Jun 18 22:01:01 UTC 2010


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.

The following page has been changed by cyan-spam:
http://wiki.ubuntu.com/DebuggingGNOMEPowerManager?action=diff&rev1=31&rev2=32

The comment on the change is:
update some of "why can't i suspend" section

------------------------------------------------------------------------------
  
  === Finding out why suspend or hibernate aren't offered ===
  
+ If g-p-m doesn't offer you a suspend or hibernate option then you can use the following commands to narrow down why. (The commands are shown for debugging suspend; for hibernate just replace all occurrences of "suspend" with "hibernate".)
+ 
+ Also see http://live.gnome.org/GnomePowerManager/FAQ#head-5d4d7bb306ca154c956e3ef69dae036942f6cf40
+ 
+ ==== Does the power management subsystem think you can suspend? ====
+ 
+ HAL:
+ 
+ {{{
+ dbus-send --session --print-reply --dest="org.freedesktop.PowerManagement" --type=method_call --reply-timeout=6000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend
+ }}}
+ 
+ UPower:
+ 
+ {{{
+ dbus-send --system --print-reply --dest="org.freedesktop.UPower" --type=method_call --reply-timeout=6000 /org/freedesktop/UPower org.freedesktop.DBus.Properties.Get string:org.freedesktop.UPower string:CanSuspend
+ }}}
+ 
+ If this says "true" then the subsystem thinks you should be able to suspend and gnome-power-manager is just not displaying the option. If it says "false" then we need to work out why it thinks you can't.
+ 
+ ==== Further troubleshooting ====
+ 
  '''Warning: This section is out-of-date on Ubuntu 10.04.'''
- 
- Also see http://live.gnome.org/GnomePowerManager/FAQ#head-5d4d7bb306ca154c956e3ef69dae036942f6cf40
- 
- If g-p-m doesn't offer you a suspend or hibernate option then you can use the following commands to narrow down why. (The commands are shown for debugging suspend, for hibernate just replace all occurrences of "suspend" with "hibernate".)
- 
- {{{
- dbus-send --session --print-reply --dest="org.freedesktop.PowerManagement" --type=method_call --reply-timeout=6000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend
- }}}
- 
- If this says "true" then gnome-power-manager thinks you should be able to suspend and something is just not displaying
- the option. If it says "false" then we need to work out why it thinks you can't.
  
  {{{
  gconftool-2 -g /apps/gnome-power-manager/general/can_suspend




More information about the Ubuntu-bugsquad mailing list