← Back to team overview

kernel-packages team mailing list archive

[Bug 1507472] Re: XHCI controller causing MacbookPro12, 1 to resume immediately after suspend

 

No change with it regardless:

> $ uname -a
> Linux payens 4.4.0-040400-generic #201601101930 SMP Mon Jan 11 00:32:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Full dmesg is attached. Note this ~4s pause:

> [    2.809149] clocksource: Switched to clocksource tsc
> [    6.505235] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command

This ~5s pause:

> [    6.637271] usb 1-5: new full-speed USB device number 3 using xhci_hcd
> [   11.721541] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command

And this ~6s pause:

> [   11.925569] usb 2-3: device not accepting address 2, error -62
> [   18.395816] NET: Registered protocol family 38


** Attachment added: "dmesg output for cold boot of mainline 4.4.0-040400-generic kernel"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507472/+attachment/4554376/+files/4.4.0-040400-generic._20160222_coldboot_dmesg.txt

-- 
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