kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #159721
[Bug 1523917] Re: Macbook Air 6.2 suspend immediately resumes
The fine folks at ArchLinux provide possible solutions to this issue.
See: https://wiki.archlinux.org/index.php/MacBook#Suspend_and_Hibernate
I'll the steps below first and see if this solves the issue for me.
"Issues were reported where the machine would "suspend immediately after resume" in certain conditions when suspending by closing the lid. This was solved by de-selecting the option "event_when_closed_battery" in gconf-editor → gnome-power-manager → actions). "
And:
"If after suspend laptop is woken up after few seconds, may help to
disable all stuff in /proc/acpi/wakeup, exclude LID0:
# echo XHC1 > /proc/acpi/wakeup
$ 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 *disabled pci:0000:00:14.0
ADP1 S3 *disabled
LID0 S3 *enabled
And for permanent disabling:
$ cat /etc/udev/rules.d/90-xhc_sleep.rules
# disable wake from S3 on XHC1
SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"
If this does not work, check that ARPT is disabled, and add the
corresponding rule to udev.
If this still does not work, try disabling LID0. This way suspending via
lid-closing should be made impossible, so you might want to follow the
instructions in this forum post to make suspending via both lid-closing
and systemd possible, by using systemd services. "
--
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
References