kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #148030
[Bug 1507472] Re: XHCI controller causing MacbookPro12, 1 to resume immediately after suspend
Hmm, no it hasn't. I think there is either a controller or device
initialisation problem, and it might be a race. On power-on, one of two
different things will happen after the Mac startup chime:
1. Usually, there will be along pause (30sec? 1min?), some random display corruption, then boot proceeds normally.
2. Boot proceeds immediately.
In the case of #1, the following is printed to kern.log:
> xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
> usb 2-3: device not accepting address 14, error -62
Also, when case #1 occurs, then this suspend/resume issue manifests
itself.
When case #2 occurs, those messages are not printed in kern.log, and
this suspend/resume issue does not occur. I have just had both occur in
quick succession with both the current 4.2 kernel in wily, and 4.4-rc2
from the mainline kernel PPA.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1507472
Title:
XHCI controller causing MacbookPro12,1 to resume immediately after
suspend
Status in linux-firmware 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-firmware/+bug/1507472/+subscriptions
References