Solved on my end by stopping XHC (bluetooth related) from allowing the
macbook to resume.

To solve permanently create a file called
'/etc/udev/rules.d/90-xhc_sleep.rules' and put the following in that
file:

#----------------------------------------------
# disable wake from S3 on XHC1
SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"
#----------------------------------------------

After a reboot the problem has gone away.


The original reporter had this in his dmesg: 


> [  946.610514] thunderbolt 0000:07:00.0: suspend finished
> [  946.611183] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI

Meaning that right after the suspend was completed, the machine got
woken up by xhci_hcd. I have the same message in my dmesg.


This possibly also solves these similar bugs:


* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1197482
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1311724

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1523917

Title:
  Macbook Air 6.2 suspend immediately resumes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1523917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to