Comment 11 for bug 1487919

Revision history for this message
Michael Gratton (mjog) wrote :

On my MacbookPro12,1 with Wily and Linux 4.2, by default the kernel successfully suspends but then immediately resumes again. The problem seems to be the XHCI controller causing spurious ACPI wakeups. After disabling it using the following command:

> # echo XHC1 > /proc/acpi/wakeup

The kernel remains suspended after entering sleep. (Via https://wiki.archlinux.org/index.php/MacBook#Suspend_and_Hibernate)

Also, the Broadcom wifi module seems to have problems with suspend/resume, so I am also unloading the `brcmfmac` module prior to suspend and loading it again after resume.