Kodi Community Forum
wakes up immediately on s3 suspend fix! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: wakes up immediately on s3 suspend fix! (/showthread.php?tid=45795)



wakes up immediately on s3 suspend fix! - queeup - 2009-02-21

install acpi-support package
----
added the Option "NvAGP" "0" to my xorg.conf Device section.
----
added intel_agp and agpgart to my /etc/modprobe.d/blacklist
Code:
blacklist intel_agp
blacklist agpgart
----
I had a desktop with failure to resume from suspend.
ASUS A8N-VM CSM motherboard (nVidia onboard graphics)

Commenting this directive from /etc/default/acpi-support solves the problem.
Code:
# POST_VIDEO=true

# SAVE_VBE_STATE=true
----
1) Enable S1&S3 in BIOS
2) add a kernel parameter (acpi_sleep=old_ordering) to the grub boot options and update-grub
----
Basically, there are a bunch of jumpers on my motherboard to control USB wake-up behavior. Setting them to +5VSB (wake from S3 and S4) instead of +5V (wake from S1) gives me working suspend without the instant wake-up problem.

resources:
http://www.gossamer-threads.com/lists/mythtv/users/316830
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/20195/comments/16
https://blueprints.launchpad.net/ubuntu/+spec/server-suspend-hibernate


- ezechiel1917 - 2009-07-19

Hello, I've tried your fix, followed all steps, but unfortunately I'm still getting instant wake up after suspend.

In my case first suspend works fine, computer gets suspended (S3) and I can wake it with USB remote just fine, but after that if I try to suspend again it just immediately wakes up. I'm running latest XBMC Live with 185 nvidia drivers.

Any ideas? My board doesn't have any jumpers for USB behaviour. Sad


- dvdapex - 2009-08-12

eze (or anyone else),
Did you find a fix to your issue?
I have the exact same thing occurring: Standby works fine the first time, resume from standby works great. Try standby again and it INSTANTLY wakes up. A reboot starts the sequence all over again (one working standby, infinate instant awakes).

I'm running XBMC Live updated to 08/03's SVN, NVIDIA 185 drivers.
Zotac ION Atom 230 (no wake on USB from this board)


- ezechiel1917 - 2009-08-12

yes. Smile

vdrfan Wrote:FYI, disabling autosuspending on the kernel line via 'usbcore.autosuspend=-1' did the trick here. Using 2.6.31 on my ionitx-a. For more information see http://lwn.net/Articles/253587/

You have to append it to your kernel loading line in grub (/boot/grub/menu.lst). for example ..

kernel /boot/vmlinuz-<version> root=UUID=<some-uuid> ro quiet splash usbcore.autosuspend=-1



- dvdapex - 2009-08-13

AWESOME. That worked. Thanks Ezechiel