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.
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:
#------ ------- ------- ------- ------- ------- ----- ="0000: 00:14.0" , ATTR{power/ wakeup} ="disabled" ------- ------- ------- ------- ------- -----
# disable wake from S3 on XHC1
SUBSYSTEM=="pci", KERNEL=
#------
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 /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1311724
* https:/