Kodi 15.rc1 can't suspend
#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?
Reply
#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.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#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?
Reply
#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.
Reply
#5
After reading http://kodi.wiki/view/HOW-TO:Suspend_and_wake_in_Ubuntu 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?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 15.rc1 can't suspend0