Cannot suspend - Revo 3610
#1
Hi

I am having a problem suspending (or hibernating) xbmc. It used to work fine circa beta3, but since then its stopped working. If I select suspend (or hibernate), the screen goes blank for a second then XBMC just wakes straight back up.

This happens via USB remote and USB keyboard.

I'm currently running the full Dharma release. I've upgraded each time a new release is out via apt, not done clean installs.

Hardware is an Acer Revo 3610.

I've tried all of the fixes suggested in the Ubuntu Suspend/Wake wiki to no avail.

I have checked the BIOS and S3 suspend is enabled.

uname -a:
Code:
Linux mediacenter 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux

cat /etc/lsb-release:
Code:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS - XBMCLive Dharma"

cat /proc/acpi/wakeup:
Code:
Device    S-state      Status   Sysfs node
SMB0      S4     disabled  pci:0000:00:03.2
USB0      S3     enabled   pci:0000:00:04.0
USB2      S3     disabled  pci:0000:00:04.1
NMAC      S5     disabled  pci:0000:00:0a.0
PBB0      S4     disabled  pci:0000:00:09.0
HDAC      S4     disabled  pci:0000:00:08.0
XVR0      S4     disabled  pci:0000:00:0c.0
XVR1      S4     disabled  
P0P5      S4     disabled  
P0P6      S4     disabled  pci:0000:00:15.0
P0P7      S4     disabled  pci:0000:00:16.0
P0P8      S4     disabled  pci:0000:00:17.0
P0P9      S4     disabled  pci:0000:00:18.0

xbmc.log:
http://pastebin.com/DKgUVtab

Note at 20:34:21 I put the machine to sleep, and straight after it wakes back up again.

EDIT:
xbmc.log with debugging enabled, not sure it adds anything helpful though.
http://pastebin.com/eF5hA2J3
Reply
#2
OK I found the problem!

I tried to suspend from the command line using

Code:
pm-suspend

fully expecting it to work but found that it didn't, so I could see this isn't an XBMC issue. I checked the pm log:

Code:
cat /var/log/pm-suspend.log

And found a couple of nasty looking lines:

Code:
/etc/pm/sleep.d/74network-resume.sh suspend suspend:/usr/sbin/pm-suspend: 107: /etc/pm/sleep.d/74network-resume.sh: not found
Returned exit code 127.
Wed Dec 22 22:31:20 GMT 2010: Inhibit found, will not perform suspend

So I simply removed the 74network-resume.sh script:

Code:
sudo rm /etc/pm/sleep.d/74network-resume.sh

And sure enough it all started working. Networking was unaffected too so I'm not sure the point of the script being there in the first place. Hopefully this helps someone else as this has been driving me nuts!
Reply

Logout Mark Read Team Forum Stats Members Help
Cannot suspend - Revo 36100