Suspend issues :-(
#1
XBMC Live (Dharma b2) installed on internal HDD
Machine is based on a zotac ION motherboard with 2gb RAM connected via HDMI to LCD tv.

Seemingly randomly i am unable to get the machine to suspend using the remote (or by command from bash prompt).
Screen blanks for a few seconds and then home screen re-appears. Often rebooting allows me to suspend successfully.

I'm as yet unable to work out a pattern for when it works and when it doesn't.

I'm a bit of a linux noob, is there a command that i can run that will tell me the wakeup cause (it appears from dmesg that is is sleeping and immediately waking)?

Any other help would be appreciated.

I've tried steps from these threads:
http://forum.xbmc.org/showthread.php?tid=81074
http://wiki.xbmc.org/?title=HOW-TO_Insta...Autoresume

I have added the line:
Code:
echo USB0 > /proc/acpi/wakeup
to my /etc/rc.local.

Running:
Code:
cat /proc/acpi/wakeup
shows that USB0 and PWRB (assuming power button) are the only things enabled.


Any pointers would be fantastic.
Thanks.
Reply
#2
There is a bug in the kernel on that version of Ubuntu... there is a thread about it, I can see if I can find it


http://forum.xbmc.org/showthread.php?tid=76944


Basically running:

Code:
sudo apt-get update
sudo apt-get dist-upgrade

Will upgrade the kernel


Though your issue sounds a little bit different from what's in that thread but something you could try.
Reply
#3
I think bryanchicken's problem is putting the machine in the suspend mode, *not* with waking up. The bug in the kernel prevents you from bring back the machine from sleep but not sending the it to the sleep.

You may need to have look in this: http://wiki.xbmc.org/index.php?title=Ubu...utosuspend

BTW, if you need upgrade the kernel as well, you may need to add pre-proposed repo to get the updated kernel.
Code:
sudo apt-add-repository ppa:kernel-ppa/pre-proposed
sudo apt-get update
sudo aptitude install linux-headers-2.6.32-26-generic linux-image-2.6.32-26-generic
sudo reboot
I did that long time ago; may be it's added to standard repo now but worth checking. Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#4
if i can't nail this with a bit more work i'll try the dist-upgrade.
Am i right in thinking this will upgrade the minimal ubuntu that xbmc live runs on?
Will i still be running dharma b2 and will my settings remain?

Annoyingly its going fine at the moment. I've done 4 suspends this afternoon (for testing) and they've all worked.

I'm now wondering whether it happens because i resume using the power button, which i have done a few times, rather than the remote. Is that a ridiculous thing to say?
Can't test at the mo as "the boss" is watching tv Rolleyes

[Edit] Actually MacUsers i did do that setting you linked to earlier today. My initial thoughts were that it hadn't worked, but maybe it has. I'll have to wait to see if it happens again[/Edit]

Thanks for your help both of you.
Reply
#5
bryanchicken Wrote:if i can't nail this with a bit more work i'll try the dist-upgrade.
Am i right in thinking this will upgrade the minimal ubuntu that xbmc live runs on?
Will i still be running dharma b2 and will my settings remain?

Correct, it will upgrade your ubuntu OS but wont touch your dharma install.
Reply
#6
bryanchicken Wrote:I'm now wondering whether it happens because i resume using the power button, which i have done a few times, rather than the remote. Is that a ridiculous thing to say?
I think, the Power button is the only button which be used to resume from sleep. No other buttons works, at least for me. Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply

Logout Mark Read Team Forum Stats Members Help
Suspend issues :-(0