I see: Jan 8 14:35:02 y920 kernel: PM: suspend devices took 0.287 seconds Jan 8 14:35:02 y920 kernel: ACPI: EC: interrupt blocked Jan 8 14:35:02 y920 kernel: ACPI: EC: interrupt unblocked then the PC resumes. You have the PM entry (/sys/power/mem_sleep) set to "s2idle" according to a previous line in the log. So maybe you ACPI doesn't support this sleep mode (which, BTW, is shit from the power saving point of view). Try setting /sys/power/mem_sleep to "deep", without quotes, instead. Iñaki On Wed, 8 Jan 2020 at 16:53, Klaus Kolle <klaus@xxxxxxxx> wrote: > > Hello list > > For the past two or three days my Lenovo Yoga 920 laptop wont sleep when > the lid is closed. > > I've been starring in the /var/log/messages file, but cannot figure out, > what causes the immediate awakening og the OS. > > I've located these lines in the messages, but it does not give any > meaning to me, what wakes up or prevents the sleeping. > > The sleeping starts at 14:35:58. > > Any idea what is wrong? > > Jan 8 14:34:56 y920 systemd[1232]: Started > dbus-:1.2-org.kde.LogoutPrompt@1.service. > Jan 8 14:34:56 y920 systemd[1232]: Starting Mark boot as successful... > Jan 8 14:34:56 y920 systemd[1232]: grub-boot-success.service: Succeeded. > Jan 8 14:34:56 y920 systemd[1232]: Started Mark boot as successful. > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > kf5.kcoreaddons.kdirwatch: Cannot watch QRC-like path > ":/icons/hicolor/index.theme" > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/UserDelegate.qml:41: > ReferenceError: config is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/UserDelegate.qml:34: > ReferenceError: model is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/ActionButton.qml: > ReferenceError: config is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/ActionButton.qml: > ReferenceError: config is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/ActionButton.qml:33: > ReferenceError: config is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/ActionButton.qml:33: > ReferenceError: config is not defined > Jan 8 14:34:56 y920 ksmserver-logout-greeter[3041]: > file:///usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/components/ActionButton.qml:33: > ReferenceError: config is not defined > Jan 8 14:34:58 y920 kwin_x11[1397]: qt.qpa.xcb: QXcbConnection: XCB > error: 3 (BadWindow), sequence: 50882, resource id: 121634849, major > code: 18 (ChangeProperty), minor code: 0 > Jan 8 14:34:58 y920 systemd[1232]: > dbus-:1.2-org.kde.LogoutPrompt@1.service: Succeeded. > Jan 8 14:34:58 y920 NetworkManager[1057]: <info> [1578490498.7673] > manager: sleep: sleep requested (sleeping: no enabled: yes) > Jan 8 14:34:58 y920 NetworkManager[1057]: <info> [1578490498.7676] > device (p2p-dev-wlp107s0): state change: disconnected -> unmanaged > (reason 'sleeping', sys-iface-state: 'managed') > Jan 8 14:34:58 y920 NetworkManager[1057]: <info> [1578490498.7691] > manager: NetworkManager state is now ASLEEP > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: Qt: Session management > error: networkIdsList argument is NULL > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: kf5.kpackage: No > metadata file in the package, expected it at: > "/usr/share/backgrounds/f31/default/tv-wide/" > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: kf5.kpackage: No > metadata file in the package, expected it at: > "/usr/share/backgrounds/f31/default/tv-wide/" > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: kf5.kpackage: No > metadata file in the package, expected it at: > "/usr/share/backgrounds/f31/default/tv-wide/" > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: > file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: > Unable to assign [undefined] to QStringList > Jan 8 14:34:58 y920 kscreenlocker_greet[3054]: > file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: > Unable to assign [undefined] to int > Jan 8 14:34:59 y920 systemd[1]: Reached target Sleep. > Jan 8 14:34:59 y920 systemd[1]: Starting Suspend... > Jan 8 14:34:59 y920 systemd-sleep[3062]: Suspending system... > Jan 8 14:34:59 y920 kernel: PM: suspend entry (s2idle) > Jan 8 14:35:02 y920 kernel: Filesystems sync: 0.007 seconds > Jan 8 14:35:02 y920 kernel: Freezing user space processes ... (elapsed > 0.002 seconds) done. > Jan 8 14:35:02 y920 kernel: OOM killer disabled. > Jan 8 14:35:02 y920 kernel: Freezing remaining freezable tasks ... > (elapsed 0.001 seconds) done. > Jan 8 14:35:02 y920 kernel: printk: Suspending console(s) (use > no_console_suspend to debug) > Jan 8 14:35:02 y920 kernel: wlp107s0: deauthenticating from > 04:f0:21:24:15:56 by local choice (Reason: 3=DEAUTH_LEAVING) > Jan 8 14:35:02 y920 kernel: PM: suspend devices took 0.287 seconds > Jan 8 14:35:02 y920 kernel: ACPI: EC: interrupt blocked > Jan 8 14:35:02 y920 kernel: ACPI: EC: interrupt unblocked > Jan 8 14:35:02 y920 kernel: ath10k_pci 0000:6b:00.0: unsupported HTC > service id: 1536 > Jan 8 14:35:02 y920 kernel: PM: resume devices took 0.289 seconds > Jan 8 14:35:02 y920 kernel: OOM killer enabled. > Jan 8 14:35:02 y920 wpa_supplicant[1152]: wlp107s0: > CTRL-EVENT-DISCONNECTED bssid=04:f0:21:24:15:56 reason=3 locally_generated=1 > Jan 8 14:35:02 y920 wpa_supplicant[1152]: dbus: > wpa_dbus_property_changed: no property SessionLength in object > /fi/w1/wpa_supplicant1/Interfaces/1 > Jan 8 14:35:02 y920 wpa_supplicant[1152]: wlp107s0: > CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD > Jan 8 14:35:02 y920 wpa_supplicant[1152]: wlp107s0: > CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=DK > Jan 8 14:35:02 y920 kernel: Restarting tasks ... done. > Jan 8 14:35:02 y920 kernel: mei_hdcp > 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 > (ops i915_hdcp_component_ops [i915]) > Jan 8 14:35:02 y920 NetworkManager[1057]: <warn> [1578490502.1795] > sup-iface[0x5596f28be220,wlp107s0]: connection disconnected (reason -3) > Jan 8 14:35:02 y920 NetworkManager[1057]: <info> [1578490502.1796] > device (wlp107s0): supplicant interface state: completed -> disconnected > Jan 8 14:35:02 y920 systemd-sleep[3062]: System resumed. > Jan 8 14:35:02 y920 kernel: PM: suspend exit > Jan 8 14:35:02 y920 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 > ses=4294967295 subj=system_u:system_r:init_t:s0 > msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" > hostname=? addr=? terminal=? res=success' > Jan 8 14:35:02 y920 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 > ses=4294967295 subj=system_u:system_r:init_t:s0 > msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" > hostname=? addr=? terminal=? res=success' > Jan 8 14:35:02 y920 systemd[1]: systemd-suspend.service: Succeeded. > Jan 8 14:35:02 y920 systemd[1]: Started Suspend. > Jan 8 14:35:02 y920 systemd[1]: Stopped target Sleep. > Jan 8 14:35:02 y920 systemd[1]: Reached target Suspend. > Jan 8 14:35:02 y920 systemd[1]: Stopped target Suspend. > Jan 8 14:35:02 y920 systemd-logind[1046]: Operation 'sleep' finished. > Jan 8 14:35:02 y920 NetworkManager[1057]: <info> [1578490502.2088] > manager: sleep: wake requested (sleeping: yes enabled: yes) > Jan 8 14:35:02 y920 NetworkManager[1057]: <info> [1578490502.2089] > device (wlp107s0): state change: activated -> unmanaged (reason > 'sleeping', sys-iface-state: 'managed') > Jan 8 14:35:02 y920 NetworkManager[1057]: <info> [1578490502.2091] > dhcp4 (wlp107s0): canceled DHCP transaction > Jan 8 14:35:02 y920 NetworkManager[1057]: <info> [1578490502.2091] > dhcp4 (wlp107s0): state changed bound -> done > J > > -- > Med venlig hilsen > > Klaus Kolle > > Teknikumingeniør, B.Sc.EE., e-mail : klaus@xxxxxxxx > Master of IT www : www.kolle.dk > Asger Jorns Vej 17 Telephone : +4522216044 > DK-8600 Silkeborg, Denmark > > "Leave me alone, I know what I'm doing!" > Kimi Räikönen, Abu Dhabi F1 race 2012. > > Planlægning er tanker om noget man agter at gøre en gang i fremtiden, > hvis omstændighederne tillader det. > Klaus Kolle 2006 > > Perfection is achieved not when nothing more to add, but when there is > nothing more left to take away. > Antoine de Saint-Exupery > > _______________________________________________ > kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx -- Iñaki Úcar _______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx