systemd: Intempestive Lid closed / Lid opened events
Open, Needs TriagePublic

Description

Hi,

When the screen is locked, lid staying open, my Librem 15 may intempestively switch to suspend state. This is really annoying because I sometimes need to access it remotely and it's not possible when it is suspended.
Here's a relevant excerpt from journalctl:

sept. 20 21:54:45 pinibrem15 minissdpd[888]: peer x.x.x.x:x is not from a LAN
sept. 20 21:54:45 pinibrem15 minissdpd[888]: peer x.x.x.x:x is not from a LAN
sept. 20 21:54:45 pinibrem15 minissdpd[888]: peer x.x.x.x:x is not from a LAN
sept. 20 21:56:53 pinibrem15 systemd-logind[674]: Lid closed.
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 systemd-logind[674]: Suspending...
sept. 20 21:56:53 pinibrem15 NetworkManager[704]: <info>  [1537473413.4642] manager: sleep: sleep requested (sleeping: no  enabled: yes)
sept. 20 21:56:53 pinibrem15 NetworkManager[704]: <info>  [1537473413.4642] device (wlp1s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
sept. 20 21:56:53 pinibrem15 NetworkManager[704]: <info>  [1537473413.4645] device (wlp1s0): set-hw-addr: reset MAC address to XX:XX:XX:XX:XX:XX (unmanage)
sept. 20 21:56:53 pinibrem15 NetworkManager[704]: <info>  [1537473413.4719] manager: NetworkManager state is now ASLEEP
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Screen lock is locked down, not locking
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to set power save mode for output eDP-1: Permission non accordée
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 gsd-color[1295]: failed to set screen _ICC_PROFILE: L’ouverture du fichier « /home/pini/.local/share/icc/edid-a3d3999ebc291c48322f3577bab309d2.icc » a échoué : Permission non accordé
sept. 20 21:56:53 pinibrem15 systemd[1]: Reached target Sleep.
sept. 20 21:56:53 pinibrem15 systemd[1]: Starting Suspend...
sept. 20 21:56:53 pinibrem15 systemd-sleep[8525]: Suspending system...
sept. 20 21:56:53 pinibrem15 kernel: PM: suspend entry (deep)
sept. 20 21:56:53 pinibrem15 systemd-logind[674]: Lid opened.
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 21:56:53 pinibrem15 gnome-shell[1197]: Failed to read EDID from 'eDP-1': Aucun fichier ou dossier de ce type
sept. 20 22:05:34 pinibrem15 kernel: PM: Syncing filesystems ... done.
sept. 20 22:05:34 pinibrem15 kernel: Freezing user space processes ... (elapsed 0.126 seconds) done.
sept. 20 22:05:34 pinibrem15 kernel: OOM killer disabled.
sept. 20 22:05:34 pinibrem15 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
sept. 20 22:05:34 pinibrem15 kernel: Suspending console(s) (use no_console_suspend to debug)
sept. 20 22:05:34 pinibrem15 kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
sept. 20 22:05:34 pinibrem15 kernel: sd 0:0:0:0: [sda] Stopping disk
sept. 20 22:05:34 pinibrem15 kernel: ACPI: Preparing to enter system sleep state S3
sept. 20 22:05:34 pinibrem15 kernel: ACPI: EC: event blocked
sept. 20 22:05:34 pinibrem15 kernel: ACPI: EC: EC stopped
sept. 20 22:05:34 pinibrem15 kernel: PM: Saving platform NVS memory
sept. 20 22:05:34 pinibrem15 kernel: Disabling non-boot CPUs ...
sept. 20 22:05:34 pinibrem15 kernel: IRQ 124: no longer affine to CPU1
sept. 20 22:05:34 pinibrem15 kernel: smpboot: CPU 1 is now offline
sept. 20 22:05:34 pinibrem15 kernel: smpboot: CPU 2 is now offline
sept. 20 22:05:34 pinibrem15 kernel: IRQ 122: no longer affine to CPU3
sept. 20 22:05:34 pinibrem15 kernel: IRQ 123: no longer affine to CPU3
sept. 20 22:05:34 pinibrem15 kernel: IRQ 125: no longer affine to CPU3
sept. 20 22:05:34 pinibrem15 kernel: smpboot: CPU 3 is now offline
sept. 20 22:05:34 pinibrem15 kernel: ACPI: Low-level resume complete
sept. 20 22:05:34 pinibrem15 kernel: ACPI: EC: EC started
sept. 20 22:05:34 pinibrem15 kernel: PM: Restoring platform NVS memory
sept. 20 22:05:34 pinibrem15 kernel: Enabling non-boot CPUs ...
sept. 20 22:05:34 pinibrem15 kernel: x86: Booting SMP configuration:
sept. 20 22:05:34 pinibrem15 kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
sept. 20 22:05:34 pinibrem15 kernel:  cache: parent cpu1 should not be sleeping
sept. 20 22:05:34 pinibrem15 kernel: CPU1 is up

Any idea how to fix this?

Thanks,

_g.

Pini created this task.Sep 20 2018, 8:54 PM
Pini added a comment.Sep 24 2018, 9:30 AM

This problem seems to occur especially when the system in on heavy load. I can easily reproduce it when building the Debian package hdf5.

Pini changed the title from "systemd: Intenpestive Lid closed / Lid opened events" to "systemd: Intempestive Lid closed / Lid opened events".Oct 22 2018, 6:02 PM

Add Comment