Several issues with suspend/resume running OpenElec
#1
Tongue 
I'm running OpenElec on a Gigabyte Brix i3. Have a few issues:

1) When i attempt to shut down from the GUI, it just hangs. I can still talk to it from SSH and reboot or shutdown from there. Here's what i'm getting
Code:
23:44:11 T:140011226707776   DEBUG: OnKey: return (f00d) pressed, action is Select
23:44:11 T:140011226707776   DEBUG: ExecuteXBMCAction : Translating Powerdown()
23:44:11 T:140011226707776   DEBUG: ExecuteXBMCAction : To Powerdown()
23:44:11 T:140011226707776   DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
23:44:11 T:140011226707776   DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnQuit
23:44:11 T:140011226707776  NOTICE: Storing total System Uptime
23:44:11 T:140008820307712   DEBUG: Thread CAlarmClock 140008820307712 terminating
23:44:11 T:140011226707776  NOTICE: Saving settings
23:44:12 T:140011226707776  NOTICE: stop all
23:44:12 T:140009407502080   DEBUG: Thread Jobworker 140009407502080 terminating (autodelete)
23:44:12 T:140008661972736   DEBUG: Thread Jobworker 140008661972736 terminating (autodelete)
23:44:19 T:140010910181120    INFO: Scriptresult: Aborted
23:44:19 T:140010910181120    INFO: Python script interrupted by user
23:44:19 T:140010910181120   DEBUG: Thread XBPyThread 140010910181120 terminating
23:44:22 T:140011222329088   DEBUG: Suspended the Sink


2) When i attempt to sleep from GUI, it looks like it kills XBMC first ( see the X in the middle of the screen), then restarts it (i can briefly see the XBMC frodo logo), before sleeping the machine. This results in all the images not being cached on wakeup. The debug log looks like this:

Code:
23:10:01 T:140441306081088   DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
23:10:01 T:140441306081088   DEBUG: OnKey: return (f00d) pressed, action is Select
23:10:01 T:140441306081088   DEBUG: ExecuteXBMCAction : Translating Suspend()
23:10:01 T:140441306081088   DEBUG: ExecuteXBMCAction : To Suspend()
23:10:01 T:140441306081088   DEBUG: CAnnouncementManager - Announcement: OnSleep from xbmc
23:10:01 T:140441306081088   DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnSleep
23:10:01 T:140441306081088  NOTICE: OnSleep: Running sleep jobs
23:10:01 T:140441306081088  NOTICE: OnSleep: Stopping lirc
23:10:01 T:140441306081088    INFO: LIRC setUsed: disabled
23:10:01 T:140441306081088   DEBUG: CApplication::CloseNetworkShares: Closing all network shares
23:10:01 T:140441306081088   DEBUG: CSoftAE::Suspend - Suspending AE processing

Doesn't really seem to say much...

3) And lastly, I cannot for the life of me get it to wake from the keyboard. I've read all the threads on it and nothing is working for me. Here's what i've done.

Code:
# lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

So I get Vendor ID "045e" and Product ID "00db" for the keyboard. So to find my device:
Code:
# grep 00db /sys/bus/usb/devices/*/idProduct
/sys/bus/usb/devices/3-2/idProduct:00db

Wakeup is already enabled for this device
Code:
cat /sys/bus/usb/devices/3-2/power/wakeup
enabled

Does this all look correct to you? Machine still won't wake from suspend when using the keyboard. Am i missing something?

Any help greatly appreciated... spent way too much time on this.
Reply

Logout Mark Read Team Forum Stats Members Help
Several issues with suspend/resume running OpenElec0