hmmm right now I'm having a hard time reproducing this at all. I'm currently on stock 4.8.0-27-generic kernel and right now I do NOT experience the issue at all.
I've done a fair amount of further troubleshooting and this is what seems to be the pattern for me: - the problem seems to have completely disappeared since powering OFF the laptop (not just restart) - once the problem starts to appear initially disabling XHC1 will be enough and the laptop will sleep correctly. - eventually for whatever reason disabling XHC1 is no longer enough and disabling LID0 is required - disabling LID0 seems to always fix the problem - I'm unclear what makes the problem appear in the first place. right now I've been running 4.8.0-27-generic for a few days with multiple sleeps/wakeups without workaround (both XHC1 and LID0 enabled) without any issue - I should also state that when testing 4.9-rc3 a few days ago I never fully powered off the laptop. I merely rebooted into the new kernel (and than back into the old stock one) which never fixed the problem. only the complete power off fixed it. I can post more again when the problem starts to occur again. or if anybody knows of anything that I could test now (when its working) and again when it breaks? (i.e. dunno dump the ACPI event registers of some sort? I'm not very familiar with the inner workings of ACPI) sorry guys, I can post more once it starts happening again... -- 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/1638788 Title: [MacBookAir5,2] Resumes immediately after suspend Status in linux package in Ubuntu: Incomplete Bug description: with default settings the laptop will immediately resume after sending to sleep (regardless of by closing the LID or though the menu option "suspend") the workaround is disabling the LID ACPI action by running: echo LID0 >/proc/acpi/wakeup this will fix the problem. obviously however just simply opening the lid won't wake the laptop anymore. so one has to manually press the power button. (I used ubuntu-bug linux, so hopefully all info should be attached) I'm running out of the box, up2date yakkety. without any external repos or custom compiled applications ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: linux-image-4.8.0-26-generic 4.8.0-26.28 ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0 Uname: Linux 4.8.0-26-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.3-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: toby 2327 F.... pulseaudio CurrentDesktop: Unity Date: Wed Nov 2 21:49:50 2016 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=ba2577eb-f563-46c3-adb9-47967c8c5851 InstallationDate: Installed on 2016-10-17 (16 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) MachineType: Apple Inc. MacBookAir5,2 ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-26-generic.efi.signed root=UUID=add8c949-ae19-4310-aede-4a9007ea7514 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-4.8.0-26-generic N/A linux-backports-modules-4.8.0-26-generic N/A linux-firmware 1.161 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/11/2015 dmi.bios.vendor: Apple Inc. dmi.bios.version: MBA51.88Z.00EF.B04.1509111654 dmi.board.asset.tag: Base Board Asset Tag# dmi.board.name: Mac-2E6FAB96566FE58C dmi.board.vendor: Apple Inc. dmi.board.version: MacBookAir5,2 dmi.chassis.type: 10 dmi.chassis.vendor: Apple Inc. dmi.chassis.version: Mac-2E6FAB96566FE58C dmi.modalias: dmi:bvnAppleInc.:bvrMBA51.88Z.00EF.B04.1509111654:bd09/11/2015:svnAppleInc.:pnMacBookAir5,2:pvr1.0:rvnAppleInc.:rnMac-2E6FAB96566FE58C:rvrMacBookAir5,2:cvnAppleInc.:ct10:cvrMac-2E6FAB96566FE58C: dmi.product.name: MacBookAir5,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/1638788/+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