Bug 3432

Summary: Gotham needs patching to support suspend/hibernate in Fedora 21
Product: Fedora Reporter: Yanko Kaneti <yaneti>
Component: kodiAssignee: Michael Cronenworth <mike>
Status: RESOLVED EXPIRED    
Severity: normal CC: alexl, ktdreyer, mike, yaneti
Priority: P5    
Version: 21   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Yanko Kaneti 2014-12-03 17:27:28 CET
Due to the depreciation for the upower dbus interfaces for power management
xbmc 13 (Gotham) needs a patch from master to use the new power management interfaces provided by systemd-logind

This is the commit, that works here applied on top of the rpmfusion devel branch
"linux: Check for Logind first, then *Kit-s with UPower when detecting PM framework"
https://github.com/xbmc/xbmc/commit/c70fa349c0a5c2392045dd00751f64391fbef2e2

This was later reverted in mast by 88a1dfd5479b8c70d8ff22be20805b944d36572a , but the reasons cited there don't apply for Fedora 21+, where the old upower interface is gone.
Comment 1 Michael Cronenworth 2015-01-05 05:16:18 CET
Upstream has decided that patch was not yet ready and has reverted it.

https://github.com/xbmc/xbmc/commit/88a1dfd5479b8c70d8ff22be20805b944d36572a
Comment 2 Yanko Kaneti 2015-01-05 07:03:22 CET
(In reply to comment #1)
> Upstream has decided that patch was not yet ready and has reverted it.
> 
> https://github.com/xbmc/xbmc/commit/88a1dfd5479b8c70d8ff22be20805b944d36572a

The reason given are "is not as well implemented as the scripts called by
upower initiated power operations."

This simply does not apply to Fedora 21+, because the old upower dbus interfaces are simply not available there so the only way this can Suspend/Hibernate to work is to use the new logind provided interfaces.
Comment 3 Emmanuel Seyman 2015-12-04 13:48:32 CET
RPMFusion is no longer releasing updates for this version of Fedora. This bug
will be set to RESOLVED:EXPIRED next week to reflect this.

If the problem persists after upgrading to the latest version of Fedora, please
update the version field of this bug (and re-open it if it has been closed).
Comment 4 Emmanuel Seyman 2015-12-13 11:12:43 CET
Closing this bug with the EXPIRED resolution since Fedora no longer ships updates for this version of Fedora.

Please set the Version field to a supported version of Fedora if you re-open this bug.