kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #140600
[Bug 1507472] Re: XHCI controller causing MacbookPro12, 1 to resume immediately after suspend
Michael Gratton, thank you for reporting this and helping make Ubuntu
better.
Could you please test the latest upstream kernel available from the very
top line at the top of the page from http://kernel.ubuntu.com/~kernel-
ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and
please do not test the daily folder)? Install instructions are available
at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow
additional upstream developers to examine the issue.
If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ
Where X, Y, and Z are numbers corresponding to the kernel version.
If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ
Please note, an error to install the kernel does not fit the criteria of
kernel-bug-exists-upstream.
Once testing of the latest upstream kernel is complete, please mark this
report's Status as Confirmed. Please let us know your results.
Thank you for your understanding.
** Description changed:
On my MacbookPro12,1 with Wily and Linux 4.2, by default the kernel
successfully suspends but then immediately resumes again. The problem
- seems to be the XHCI controller causing spurious ACPI wakeups. After
- disabling it using the following command:
-
- > # echo XHC1 > /proc/acpi/wakeup
-
- The kernel remains suspended after entering sleep. (Via
- https://wiki.archlinux.org/index.php/MacBook#Suspend_and_Hibernate)
+ seems to be the XHCI controller causing spurious ACPI wakeups.
Also, the Broadcom wifi module seems to have problems with
suspend/resume, so I am also unloading the `brcmfmac` module prior to
suspend and loading it again after resume.
- Bug reported per per request by @penalvch in bug #1487919.
+ WORKAROUND: Disable XHC1 prior to sleeping:
+ > # echo XHC1 > /proc/acpi/wakeup
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-4.2.0-16-generic 4.2.0-16.19
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
- USER PID ACCESS COMMAND
- /dev/snd/controlC1: mjg 1441 F.... pulseaudio
- /dev/snd/controlC0: mjg 1441 F.... pulseaudio
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC1: mjg 1441 F.... pulseaudio
+ /dev/snd/controlC0: mjg 1441 F.... pulseaudio
CurrentDesktop: GNOME
Date: Mon Oct 19 18:13:15 2015
HibernationDevice: RESUME=UUID=bc879a1f-ac27-48ae-82dd-3c81b7307dd0
InstallationDate: Installed on 2015-07-22 (89 days ago)
InstallationMedia: Ubuntu-GNOME 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:0273 Apple, Inc.
- Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ Bus 001 Device 003: ID 05ac:0273 Apple, Inc.
+ Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Apple Inc. MacBookPro12,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash acpi_backlight=vendor vt.handoff=7
RelatedPackageVersions:
- linux-restricted-modules-4.2.0-16-generic N/A
- linux-backports-modules-4.2.0-16-generic N/A
- linux-firmware 1.149
+ linux-restricted-modules-4.2.0-16-generic N/A
+ linux-backports-modules-4.2.0-16-generic N/A
+ linux-firmware 1.149
RfKill:
- 3: phy0: Wireless LAN
- Soft blocked: no
- Hard blocked: no
+ 3: phy0: Wireless LAN
+ Soft blocked: no
+ Hard blocked: no
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2015-08-27 (52 days ago)
dmi.bios.date: 06/05/2015
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP121.88Z.0167.B07.1506051617
dmi.board.name: Mac-E43C1C25D4880AD6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro12,1
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-E43C1C25D4880AD6
dmi.modalias: dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B07.1506051617:bd06/05/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
dmi.product.name: MacBookPro12,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Status: Confirmed => Incomplete
--
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/1507472
Title:
XHCI controller causing MacbookPro12,1 to resume immediately after
suspend
Status in linux package in Ubuntu:
Incomplete
Bug description:
On my MacbookPro12,1 with Wily and Linux 4.2, by default the kernel
successfully suspends but then immediately resumes again. The problem
seems to be the XHCI controller causing spurious ACPI wakeups.
Also, the Broadcom wifi module seems to have problems with
suspend/resume, so I am also unloading the `brcmfmac` module prior to
suspend and loading it again after resume.
WORKAROUND: Disable XHC1 prior to sleeping:
> # echo XHC1 > /proc/acpi/wakeup
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-4.2.0-16-generic 4.2.0-16.19
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: mjg 1441 F.... pulseaudio
/dev/snd/controlC0: mjg 1441 F.... pulseaudio
CurrentDesktop: GNOME
Date: Mon Oct 19 18:13:15 2015
HibernationDevice: RESUME=UUID=bc879a1f-ac27-48ae-82dd-3c81b7307dd0
InstallationDate: Installed on 2015-07-22 (89 days ago)
InstallationMedia: Ubuntu-GNOME 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:0273 Apple, Inc.
Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Apple Inc. MacBookPro12,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash acpi_backlight=vendor vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-4.2.0-16-generic N/A
linux-backports-modules-4.2.0-16-generic N/A
linux-firmware 1.149
RfKill:
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2015-08-27 (52 days ago)
dmi.bios.date: 06/05/2015
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP121.88Z.0167.B07.1506051617
dmi.board.name: Mac-E43C1C25D4880AD6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro12,1
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-E43C1C25D4880AD6
dmi.modalias: dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B07.1506051617:bd06/05/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
dmi.product.name: MacBookPro12,1
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/1507472/+subscriptions
References