Macbook Air resumes immediately after suspend

Bug #1559882 reported by David Cubero on 2016-03-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-lts-vivid (Ubuntu)
linux-lts-xenial (Ubuntu)

Bug Description

When closing the lid on the computer, the machine suspends. Within 5 to 10 seconds, the machine resumes again with lid still closed. Opening and closing the lid again yields the same behavior again (suspend and resuming after a few seconds without opening the lid). This behaviour is the same when entering a sudo pm-suspend from the terminal, or using"Suspend" from the menu.

There is one case where the behaviour described above is different. That is in the situation where machine is put into suspend for the first time after a complete reboot. In this case the machine suspends correctly and stays suspended as expected.

The problem is consistent and can be reproduced as described any number of times.

Disabling wi-fi (using the Broadcom 802.11 Linux STA proprietary driver) doesn't alter the behaviour described above.

cat /proc/acpi/wakeup

PEG0 S3 *disabled
EC S4 *disabled platform:PNP0C09:00
HDEF S3 *disabled pci:0000:00:1b.0
RP01 S3 *disabled pci:0000:00:1c.0
RP02 S3 *disabled pci:0000:00:1c.1
RP03 S3 *disabled pci:0000:00:1c.2
ARPT S4 *disabled pci:0000:03:00.0
RP05 S3 *disabled pci:0000:00:1c.4
RP06 S3 *disabled pci:0000:00:1c.5
SPIT S3 *disabled platform:APP000D:00
XHC1 S3 *enabled pci:0000:00:14.0
ADP1 S4 *disabled platform:ACPI0003:00
LID0 S4 *enabled platform:PNP0C0D:00

$ lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.19.0-56-generic 3.19.0-56.62~14.04.1
ProcVersionSignature: Ubuntu 3.19.0-56.62~14.04.1-generic 3.19.8-ckt15
Uname: Linux 3.19.0-56-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 21 07:59:26 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-12-20 (91 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: linux-lts-vivid
UpgradeStatus: No upgrade log present (probably fresh install)

David Cubero (dcubero) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-lts-vivid (Ubuntu):
status: New → Confirmed
Tony (tonv) wrote :

On Macbook Air 7.2 (running Mate 16.04) closing lid suspends correctly after initial boot. Sometimes works for several cycles. Usually on second and subsequent cycles, the machine resumes again after a few seconds, while the lid is shut. From then on, this behaviour is consistent and does not change. Also same problem after manually placed into suspend from power menu.

Workaraound: Disable XHC1

For example:

echo XHC1 | sudo tee /proc/acpi/wakeup (toggles XHC1)

This completely fixes the problem, and subsequent lid close/open works as it should.

uname -r


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers