Kodi 15.rc1 can't suspend

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
m_o_d Offline
Member
Posts: 81
Joined: Jan 2011
Reputation: 0
Post: #1
Hey,
recently noticed problem with suspend kodi. When you select the menu suspend log shows
Quote:13:01:53 T:140142823671552 DEBUG: CecLogMessage - >> 01:44:00
13:01:53 T:140142823671552 DEBUG: CecLogMessage - key pressed: select (0)
13:01:53 T:140142823671552 DEBUG: PushCecKeypress - received key b duration 0
13:01:53 T:140142823671552 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
13:01:53 T:140143307102528 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
13:01:53 T:140143307102528 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method AboutToSleep
13:01:53 T:140143307102528 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method Suspend
13:01:53 T:140143307102528 DEBUG: ------ Window Init (DialogBusy.xml) ------
13:01:53 T:140143307102528 DEBUG: Window DialogBusy.xml was already loaded
13:01:53 T:140143307102528 DEBUG: Alloc resources: 0.01ms
13:01:53 T:140142823671552 DEBUG: CecLogMessage - >> 01:45
13:01:53 T:140142823671552 DEBUG: CecLogMessage - key released: select (0)
13:01:53 T:140142823671552 DEBUG: PushCecKeypress - received key b duration 130
13:01:53 T:140142823671552 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control release (45)
13:01:53 T:140140420790016 INFO: Platinum [platinum.core.ctrlpoint]: Device "KOTEK: justyna:" expiration time renewed..
13:01:54 T:140141192525568 DEBUG: Thread JobWorker 140141192525568 terminating (autodelete)
13:01:54 T:140140680832768 DEBUG: Thread JobWorker 140140680832768 terminating (autodelete)
13:01:54 T:140141209310976 DEBUG: Thread JobWorker 140141209310976 terminating (autodelete)
13:01:54 T:140140244608768 DEBUG: Thread JobWorker 140140244608768 terminating (autodelete)

after that interfejs hangs but system and kodi is still running.
To be able to resume working with kodi i need to kill the process (kill -9 kodi.bin process)

Can anyone help with this bug?
find quote
fritsch Offline
Team-Kodi Developer
Posts: 9,967
Joined: Aug 2011
Reputation: 258
Location: Karlsruhe
Post: #2
Nope.

Post a full Debug Log and dmesg | pastebinit after the "resume"

Also make sure you can suspend without kodi by. pm-utils for example or logind tools depending on distro.

"Your most vocal users are not reflective of your userbase" J.M.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
No Debug Log no issue.
find quote
m_o_d Offline
Member
Posts: 81
Joined: Jan 2011
Reputation: 0
Post: #3
Full Debug: http://pastebin.com/TJ8XiHsR

I think that problem is with suspend process not resume of kodi because after when you press a suspend button kodi still works.

I can suspend system when i run pm-suspend. Several versions earlier also had no problem with the suspending of kodi.

Is this enough?
(This post was last modified: 2015-07-12 18:48 by m_o_d.)
find quote
uNiversal Offline
Out of Memory
Posts: 6,776
Joined: Oct 2012
Reputation: 163
Location: Binary pulsar
Post: #4
I see at the beginning....

Code:
13:00:56 T:140143307102528   DEBUG: DeviceKit.Power: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
Not provided by any service files... (usually ok when you use some other method but...

and the the suspend command

Code:
13:01:53 T:140143307102528   DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method Suspend

You need the customactions.pkla or equivalent to Debian since thats what the log says missing and thats the method being used to call the suspend action.
find quote
m_o_d Offline
Member
Posts: 81
Joined: Jan 2011
Reputation: 0
Post: #5
After reading HOW-TO:Suspend_and_wake_in_Ubuntu (wiki) i perform "apt-get install policykit-1 upower acpi-support consolekit" and i discovered that can-suspend and can-hibernate are removed in upower 0.99.

So in summary any user who do update upower to version 0.99 lose suspend capability in kodi, right?
(This post was last modified: 2015-07-13 11:54 by m_o_d.)
find quote