Bug 751554 - g-s-d reports error when pressing Suspend key
Summary: g-s-d reports error when pressing Suspend key
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-05 12:42 UTC by Michael Ekstrand
Modified: 2012-01-11 16:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-11 16:03:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Ekstrand 2011-11-05 12:42:27 UTC
Description of problem:
When I press the Suspend key (Fn+F1) on my ASUS laptop, nothing happens and gnome-settings-daemon prints the following in my ~/.xsession-errors:

(gnome-settings-daemon:1541): media-keys-plugin-WARNING **: couldn't sleep using UPower: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

Version-Release number of selected component (if applicable):
gnome-settings-daemon-3.2.1-3.fc16.i686
gnome-power-manager-3.2.1-1.fc16.i686

How reproducible:
Always on my ASUS.

Steps to Reproduce:
1. Press Fn+F1 on ASUS laptop (Suspend key on other machines?)
  
Actual results:
No visible action, above message printed in ~/.xsession-errors.

Expected results:
Laptop suspends.

Additional info:
upowerd is running, and /usr/share/dbus-1/services/org.freedesktop.UPower.service exists. I can also contact UPower manually via DBus.

Comment 1 Hannes Frederic Sowa 2011-11-12 16:33:00 UTC
Seems like gnome-settings-daemon calls UPower on the dbus session bus. The service is only provided on the system bus.

Comment 2 Hannes Frederic Sowa 2011-11-12 16:47:21 UTC
Ah, it is already fixed upstream: <http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=3b41d8d62ebef1070e4304ad40cf395d12834808>

Comment 3 Michael Ekstrand 2012-01-11 16:03:55 UTC
Fixed in update of gnome-settings-daemon - works correctly now.


Note You need to log in before you can comment on or make changes to this bug.