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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1523917

Title:
  Macbook Air 6.2 suspend immediately resumes

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Most of the times laptop resumes immediately. Opening the lid,
  suspending manually, and closing the lid works sometimes

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-39-generic 3.19.0-39.44
  ProcVersionSignature: Ubuntu 3.19.0-39.44-generic 3.19.8-ckt9
  Uname: Linux 3.19.0-39-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  alex       2057 F.... pulseaudio
   /dev/snd/controlC1:  alex       2057 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Dec  8 08:29:03 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-02 (159 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 05ac:0291 Apple, Inc. 
   Bus 001 Device 006: ID 05ac:828f Apple, Inc. 
   Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part 
of BCM2046 Bluetooth)
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Apple Inc. MacBookAir6,2
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-39-generic.efi.signed 
root=UUID=e455bef3-753f-48d3-8a59-a01d67dff4d6 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-39-generic N/A
   linux-backports-modules-3.19.0-39-generic  N/A
   linux-firmware                             1.143.7
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/08/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBA61.88Z.0099.B20.1509081314
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-7DF21CB3ED6977E5
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookAir6,2
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-7DF21CB3ED6977E5
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBA61.88Z.0099.B20.1509081314:bd09/08/2015:svnAppleInc.:pnMacBookAir6,2:pvr1.0:rvnAppleInc.:rnMac-7DF21CB3ED6977E5:rvrMacBookAir6,2:cvnAppleInc.:ct10:cvrMac-7DF21CB3ED6977E5:
  dmi.product.name: MacBookAir6,2
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to