You are not logged in.

#1 2018-05-06 09:36:58

TrieTrieAgain
Member
Registered: 2018-05-06
Posts: 2

Immediate resume after suspension

I just bought a Lenovo X1C6 with i7-8550U, and read through the excellent forum topic on adding deep sleep (S3) support. I made the fix, and have confirmed it works.

However, now I'm running into a separate issue, namely, the laptop immediately resumes after suspension. I've made sure it's not the fault of my graphical environment, and disabling every wakeup other than the power button (by toggling devices in /proc/acpi/wakeup) doesn't solve the problem.

Here's the dmesg output:

[   31.807596] PM: suspend entry (deep)
[   31.807598] PM: Syncing filesystems ... done.
[   31.873265] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   31.874579] OOM killer disabled.
[   31.874580] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   31.875845] Suspending console(s) (use no_console_suspend to debug)
[   32.132120] e1000e: EEE TX LPI TIMER: 00000011
[   32.417615] ACPI: EC: interrupt blocked
[   32.461113] ACPI: Preparing to enter system sleep state S3
[   32.467841] ACPI: EC: event blocked
[   32.467842] ACPI: EC: EC stopped
[   32.467843] PM: Saving platform NVS memory
[   32.467855] Disabling non-boot CPUs ...
[   32.508454] smpboot: CPU 1 is now offline
[   32.549461] smpboot: CPU 2 is now offline
[   32.615075] smpboot: CPU 3 is now offline
[   32.661709] smpboot: CPU 4 is now offline
[   32.708274] smpboot: CPU 5 is now offline
[   32.741645] smpboot: CPU 6 is now offline
[   32.791600] smpboot: CPU 7 is now offline
[   32.795750] ACPI: Low-level resume complete
[   32.795876] ACPI: EC: EC started
[   32.795877] PM: Restoring platform NVS memory
[   32.796675] Enabling non-boot CPUs ...
[   32.796710] x86: Booting SMP configuration:
[   32.796710] smpboot: Booting Node 0 Processor 1 APIC 0x2
[   32.797144]  cache: parent cpu1 should not be sleeping
[   32.797280] CPU1 is up
[   32.797302] smpboot: Booting Node 0 Processor 2 APIC 0x4
[   32.797742]  cache: parent cpu2 should not be sleeping
[   32.797874] CPU2 is up
[   32.797892] smpboot: Booting Node 0 Processor 3 APIC 0x6
[   32.798332]  cache: parent cpu3 should not be sleeping
[   32.798470] CPU3 is up
[   32.798489] smpboot: Booting Node 0 Processor 4 APIC 0x1
[   32.799011]  cache: parent cpu4 should not be sleeping
[   32.799166] CPU4 is up
[   32.799189] smpboot: Booting Node 0 Processor 5 APIC 0x3
[   32.799627]  cache: parent cpu5 should not be sleeping
[   32.799777] CPU5 is up
[   32.799798] smpboot: Booting Node 0 Processor 6 APIC 0x5
[   32.800230]  cache: parent cpu6 should not be sleeping
[   32.800389] CPU6 is up
[   32.800408] smpboot: Booting Node 0 Processor 7 APIC 0x7
[   32.800854]  cache: parent cpu7 should not be sleeping
[   32.801022] CPU7 is up
[   32.807449] ACPI: Waking up from system sleep state S3
[   32.824286] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[   32.824288] thinkpad_acpi: unhandled HKEY event 0x6032
[   32.824288] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@lists.sourceforge.net
[   32.825792] ACPI: EC: interrupt unblocked
[   32.886998] ACPI: EC: event unblocked
[   32.895624] usb 2-3: Disable of device-initiated U1 failed.
[   32.899196] usb 2-3: Disable of device-initiated U2 failed.
[   32.902815] usb 2-3: usb_reset_and_verify_device Failed to disable LTM
[   33.101377] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[   33.117502] usb 1-8: reset high-speed USB device number 3 using xhci_hcd
[   33.381075] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
[   33.615278] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4760]
[   33.647103] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[   33.753910] OOM killer enabled.
[   33.753912] Restarting tasks ... 
[   33.754707] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[   33.754927] done.
[   33.755448] Bluetooth: hci0: Device revision is 16
[   33.755454] Bluetooth: hci0: Secure boot is enabled
[   33.755457] Bluetooth: hci0: OTP lock is enabled
[   33.755459] Bluetooth: hci0: API lock is enabled
[   33.755462] Bluetooth: hci0: Debug lock is disabled
[   33.755466] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   33.755473] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[   33.758078] thermal thermal_zone6: failed to read out thermal zone (-61)
[   33.772032] PM: suspend exit
[   33.923965] usb 2-3: USB disconnect, device number 2
[   34.114233] usb 2-3: new SuperSpeed USB device number 3 using xhci_hcd
[   34.141684] usb 2-3: New USB device found, idVendor=0bda, idProduct=0328
[   34.141686] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   34.141687] usb 2-3: Product: USB3.0-CRW
[   34.141687] usb 2-3: Manufacturer: Generic
[   34.141709] usb 2-3: SerialNumber: 28203008282014000
[   34.147717] usb-storage 2-3:1.0: USB Mass Storage device detected
[   34.148017] scsi host0: usb-storage 2-3:1.0
[   35.152566] scsi 0:0:0:0: Direct-Access     Generic- SD/MMC CRW       1.00 PQ: 0 ANSI: 6
[   35.408096] Bluetooth: hci0: Waiting for firmware download to complete
[   35.408413] Bluetooth: hci0: Firmware loaded in 1615983 usecs
[   35.408513] Bluetooth: hci0: Waiting for device to boot
[   35.425444] Bluetooth: hci0: Device booted in 16623 usecs
[   35.425451] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[   35.428648] Bluetooth: hci0: Applying Intel DDC parameters completed
[   42.993040] sd 0:0:0:0: [sda] Attached SCSI removable disk

A part of me suspects a systemd unit, but I don't know systemd well enough to confirm.

Anyone have any ideas?

Edit: This same problem happens on my old laptop, a Lenovo G40-70, when I boot from the installation media I used for Arch.

Last edited by TrieTrieAgain (2018-05-06 15:03:13)

Offline

#2 2018-05-06 16:00:42

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: Immediate resume after suspension

Might be USB. Do you have anything attached ? Sometimes I charge my phone via USB and forget. Then when I suspend my machine, It wakes back up.
You seem to have devices attached to the USB.

Offline

#3 2018-05-06 16:01:47

TrieTrieAgain
Member
Registered: 2018-05-06
Posts: 2

Re: Immediate resume after suspension

No, nothing is attached to any of the USB ports.

Offline

#4 2018-05-21 15:08:52

mie
Member
Registered: 2011-02-16
Posts: 7

Re: Immediate resume after suspension

I am experiencing a similar issue with a xiaomi laptop. In my case this happens if the battery level is below 7%
I have no clue of what can be triggering it.

Offline

Board footer

Powered by FluxBB