You are not logged in.

#1 2018-06-22 16:12:39

nicholat
Member
Registered: 2015-08-05
Posts: 35

[SOLVED] What is suspending my computer when I leave it alone?

I just installed Arch for the second time, got mostly everything working smoothly, but despite having turned off automatic suspension in the settings (Cinnamon), something suspends it when I leave it alone for 10-15 minutes.

Any help with how to find out what's causing it and how to stop it is greatly appreciated.

Last edited by nicholat (2018-06-22 17:42:42)

Offline

#2 2018-06-22 16:31:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,583

Re: [SOLVED] What is suspending my computer when I leave it alone?

What have you installed?  Nothing out-of-the box will cause that.
Any interesting information in the journal?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2018-06-22 17:18:49

nicholat
Member
Registered: 2015-08-05
Posts: 35

Re: [SOLVED] What is suspending my computer when I leave it alone?

I've installed a variety of packages already, my main suspect is still Cinnamon, but perhaps it could be LightDM as well?

This is from where I believe such a suspension happened:

Jun 22 15:47:27 deep-thought NetworkManager[337]: <info>  [1529675247.9832] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jun 22 15:47:27 deep-thought NetworkManager[337]: <info>  [1529675247.9835] manager: NetworkManager state is now ASLEEP
Jun 22 15:47:27 deep-thought NetworkManager[337]: <info>  [1529675247.9837] device (wlp2s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Jun 22 15:47:28 deep-thought dbus-daemon[336]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by '>
Jun 22 15:47:28 deep-thought kernel: wlp2s0: deauthenticating from 5c:6a:80:23:04:ff by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0037] device (wlp2s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0041] dhcp4 (wlp2s0): canceled DHCP transaction
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0042] dhcp4 (wlp2s0): state changed bound -> done
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0044] dhcp6 (wlp2s0): canceled DHCP transaction
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0044] dhcp6 (wlp2s0): state changed bound -> done
Jun 22 15:47:28 deep-thought systemd[1]: Starting Network Manager Script Dispatcher Service...
-- Subject: Unit NetworkManager-dispatcher.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager-dispatcher.service has begun starting up.
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=5c:6a:80:23:04:ff reason=3 locally_generated=1
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0181] device (wlp2s0): set-hw-addr: set MAC address to 06:54:7D:8D:0F:76 (scanning)
Jun 22 15:47:28 deep-thought kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Jun 22 15:47:28 deep-thought dbus-daemon[336]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 22 15:47:28 deep-thought nm-dispatcher[32369]: req:1 'connectivity-change': new request (0 scripts)
Jun 22 15:47:28 deep-thought systemd[1]: Started Network Manager Script Dispatcher Service.
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager-dispatcher.service has finished starting up.
-- 
-- The start-up result is RESULT.
Jun 22 15:47:28 deep-thought nm-dispatcher[32369]: req:1 'connectivity-change': completed: no scripts
Jun 22 15:47:28 deep-thought nm-dispatcher[32369]: req:2 'down' [wlp2s0]: new request (0 scripts)
Jun 22 15:47:28 deep-thought nm-dispatcher[32369]: req:2 'down' [wlp2s0]: completed: no scripts
Jun 22 15:47:28 deep-thought NetworkManager[337]: <warn>  [1529675248.0497] sup-iface[0x55d623f66220,wlp2s0]: connection disconnected (reason -3)
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0508] device (wlp2s0): supplicant interface state: completed -> disconnected
Jun 22 15:47:28 deep-thought NetworkManager[337]: <warn>  [1529675248.0511] sup-iface[0x55d623f66220,wlp2s0]: connection disconnected (reason -3)
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0541] device (wlp2s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jun 22 15:47:28 deep-thought NetworkManager[337]: <info>  [1529675248.0607] device (wlp2s0): set-hw-addr: reset MAC address to F8:16:54:20:52:F6 (unmanage)
Jun 22 15:47:28 deep-thought systemd[1]: Reached target Sleep.
-- Subject: Unit sleep.target has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit sleep.target has finished starting up.
-- 
-- The start-up result is RESULT.
Jun 22 15:47:28 deep-thought systemd[1]: Starting Suspend...
-- Subject: Unit systemd-suspend.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-suspend.service has begun starting up.
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp2s0/drop_unicast_in_l2_multicast: No such file or directory
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: nl80211: Failed to set IPv4 unicast in multicast filter
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp2s0/drop_unicast_in_l2_multicast: No such file or directory
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: nl80211: Failed to set IPv4 unicast in multicast filter
Jun 22 15:47:28 deep-thought wpa_supplicant[385]: nl80211: deinit ifname=p2p-dev-wlp2s0 disabled_11b_rates=0
Jun 22 15:47:28 deep-thought systemd-sleep[32376]: Suspending system...
-- Subject: System sleep state suspend entered
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The system has now entered the suspend sleep state.
Jun 22 15:47:28 deep-thought kernel: PM: suspend entry (deep)
Jun 22 18:00:20 deep-thought kernel: PM: Syncing filesystems ... done.
Jun 22 18:00:20 deep-thought kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
Jun 22 18:00:20 deep-thought kernel: OOM killer disabled.
Jun 22 18:00:20 deep-thought kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Jun 22 18:00:20 deep-thought kernel: Suspending console(s) (use no_console_suspend to debug)
Jun 22 18:00:20 deep-thought kernel: sd 4:0:0:0: [sda] Synchronizing SCSI cache
Jun 22 18:00:20 deep-thought kernel: sd 5:0:0:0: [sdb] Synchronizing SCSI cache
Jun 22 18:00:20 deep-thought kernel: sd 5:0:0:0: [sdb] Stopping disk
Jun 22 18:00:20 deep-thought kernel: sd 4:0:0:0: [sda] Stopping disk
Jun 22 18:00:20 deep-thought kernel: ACPI: EC: interrupt blocked
Jun 22 18:00:20 deep-thought kernel: ACPI: Preparing to enter system sleep state S3
Jun 22 18:00:20 deep-thought kernel: ACPI: EC: event blocked
Jun 22 18:00:20 deep-thought kernel: ACPI: EC: EC stopped
Jun 22 18:00:20 deep-thought kernel: PM: Saving platform NVS memory
Jun 22 18:00:20 deep-thought kernel: Disabling non-boot CPUs ...
Jun 22 18:00:20 deep-thought kernel: smpboot: CPU 1 is now offline
Jun 22 18:00:20 deep-thought kernel: smpboot: CPU 2 is now offline
Jun 22 18:00:20 deep-thought kernel: smpboot: CPU 3 is now offline
Jun 22 18:00:20 deep-thought kernel: ACPI: Low-level resume complete
Jun 22 18:00:20 deep-thought kernel: ACPI: EC: EC started
Jun 22 18:00:20 deep-thought kernel: PM: Restoring platform NVS memory
Jun 22 18:00:20 deep-thought kernel: Enabling non-boot CPUs ...
Jun 22 18:00:20 deep-thought kernel: x86: Booting SMP configuration:
Jun 22 18:00:20 deep-thought kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Jun 22 18:00:20 deep-thought kernel:  cache: parent cpu1 should not be sleeping
Jun 22 18:00:20 deep-thought kernel: CPU1 is up

That first message at 15:47:27 was the first one in roughly 40 minutes, so as you can see all those messages pertaining to the suspension (from what I can tell) were entered over the course of two seconds. 18:00:20 was when I came home and woke it up again.

Offline

#4 2018-06-22 17:33:44

RickDeckard
Member
From: Acworth, Georgia, USA
Registered: 2016-02-19
Posts: 59

Re: [SOLVED] What is suspending my computer when I leave it alone?

Do you have power management settings that set your computer to suspend after a specific amount of time?

Offline

#5 2018-06-22 17:42:10

nicholat
Member
Registered: 2015-08-05
Posts: 35

Re: [SOLVED] What is suspending my computer when I leave it alone?

Yes, and sometimes a question like that is all that's needed; I just realized I had switched up my A/C and battery settings. Thanks for the help.

Offline

Board footer

Powered by FluxBB