Shutdown/suspend bug
#1
Hi all,

I'm having a problem with shutting down or suspending xbmc since upgrading to 10.1. If I reboot xbmc (which works fine) and then as soon as it's up and running again Suspend it, then wake it back up, it will then no longer suspend or shut down, only reboot. And since I have my remote set to suspend/wake this is kind of annoying Sad anyone have any ideas?

Thanks Smile
Reply
#2
hi im sorry i cant help you with your problem Sad
i just want to know if someone could help me with my problem, because my xbmc (live) does not shutdown anymore
i have installed rcb 0.8.1 on my xbmc live (10.0 r35648) yesterday and now i cant shutdown anymore with the shutdown-menu
xbmc executes the command xbmc.shutdown()

Code:
16:59:56 T:3077437328 M:1712525312   DEBUG: OnKey: 61453 pressed, action is Sele
ct
16:59:56 T:3077437328 M:1712525312   DEBUG: ExecuteXBMCAction : Translating XBMC
.Shutdown()
16:59:56 T:3077437328 M:1712525312   DEBUG: ExecuteXBMCAction : To XBMC.Shutdown
()

but then xbmc just goes to suspend

Code:
16:59:56 T:3077437328 M:1712525312   DEBUG: DBus: Creating message to org.freede
sktop.DeviceKit.Power on /org/freedesktop/DeviceKit/Power with interface org.fre
edesktop.DeviceKit.Power and method Suspend
16:59:56 T:3077437328 M:1712525312   DEBUG: CAnnouncementManager - Announcement:
Suspend from xbmc
16:59:56 T:3077437328 M:1712525312   DEBUG: CAnnouncementManager - Announcement:
Sleep from xbmc
16:59:56 T:3077437328 M:1712525312  NOTICE: OnSleep: Running sleep jobs

immediately after that xbmc resumes from sleep

Code:
16:59:57 T:3077437328 M:1713033216  NOTICE: OnWake: Running resume jobs
16:59:57 T:3077437328 M:1713033216   ERROR: GLX: Same window as before, refreshi
ng context
...

so i tried to help myself and found a change in .xbmc/userdata/guisettings.xml
before the installation of rcb (and firefox but i think firefox has nothing to do with that) there was a setting

Code:
<shutdownstate>1</shutdownstate>

and after the installation it was changed to

Code:
<shutdownstate>3</shutdownstate>

so i changed it back to shutdownstate=1, and did a reboot (with sudo reboot)
but when xbmc was up again the shutdownstate was 3 again and i still can not shutdown from the shutdown menu, so the xbmc.shutdown() or the org.freedesktop.DeviceKit.Power.xml or anything else i dont know does something wrong

so i looked at /usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Power.xml
and i couldnt find anything wrong but i noticed that there is just a "method suspend" text
and nothing like shutdown or restart, the thing is that i dont know how a power.xml file looks when its working (i never needed to know)
i also tried updateing my xbmc, so now i have xbmc 10.1 but still cant shutdown

so is there my problem? could anyone upload his power.xml? or is the problem somewhere else?

if it helps i can upload my whole xbmc.log and power.xml and guisettings.xml or what else is needed
please help
thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Shutdown/suspend bug0