Skip to content

Resume from suspend will only work when pressing power button.

So for the last couple of kernel versions I've been living with a broken suspend (sort of) and I cannot wrap my head around what's wrong.

I have a Macbook pro mid 2015 (11,4) which suspends just fine, luckily it has never suffered from the instant wake up problem a lot of users report for the macbook models.

The problem has been waking up again. It used to work fine during 4.15, some patches of 4.16 worked splendid as well, but as of lately the only way to wake up after opening the lid is to hit the power button. Just opening up the lid does not trigger a resume on its own. The system does not freeze or hang if I leave it be after opening the lid, but will not do anything until I hit the power button.

I checked /proc/acpi/wakeup which gives me:

[supertuba@archie ~]$ cat /proc/acpi/wakeup 
Device	S-state	  Status   Sysfs node
PEG0	  S3	*disabled  pci:0000:00:01.0
PEG1	  S3	*disabled  pci:0000:00:01.1
PEG2	  S3	*disabled
EC	  S4	*disabled  platform:PNP0C09:00
GMUX	  S3	*disabled  pnp:00:03
HDEF	  S3	*disabled  pci:0000:00:1b.0
RP03	  S3	*disabled  pci:0000:00:1c.2
ARPT	  S4	*enabled   pci:0000:03:00.0
RP04	  S3	*disabled  pci:0000:00:1c.3
XHC1	  S3	*disabled  pci:0000:00:14.0
ADP1	  S4	*disabled  platform:ACPI0003:00
LID0	  S4	*enabled   platform:PNP0C0D:00

I noticed that the LID0 is in the S4 state which is for hibernate, though I'm only suspending to RAM (S3) IIRC. I figure that could be that the LID0 will wake anything from S4 and up and thus should be able to kickstart my S2RAM.

I'm leaving the output of the journalctl as well from where the system entered suspend and up until it resumed (after having pressed the power button):

Aug 19 20:25:18 archie systemd-logind[643]: Suspending...
Aug 19 20:25:18 archie systemd[1]: Starting TLP suspend/resume...
Aug 19 20:25:18 archie systemd[1]: Started netctl sleep hook.
Aug 19 20:25:18 archie systemd[1]: Started TLP suspend/resume.
Aug 19 20:25:18 archie systemd[1]: Reached target Sleep.
Aug 19 20:25:18 archie systemd[1]: Starting Suspend...
Aug 19 20:25:18 archie systemd-sleep[6943]: Suspending system...
Aug 19 20:25:18 archie kernel: PM: suspend entry (deep)
Aug 20 11:06:00 archie kernel: PM: Syncing filesystems ... done.
Aug 20 11:06:00 archie kernel: Freezing user space processes ... (elapsed 0.015 seconds) done.
Aug 20 11:06:00 archie kernel: OOM killer disabled.
Aug 20 11:06:00 archie kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 20 11:06:00 archie kernel: Suspending console(s) (use no_console_suspend to debug)
Aug 20 11:06:00 archie kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Aug 20 11:06:00 archie kernel: sd 0:0:0:0: [sda] Stopping disk
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: suspending...
Aug 20 11:06:00 archie kernel: ACPI: EC: interrupt blocked
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: suspend finished
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: stopping RX ring 0
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 12>
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: stopping TX ring 0
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 0 >
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: control channel stopped
Aug 20 11:06:00 archie kernel: ACPI: Preparing to enter system sleep state S3
Aug 20 11:06:00 archie kernel: ACPI: EC: event blocked
Aug 20 11:06:00 archie kernel: ACPI: EC: EC stopped
Aug 20 11:06:00 archie kernel: PM: Saving platform NVS memory
Aug 20 11:06:00 archie kernel: Disabling non-boot CPUs ...
Aug 20 11:06:00 archie kernel: smpboot: CPU 1 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 2 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 3 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 4 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 5 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 6 is now offline
Aug 20 11:06:00 archie kernel: smpboot: CPU 7 is now offline
Aug 20 11:06:00 archie kernel: ACPI: Low-level resume complete
Aug 20 11:06:00 archie kernel: ACPI: EC: EC started
Aug 20 11:06:00 archie kernel: PM: Restoring platform NVS memory
Aug 20 11:06:00 archie kernel: Enabling non-boot CPUs ...
Aug 20 11:06:00 archie kernel: x86: Booting SMP configuration:
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Aug 20 11:06:00 archie kernel:  cache: parent cpu1 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU1 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Aug 20 11:06:00 archie kernel:  cache: parent cpu2 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU2 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Aug 20 11:06:00 archie kernel:  cache: parent cpu3 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU3 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 4 APIC 0x1
Aug 20 11:06:00 archie kernel:  cache: parent cpu4 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU4 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 5 APIC 0x3
Aug 20 11:06:00 archie kernel:  cache: parent cpu5 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU5 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 6 APIC 0x5
Aug 20 11:06:00 archie kernel:  cache: parent cpu6 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU6 is up
Aug 20 11:06:00 archie kernel: smpboot: Booting Node 0 Processor 7 APIC 0x7
Aug 20 11:06:00 archie kernel:  cache: parent cpu7 should not be sleeping
Aug 20 11:06:00 archie kernel: CPU7 is up
Aug 20 11:06:00 archie kernel: ACPI: Waking up from system sleep state S3
Aug 20 11:06:00 archie kernel: ACPI: EC: interrupt unblocked
Aug 20 11:06:00 archie kernel: pcieport 0000:06:03.0: quirk: waiting for Thunderbolt to reestablish PCI>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:03.0: quirk: waiting for Thunderbolt to reestablish PCI>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:04.0: quirk: waiting for Thunderbolt to reestablish PCI>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:05.0: quirk: waiting for Thunderbolt to reestablish PCI>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:06.0: quirk: waiting for Thunderbolt to reestablish PCI>
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: control channel starting...
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: starting TX ring 0
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 0 (>
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: starting RX ring 0
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 12 >
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: resuming...
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: resetting switch at 0
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: 0: resuming switch
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: resume finished
Aug 20 11:06:00 archie kernel: pcieport 0000:06:05.0: quirk_apple_wait_for_thunderbolt+0x0/0xe0 took 46>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:04.0: quirk_apple_wait_for_thunderbolt+0x0/0xe0 took 46>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:06.0: quirk_apple_wait_for_thunderbolt+0x0/0xe0 took 46>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:03.0: quirk_apple_wait_for_thunderbolt+0x0/0xe0 took 46>
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: resetting error on 0:b.
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: 0:b: hotplug: scanning
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: 0:b: hotplug: no switch found
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: resetting error on 0:c.
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: 0:c: hotplug: scanning
Aug 20 11:06:00 archie kernel: thunderbolt 0000:07:00.0: 0:c: hotplug: no switch found
Aug 20 11:06:00 archie kernel: ACPI: EC: event unblocked
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Aug 20 11:06:00 archie kernel: sd 0:0:0:0: [sda] Starting disk
Aug 20 11:06:00 archie kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Aug 20 11:06:00 archie kernel: ata1.00: unexpected _GTF length (8)
Aug 20 11:06:00 archie kernel: ata1.00: unexpected _GTF length (8)
Aug 20 11:06:00 archie kernel: ata1.00: configured for UDMA/133
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip>
Aug 20 11:06:00 archie kernel: brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: bridge window [io  0x1000-0x0fff] to [bus 07] add>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: bridge window [mem 0x00100000-0x000fffff 64bit pr>
Aug 20 11:06:00 archie kernel: OOM killer enabled.
Aug 20 11:06:00 archie kernel: Restarting tasks ... 
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 15: no space for [mem size 0x00200000 64bit p>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 15: failed to assign [mem size 0x00200000 64b>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 13: no space for [io  size 0x1000]
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 13: failed to assign [io  size 0x1000]
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 15: no space for [mem size 0x00200000 64bit p>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 15: failed to assign [mem size 0x00200000 64b>
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 13: no space for [io  size 0x1000]
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: BAR 13: failed to assign [io  size 0x1000]
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0: PCI bridge to [bus 07]
Aug 20 11:06:00 archie kernel: pcieport 0000:06:00.0:   bridge window [mem 0xa0d00000-0xa0dfffff]
Aug 20 11:06:00 archie kernel: done.
Aug 20 11:06:00 archie systemd-logind[643]: Lid opened.
Aug 20 11:06:00 archie dhcpcd[6797]: arp_read: wlp3s0: Network is down
Aug 20 11:06:00 archie systemd[1]: Started Verify integrity of password and group files.
Aug 20 11:06:00 archie dhcpcd[6797]: dhcp_readpacket: wlp3s0: Network is down
Aug 20 11:06:00 archie systemd[1]: Starting Update man-db cache...
Aug 20 11:06:00 archie wpa_actiond[6743]: Interface 'wlp3s0' lost connection to network 'TeliaGateway30>
Aug 20 11:06:00 archie systemd[1]: Stopping Automatic wireless network connection using netctl profiles>
Aug 20 11:06:00 archie sh[6956]: user 'nifi': directory '/home/nifi' does not exist
Aug 20 11:06:00 archie sh[6956]: pwck: no changes
Aug 20 11:06:00 archie systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
Aug 20 11:06:00 archie systemd[1]: shadow.service: Failed with result 'exit-code'.
Aug 20 11:06:00 archie dhcpcd[6797]: wlp3s0: pid 0 deleted IP address 192.168.1.99/24
Aug 20 11:06:00 archie dhcpcd[6797]: wlp3s0: deleting route to 192.168.1.0/24
Aug 20 11:06:00 archie dhcpcd[6797]: wlp3s0: deleting default route via 192.168.1.1
Aug 20 11:06:00 archie wpa_actiond[6743]: Interface 'wlp3s0' disconnected from network 'TeliaGateway30->
Aug 20 11:06:00 archie dhcpcd[7017]: sending signal TERM to pid 6797
Aug 20 11:06:00 archie dhcpcd[7017]: waiting for pid 6797 to exit
Aug 20 11:06:00 archie dhcpcd[6797]: dhcp_openbpf: wlp3s0: No such device
Aug 20 11:06:00 archie dhcpcd[6797]: wlp3s0: removing interface
Aug 20 11:06:00 archie dhcpcd[6797]: dhcpcd exited
Aug 20 11:06:00 archie systemd-sleep[6943]: System resumed.
Aug 20 11:06:00 archie systemd[1]: Started Suspend.
Aug 20 11:06:00 archie systemd[1]: sleep.target: Unit not needed anymore. Stopping.
Aug 20 11:06:00 archie systemd[1]: Stopped target Sleep.
Aug 20 11:06:00 archie systemd[1]: tlp-sleep.service: Unit not needed anymore. Stopping.
Aug 20 11:06:00 archie systemd[1]: netctl-auto-sleep.service: Unit not needed anymore. Stopping.
Aug 20 11:06:00 archie systemd[1]: Stopping netctl sleep hook...
Aug 20 11:06:00 archie kernel: video LNXVIDEO:00: Restoring backlight state
Aug 20 11:06:00 archie kernel: PM: suspend exit
Aug 20 11:06:00 archie systemd[1]: Stopping TLP suspend/resume...
Aug 20 11:06:00 archie systemd[1]: Reached target Suspend.
Aug 20 11:06:00 archie systemd[1]: suspend.target: Unit not needed anymore. Stopping.
Aug 20 11:06:00 archie systemd[1]: Stopped target Suspend.
Aug 20 11:06:00 archie systemd-logind[643]: Operation 'sleep' finished.
Aug 20 11:06:00 archie systemd[1]: Unnecessary job for BCM43602 802.11ac Wireless LAN SoC was removed.
Aug 20 11:06:00 archie wpa_actiond[6743]: Terminating wpa_actiond session for interface 'wlp3s0'
Aug 20 11:06:00 archie systemd[1]: Stopped TLP suspend/resume.
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip>
Aug 20 11:06:00 archie kernel: brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.>
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), devi>
Aug 20 11:06:00 archie kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43602/1 wl0: Nov 10 2015 0>
Aug 20 11:06:00 archie systemd-udevd[7218]: link_config: autonegotiation is unset or enabled, the speed>
Aug 20 11:06:00 archie kernel: brcmfmac 0000:03:00.0 wlp3s0: renamed from wlan0
Aug 20 11:06:00 archie mandb[6962]: Updating index cache for path `/usr/share/man/man3'. Wait...
Aug 20 11:06:00 archie kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Aug 20 11:06:00 archie mandb[6962]: Purging old database entries in /usr/share/man...
Aug 20 11:06:00 archie mandb[6962]: Processing manual pages under /usr/share/man...
Aug 20 11:06:01 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/gnutls_x509_trust_list>
Aug 20 11:06:01 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/pcre2demo.3.gz: whatis>
Aug 20 11:06:01 archie systemd[1]: Stopped Automatic wireless network connection using netctl profiles.
Aug 20 11:06:01 archie systemd[1]: Starting Automatic wireless network connection using netctl profiles>
Aug 20 11:06:02 archie netctl-auto[7707]: Included profile 'wlp3s0-MySuperWifiSSID'
...
Aug 20 11:06:02 archie kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Aug 20 11:06:02 archie wpa_actiond[7868]: Starting wpa_actiond session for interface 'wlp3s0'
Aug 20 11:06:02 archie systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 20 11:06:02 archie systemd[1]: Stopped netctl sleep hook.
Aug 20 11:06:04 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/DateTime::Format::Buil>
Aug 20 11:06:04 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/Sort::Key::Types.3pm.g>
Aug 20 11:06:04 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/Biber::Annotation.3pm.>
Aug 20 11:06:04 archie mandb[6962]: /usr/bin/mandb: warning: /usr/share/man/man3/pcredemo.3.gz: whatis >
Aug 20 11:06:07 archie wpa_actiond[7868]: Interface 'wlp3s0' connected to network '...'
Aug 20 11:06:07 archie kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Aug 20 11:06:07 archie dhcpcd[9792]: DUID 00:01:00:01:22:1d:7a:03:ac:bd:32:a8:c3:3b
Aug 20 11:06:07 archie dhcpcd[9792]: wlp3s0: IAID 32:a8:c3:3b
Aug 20 11:06:08 archie dhcpcd[9792]: wlp3s0: soliciting a DHCP lease
Aug 20 11:06:11 archie kdeconnectd[1166]: kdeconnect.core: Broadcasting identity packet
Aug 20 11:06:11 archie dhcpcd[9792]: wlp3s0: offered 192.168.1.98 from 192.168.1.1
Aug 20 11:06:11 archie dhcpcd[9792]: wlp3s0: ignoring offer of 192.168.1.98 from 192.168.1.1
Aug 20 11:06:11 archie dhcpcd[9792]: wlp3s0: leased 192.168.1.98 for 3600 seconds
Aug 20 11:06:11 archie dhcpcd[9792]: wlp3s0: adding route to 192.168.1.0/24
Aug 20 11:06:11 archie dhcpcd[9792]: wlp3s0: adding default route via 192.168.1.1
Aug 20 11:06:11 archie kernel: brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-52
Aug 20 11:06:11 archie dhcpcd[9792]: forked to background, child pid 11201

Just ask if more info is needed and I will add it to the post.

4 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 100% up
Kind
Text
ID
98siuk

Author

4
posts
11
comments
1
media
View profile

3 comments

Had this issue on an x220. I do not have the same issue with the same computer on gentoo, only difference between the setups is systemd vs openrc. Would definently think systemd is the culprit, for whatever that's worth

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.