Thank you for your replies Christopher & Kai-Heng, sorry for the slow
reply I'm trying to find time to debug and figure out how to debug.

Disabling XHC1 does not seem to solve this anymore, I guess one of the updates 
last week changed the behavior. Both with XHC1 enabled and disabled I get the 
following:
1) Suspending with `systemctl suspend`, closing the laptop lid or using the 
power button for the first time works perfectly.
2) Waking up by pressing a key or pressing the power button.
3) Suspending a 2nd time with...
  4a) lid open: Laptop seems to suspend but wakes up immediately to the login 
screen.
  4b) lid closed: Laptop seems to go in a loop, I can see the light flashing 
multiple times, things go haywire, after opening the lid there is a black 
screen with blinking cursor, can't type anything.

Attached is the dmesg output, maybe interesting info on line 1284 where
it states usb2 failed to suspend.

I'll try to add more information with pm_trace.

** Attachment added: "dmesg-2-systemctl-suspend-keywake.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1812561/+attachment/5234340/+files/dmesg-2-systemctl-suspend-keywake.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/1812561

Title:
  [MacBookPro11,5] wakes up and suspends in a loop while closed

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Similar bug:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507472/

  It seems that having apps open influences the bug. For example, upon a
  fresh boot I can't get this bug to work but after opening Firefox and
  closing the laptop lid it does happen.

  WORKAROUND: Disable XHC1 prior to sleeping:
  > # echo XHC1 > /proc/acpi/wakeup

  which has the downside of the laptop not automatically waking up after
  opening the lid, and requiring one to press the power button.

  Sidenote: thanks to penalvch for explaining how to report this!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-13-generic 4.18.0-13.14
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  Uname: Linux 4.18.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  siilwyn    1852 F.... pulseaudio
   /dev/snd/controlC1:  siilwyn    1852 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 20 13:40:14 2019
  InstallationDate: Installed on 2019-01-19 (1 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.3)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
   Bus 001 Device 003: ID 05ac:0274 Apple, Inc.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Apple Inc. MacBookPro11,5
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-13-generic 
root=UUID=57f2dc4c-30f7-40b6-a9db-9b6f93c214cb ro quiet splash vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-13-generic N/A
   linux-backports-modules-4.18.0-13-generic  N/A
   linux-firmware                             1.175.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/18/2017
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP114.88Z.0172.B25.1706181512
  dmi.board.name: Mac-06F11F11946D27C5
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro11,5
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-06F11F11946D27C5
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP114.88Z.0172.B25.1706181512:bd06/18/2017:svnAppleInc.:pnMacBookPro11,5:pvr1.0:rvnAppleInc.:rnMac-06F11F11946D27C5:rvrMacBookPro11,5:cvnAppleInc.:ct9:cvrMac-06F11F11946D27C5:
  dmi.product.family: MacBook Pro
  dmi.product.name: MacBookPro11,5
  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/1812561/+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

Reply via email to