• Laptop suspend/hibernate issue


    Issue started after setting up the change user screen so I could lock my screen, as prior to the lock screen keyboard shortcut(See below) that I setup, I could not get the laptop to lock the screen. When I open the lid to my laptop, I get the login screen, login, and then shortly thereafter, it goes black. Today it completely shutdown, I hit the power button, I see bios option, select normal boot, and it booted back up to the desktop without asking for login. Odd.
    Xfce4 DE
    Display manager is LXDM (lightdm is disabled)
    To lock the screen, I am using a keyboard shortcut: /usr/bin/lxdm -c USER_SWITCH
    Under the power manger settings, “when laptop lid is closed: Hibernate”

    Here is the journalctl entry from the when the lid was closed till I opened it this morning.

    Nov 28 01:18:04 JARVIS systemd-logind[291]: Lid closed.
    Nov 28 01:18:04 JARVIS systemd-logind[291]: Suspending...
    Nov 28 01:18:04 JARVIS NetworkManager[299]: <info>  [1480321084.5537] manager: sleep requested (sleeping: no  enabled: yes)
    Nov 28 01:18:04 JARVIS dbus[294]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesk
    Nov 28 01:18:04 JARVIS NetworkManager[299]: <info>  [1480321084.5537] manager: sleeping...
    Nov 28 01:18:04 JARVIS NetworkManager[299]: <info>  [1480321084.6165] device (enp1s0): state change: unavailable -> unmanaged (reason '
    Nov 28 01:18:04 JARVIS NetworkManager[299]: <info>  [1480321084.9037] manager: NetworkManager state is now ASLEEP
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.0814] device (wlp2s0): state change: activated -> deactivating (reason 
    Nov 28 01:18:05 JARVIS kernel: wlp2s0: deauthenticating from 10:0d:7f:74:cf:36 by local choice (Reason: 3=DEAUTH_LEAVING)
    Nov 28 01:18:05 JARVIS wpa_supplicant[329]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=10:0d:7f:74:cf:36 reason=3 locally_generated=1
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.2684] device (wlp2s0): state change: deactivating -> disconnected (reas
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.3009] dhcp4 (wlp2s0): canceled DHCP transaction
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.3010] dhcp4 (wlp2s0): state changed bound -> done
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.3471] device (wlp2s0): set-hw-addr: set MAC address to 92:22:3D:27:B6:7
    Nov 28 01:18:05 JARVIS systemd[1]: Starting Network Manager Script Dispatcher Service...
    Nov 28 01:18:05 JARVIS dbus[294]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Nov 28 01:18:05 JARVIS systemd[1]: Started Network Manager Script Dispatcher Service.
    Nov 28 01:18:05 JARVIS nm-dispatcher[17001]: req:1 'connectivity-change': new request (1 scripts)
    Nov 28 01:18:05 JARVIS nm-dispatcher[17001]: req:1 'connectivity-change': start running ordered scripts...
    Nov 28 01:18:05 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    Nov 28 01:18:05 JARVIS wpa_supplicant[329]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
    Nov 28 01:18:05 JARVIS NetworkManager[299]: <info>  [1480321085.7395] dns-mgr: Removing DNS information from /usr/bin/resolvconf
    Nov 28 01:18:06 JARVIS NetworkManager[299]: <warn>  [1480321086.0782] sup-iface[0x137b8a0,wlp2s0]: connection disconnected (reason -3)
    Nov 28 01:18:06 JARVIS NetworkManager[299]: <info>  [1480321086.0796] device (wlp2s0): supplicant interface state: completed -> disconn
    Nov 28 01:18:06 JARVIS nm-dispatcher[17001]: req:2 'down' [wlp2s0]: new request (1 scripts)
    Nov 28 01:18:06 JARVIS NetworkManager[299]: <warn>  [1480321086.0802] sup-iface[0x137b8a0,wlp2s0]: connection disconnected (reason -3)
    Nov 28 01:18:06 JARVIS nm-dispatcher[17001]: req:2 'down' [wlp2s0]: start running ordered scripts...
    Nov 28 01:18:06 JARVIS NetworkManager[299]: <info>  [1480321086.0829] device (wlp2s0): state change: disconnected -> unmanaged (reason 
    Nov 28 01:18:06 JARVIS NetworkManager[299]: <info>  [1480321086.4389] device (wlp2s0): set-hw-addr: reset MAC address to E0:CA:94:31:DA
    Nov 28 01:18:06 JARVIS systemd[1]: Reached target Sleep.
    Nov 28 01:18:06 JARVIS systemd[1]: Starting Suspend...
    Nov 28 01:18:06 JARVIS systemd-sleep[17042]: Suspending system...
    Nov 28 01:18:06 JARVIS wpa_supplicant[329]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
    Nov 28 01:18:07 JARVIS kernel: PM: Syncing filesystems ... done.
    Nov 28 01:18:07 JARVIS kernel: PM: Preparing system for sleep (mem)
    

    last entry from 1:18am in the morning.

    
    Nov 28 11:41:22 JARVIS kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
    Nov 28 11:41:22 JARVIS kernel: Double checking all user space processes after OOM killer disable... (elapsed 0.000 seconds) 
    Nov 28 11:41:22 JARVIS kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Nov 28 11:41:24 JARVIS kernel: PM: Suspending system (mem)
    
    

    System suspending after opening lid I presume

    Nov 28 11:41:24 JARVIS kernel: Suspending console(s) (use no_console_suspend to debug)
    Nov 28 11:41:24 JARVIS kernel: sd 1:0:0:0: [sda] Synchronizing SCSI cache
    Nov 28 11:41:24 JARVIS kernel: sd 1:0:0:0: [sda] Stopping disk
    Nov 28 11:41:24 JARVIS kernel: PM: suspend of devices complete after 753.227 msecs
    Nov 28 11:41:24 JARVIS kernel: PM: late suspend of devices complete after 16.583 msecs
    Nov 28 11:41:24 JARVIS kernel: ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
    Nov 28 11:41:24 JARVIS kernel: PM: noirq suspend of devices complete after 16.704 msecs
    Nov 28 11:41:24 JARVIS kernel: ACPI: Preparing to enter system sleep state S3
    Nov 28 11:41:24 JARVIS kernel: PM: Saving platform NVS memory
    Nov 28 11:41:24 JARVIS kernel: Disabling non-boot CPUs ...
    Nov 28 11:41:24 JARVIS kernel: smpboot: CPU 1 is now offline
    Nov 28 11:41:24 JARVIS kernel: smpboot: CPU 2 is now offline
    Nov 28 11:41:24 JARVIS kernel: smpboot: CPU 3 is now offline
    Nov 28 11:41:24 JARVIS kernel: ACPI: Low-level resume complete
    Nov 28 11:41:24 JARVIS kernel: PM: Restoring platform NVS memory
    Nov 28 11:41:24 JARVIS kernel: Enabling non-boot CPUs ...
    Nov 28 11:41:25 JARVIS kernel: x86: Booting SMP configuration:
    Nov 28 11:41:25 JARVIS kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
    Nov 28 11:41:25 JARVIS kernel:  cache: parent cpu1 should not be sleeping
    Nov 28 11:41:25 JARVIS kernel: CPU1 is up
    Nov 28 11:41:25 JARVIS kernel: smpboot: Booting Node 0 Processor 2 APIC 0x2
    Nov 28 11:41:25 JARVIS kernel:  cache: parent cpu2 should not be sleeping
    Nov 28 11:41:25 JARVIS kernel: CPU2 is up
    Nov 28 11:41:25 JARVIS kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
    Nov 28 11:41:25 JARVIS kernel:  cache: parent cpu3 should not be sleeping
    Nov 28 11:41:25 JARVIS kernel: CPU3 is up
    Nov 28 11:41:25 JARVIS kernel: ACPI: Waking up from system sleep state S3
    Nov 28 11:41:25 JARVIS kernel: acpi LNXPOWER:00: Turning OFF
    Nov 28 11:41:25 JARVIS kernel: ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
    Nov 28 11:41:25 JARVIS kernel: PM: noirq resume of devices complete after 16.578 msecs
    Nov 28 11:41:25 JARVIS kernel: PM: early resume of devices complete after 0.436 msecs
    Nov 28 11:41:25 JARVIS kernel: rtlwifi: rtlwifi: wireless switch is on
    Nov 28 11:41:25 JARVIS kernel: rtc_cmos 00:01: System wakeup disabled by ACPI
    Nov 28 11:41:25 JARVIS kernel: sd 1:0:0:0: [sda] Starting disk
    Nov 28 11:41:25 JARVIS kernel: ata4.00: configured for UDMA/100
    Nov 28 11:41:25 JARVIS kernel: usb 1-1.3: reset high-speed USB device number 4 using ehci-pci
    Nov 28 11:41:25 JARVIS kernel: PM: resume of devices complete after 389.843 msecs
    Nov 28 11:41:25 JARVIS kernel: PM: Finishing wakeup.
    Nov 28 11:41:25 JARVIS kernel: Restarting tasks ... done.
    Nov 28 11:41:25 JARVIS kernel: video LNXVIDEO:01: Restoring backlight state
    Nov 28 11:41:25 JARVIS kernel: usb 1-1.1: new high-speed USB device number 5 using ehci-pci
    Nov 28 11:41:25 JARVIS kernel: ums-realtek 1-1.1:1.0: USB Mass Storage device detected
    Nov 28 11:41:25 JARVIS kernel: scsi host4: usb-storage 1-1.1:1.0
    Nov 28 11:41:25 JARVIS kernel: usb 1-1.1: USB disconnect, device number 5
    Nov 28 11:41:25 JARVIS kernel: ata2.00: configured for UDMA/100
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    Nov 28 11:41:22 JARVIS systemd[1]: Time has been changed
    Nov 28 11:41:22 JARVIS systemd-logind[291]: Lid opened.
    Nov 28 11:41:22 JARVIS systemd[400]: Time has been changed
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    Nov 28 11:41:22 JARVIS systemd-sleep[17042]: System resumed.
    Nov 28 11:41:24 JARVIS systemd[1]: Started Suspend.
    Nov 28 11:41:24 JARVIS systemd[1]: sleep.target: Unit not needed anymore. Stopping.
    Nov 28 11:41:24 JARVIS systemd[1]: Stopped target Sleep.
    Nov 28 11:41:24 JARVIS systemd[1]: Reached target Suspend.
    Nov 28 11:41:24 JARVIS systemd-logind[291]: Operation 'sleep' finished.
    Nov 28 11:41:24 JARVIS systemd[1]: suspend.target: Unit is bound to inactive unit systemd-suspend.service. Stopping, too.
    Nov 28 11:41:24 JARVIS systemd[1]: Stopped target Suspend.
    Nov 28 11:41:24 JARVIS NetworkManager[299]: <info>  [1480358484.9306] manager: wake requested (sleeping: yes  enabled: yes)
    Nov 28 11:41:24 JARVIS NetworkManager[299]: <info>  [1480358484.9307] manager: waking up...
    Nov 28 11:41:24 JARVIS NetworkManager[299]: <info>  [1480358484.9308] device (enp1s0): state change: unmanaged -> unavailable (reason '
    Nov 28 11:41:24 JARVIS NetworkManager[299]: <info>  [1480358484.9506] device (wlp2s0): state change: unmanaged -> unavailable (reason '
    Nov 28 11:41:25 JARVIS NetworkManager[299]: <info>  [1480358485.3088] device (wlp2s0): set-hw-addr: set MAC address to 32:CE:1A:47:4A:3
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    Nov 28 11:41:25 JARVIS NetworkManager[299]: <info>  [1480358485.6649] manager: NetworkManager state is now DISCONNECTED
    Nov 28 11:41:25 JARVIS dbus-daemon[422]: Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.servi
    Nov 28 11:41:25 JARVIS NetworkManager[299]: <info>  [1480358485.7713] sup-iface[0x13e39f0,wlp2s0]: supports 4 scan SSIDs
    Nov 28 11:41:25 JARVIS NetworkManager[299]: <info>  [1480358485.7745] device (wlp2s0): supplicant interface state: starting -> ready
    Nov 28 11:41:25 JARVIS NetworkManager[299]: <info>  [1480358485.7747] device (wlp2s0): state change: unavailable -> disconnected (reaso
    Nov 28 11:41:25 JARVIS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    Nov 28 11:41:26 JARVIS systemd[400]: Starting XFCE notifications service...
    Nov 28 11:41:26 JARVIS dbus-daemon[422]: Successfully activated service 'org.freedesktop.Notifications'
    Nov 28 11:41:26 JARVIS systemd[400]: Started XFCE notifications service.
    
    

    I’m not sure where the problem lies.

  • Not locking the screen, closing the lid and opening it a few hours later gives this message.

    gdbus.error:org.freedesktop.login1.operationinprogress:there's already a shutdown or sleep operation in progress.
    
    
  • Nothing?

  • @Knightr1der
    try:

    xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
    

    from:
    [SOLVED]Error notification on wakeup (XFCE)

  • Unfortunately, that did not work.

laptop25 lxdm xfce1 Posts 5Views 663
Log in to reply