Macbook Air resumes immidiately after suspend
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Low
|
Unassigned | ||
Bug Description
Computer model : Apple Macbook Air 6,2 (Mid 2013)
BIOS version : MBA61.88Z.0099.B04 (dmidecode -s bios-version), Oct. 2013 version
OS installed : Ubuntu 14.04, single boot
Problem description:
When closing lid on computer machine suspends. Within 8 to 10 seconds the machine resumes again with lid still closed. Imidiately opening an closing lid makes suspends the computer and it keeps suspended until lid is opened again.
This behaviour is the same when entering a sudo pm-suspend from the terminal. Machine suspends. But resumes after 8 to 10 seconds. Immidiately doing a second sudo pm-suspend, suspends the machine and keeps it suspended.
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 desribed 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
Device S-state Status Sysfs node
P0P2 S3 *disabled
EC S3 *disabled
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
XHC1 S3 *enabled pci:0000:00:14.0
ADP1 S3 *disabled platform:
LID0 S3 *enabled
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pm-utils 1.4.1-13
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Apr 23 17:03:05 2014
InstallationDate: Installed on 2014-04-23 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64+mac (20140417)
PackageArchitec
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)
| Kim Nielsen (o-kim) wrote : | #1 |
| Jancis (beaver-inbox) wrote : | #3 |
Today it almost fried my macbook, was very hot when i got it out of bag. I have MacBookPro11,2, contents of "cat /proc/acpi/wakeup" are exactly as above. Started after package upgrades couple weeks ago, now persists with all kernels i have on grub loader.
3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
| Maarten Verwijs (x-contact-0) wrote : | #4 |
I'm experiencing the same problem.
- First suspend after reboot works every time without fail.
- Second suspend does a resume after 3 or 4 seconds.
The workaround ( sudo pm-suspend; sudo pm-suspend) only works on my Macbook Air 6,2 when I've applied the workaround for this bug: https:/
Workaround:
echo min_power > /sys/class/
In order to have my macbook air suspend everytime I close the lid I've added this line to /usr/sbin/
$ diff -p pm-suspend.distrib pm-suspend
*** pm-suspend.distrib 2013-11-06 17:26:04.000000000 +0100
--- pm-suspend 2014-06-26 14:06:18.672660848 +0200
*************** if run_hooks sleep "$ACTION $METHOD"; th
*** 101,106 ****
--- 101,107 ----
log "$(date): performing $METHOD"
sync
"do_$METHOD" || r=128
+ "do_$METHOD" || r=128
log "$(date): Awake."
else
log "$(date): Inhibit found, will not perform $METHOD"
Also do a "dpkg-redirect add /usr/sbin/
| Petey (petey-u) wrote : | #5 |
I have tried the workaround in #4 without luck.
| Krister (thekswenson) wrote : | #6 |
The workaround in #4 works for me as long as I do (as root):
"echo medium_power > /sys/class/
| Krister (thekswenson) wrote : | #7 |
Careful though, this does not work every time... just most of the time.
| Krister (thekswenson) wrote : | #8 |
This seems to work all the time when the computer is unplugged...
when plugged in, it seems to work most of the time.
| Christopher M. Penalver (penalvch) wrote : | #9 |
Kim Nielsen, could you please execute the following via a terminal in order for the necessary debugging information to be attached:
apport-collect 1311724
| affects: | pm-utils (Ubuntu) → linux (Ubuntu) |
| Changed in linux (Ubuntu): | |
| importance: | Undecided → Low |
| status: | Confirmed → Incomplete |
| Andrew Gaul (gaul) wrote : apport information | #10 |
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-04-02 (247 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
MachineType: Apple Inc. MacBookAir6,2
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.10
Tags: trusty
Uname: Linux 3.13.0-40-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/24/2014
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA61.88Z.
dmi.board.
dmi.board.name: Mac-7DF21CB3ED6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir6,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookAir6,2
dmi.product.
dmi.sys.vendor: Apple Inc.
| tags: | added: apport-collected |
| Andrew Gaul (gaul) wrote : AlsaInfo.txt | #11 |
apport information
| Andrew Gaul (gaul) wrote : BootDmesg.txt | #12 |
apport information
| Andrew Gaul (gaul) wrote : CRDA.txt | #13 |
apport information
| Andrew Gaul (gaul) wrote : CurrentDmesg.txt | #14 |
apport information
| Andrew Gaul (gaul) wrote : IwConfig.txt | #15 |
apport information
| Andrew Gaul (gaul) wrote : Lspci.txt | #16 |
apport information
| Andrew Gaul (gaul) wrote : Lsusb.txt | #17 |
apport information
| Andrew Gaul (gaul) wrote : ProcCpuinfo.txt | #18 |
apport information
| Andrew Gaul (gaul) wrote : ProcEnviron.txt | #19 |
apport information
| Andrew Gaul (gaul) wrote : ProcInterrupts.txt | #20 |
apport information
| Andrew Gaul (gaul) wrote : ProcModules.txt | #21 |
apport information
| Andrew Gaul (gaul) wrote : PulseList.txt | #22 |
apport information
| Andrew Gaul (gaul) wrote : RfKill.txt | #23 |
apport information
| Andrew Gaul (gaul) wrote : UdevDb.txt | #24 |
apport information
| Andrew Gaul (gaul) wrote : UdevLog.txt | #25 |
apport information
| Andrew Gaul (gaul) wrote : WifiSyslog.txt | #26 |
apport information
| Andrew Gaul (gaul) wrote : | #27 |
[~penalvch] I have the same symptoms and attached my apport information.
Andrew Gaul, please do not apport-collect to a report you are not the original reporter of. Instead, if you have have a bug in Ubuntu, and so your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into the default Ubuntu kernel (not a mainline one) via:
ubuntu-bug linux
For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https:/
Ubuntu Kernel Team: https:/
https:/
Ubuntu Community: https:/
When opening up the new report, please feel free to subscribe me to it.
As well, please do not announce in this report you created a new bug report.
Thank you for your understanding.
Helpful bug reporting tips:
https:/
| tags: | removed: apport-collected |
| Launchpad Janitor (janitor) wrote : | #29 |
[Expired for linux (Ubuntu) because there has been no activity for 60 days.]
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Expired |
| Petey (petey-u) wrote : | #30 |
This bug still exists. I'm on 15.04.
Petey, if you would like your issue addressed, please file a new report via a terminal:
ubuntu-bug linux
Please feel free to subscribe me to it.
| Jamon Camisso (jamon) wrote : | #32 |
I opened a new bug about those over in https:/
It is still affecting me using 16.04 on a Macbook Air 6.2.
| miiiiitico (miticotoby) wrote : | #33 |
having the same issue on mine.
disabling LID0 ACPI signal seems to do the trick for me. the downside is that laptop won't wakeup by itself anymore (you'll have to press the power button) but better than no sleep at all I guess.
echo LID0 >/proc/acpi/wakeup
miiiiitico (miticotoby), it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux
Please feel free to subscribe me to it.
For more on why this is helpful, please see https:/
| miiiiitico (miticotoby) wrote : | #35 |


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