Bug#809488: kodi does not suspend anymore

Bálint Réczey balint at balintreczey.hu
Sun May 29 21:00:59 UTC 2016


Control: notfound -1 15.2+dfsg1-1

Hi Johannes,

2015-12-31 16:35 GMT+01:00 Johannes Schauer <josch at debian.org>:
> Hi,
>
> Quoting Johannes Schauer (2015-12-31 10:29:22)
>> I used to run Debian Jessie with Mate as a DM with Kodi from backports.
>> With that setup Kodi used to suspend just fine.
>>
>> Now I updated my base system to Squeeze and Kodi doesn't automatically
>> suspend anymore.
>>
>> Maybe connected: the "power" menu at the lower left of the home screen
>> now only shows the options "Exit" and "Inhibit idle shutdown". Before
>> the upgrade I had more options there.
>>
>> Additionally, even when I try to use the Mate automatic suspend on idle
>> options in the power menu, my system will not suspend while Kodi is
>> still running.
>>
>> How can I make my system suspend automatically again with Kodi running
>> in the foreground?
>
> I have no clue about polkit but after searching in the internet it seems that
> doing the following fixes this problem:
>
> $ cat << END | sudo tee /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
> [Actions for kodi user]
> Identity=unix-user:kodi
> Action=org.freedesktop.login1.*;org.freedesktop.udisks2.*
> ResultAny=yes
> ResultInactive=no
> ResultActive=yes
> END
>
> Maybe this helps!
>
> In the worst case I now have documented a solution/workaround for others who
> might also stumble over this problem :)

Thank you for collecting the info here.
It can also be found on Kodi's wiki:
http://kodi.wiki/view/HOW-TO:Suspend_and_wake_in_Ubuntu

I'm closing the bug since there is documentation available for
enabling suspend when it does not work out of the box.

Cheers,
Balint



More information about the pkg-multimedia-maintainers mailing list