When I suspend my laptop via the power menu, or via Albert which uses the command systemctl suspend -i
, it wakes itself up after 10 minutes. I looked through the journal and found this line logged right before the ‘suspending system’ log:
Sep 29 13:12:38 bcarr-laptop systemd-sleep[96554]: rtcwake: wakeup using /dev/rtc0 at Tue Sep 29 13:22:40 2020
I don’t recall ever interacting with rtcwake so I’m not sure how this is being set. Anyone know where I can look? System info below.
Contents of /etc/systemd/sleep.conf
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
AllowSuspendThenHibernate=no
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
HibernateDelaySec=60min
Contents of /etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
fpaste output
=== fpaste 0.4.1.0 System Information ===
* OS Release (lsb_release -ds):
"Fedora release 32 (Thirty Two)"
* Kernel (uname -r ; cat /proc/cmdline):
5.8.9-200.fc32.x86_64
BOOT_IMAGE=(hd0,gpt6)/vmlinuz-5.8.9-200.fc32.x86_64 root=/dev/mapper/fedora-root ro rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.luks.uuid=luks-05061a39-b0d0-471e-bf39-b9df5aae833c rd.lvm.lv=fedora/swap rhgb quiet noveau.modeset=0
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon)' ):
gnome-session-b
gnome-session-c
gnome-session-b
gnome-session-b
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
gnome-classic, gnome, gnome-xorg
* SELinux Status (sestatus):
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33
* SELinux Errors (selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn):
4 comm="gdm-session-wor"
* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
sed -re 's/^ +//' ):
8 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
Yes
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
Yes
* Load average (uptime):
13:33:55 up 1 day, 18:12, 1 user, load average: 1.00, 1.06, 0.83
* Memory usage (free -m):
total used free shared buff/cache available
Mem: 7829 4404 348 1072 3076 2078
Swap: 14703 301 14402
* Top 5 CPU hogs (ps axuScnh | awk '$2!=99472' | sort -rnk3 | head -5):
1000 97846 16.5 2.7 9205256 217212 ? Sl 13:24 1:30 brave
1000 99453 10.0 1.0 4812064 82000 ? Sl 13:33 0:00 brave
1000 45616 5.4 1.7 2117716 140496 ? Sl Sep28 56:16 moonlight
1000 89919 3.7 2.9 961944 232656 ? Sl 12:21 2:40 steamwebhelper
1000 2988 3.2 0.1 2091492 12788 ? S<sl Sep27 81:37 pulseaudio
* Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
1000 3459 0.0 6.2 2161900 498096 ? Sl Sep27 1:37 gnome-software
0 3336 0.0 5.6 1203176 455244 ? Ssl Sep27 0:45 packagekitd
1000 5199 1.2 4.2 1178264 339328 ? SLl Sep27 31:55 brave
1000 3204 0.3 3.3 5089676 270952 ? Ssl Sep27 8:31 gnome-shell
42 33504 0.0 3.2 4553476 259376 tty1 Sl+ Sep27 1:19 gnome-shell
* Disk space usage (df -hT):
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 3.9G 454M 3.4G 12% /dev/shm
tmpfs tmpfs 3.9G 2.2M 3.9G 1% /run
/dev/mapper/fedora-root ext4 30G 19G 9.0G 68% /
tmpfs tmpfs 3.9G 120K 3.9G 1% /tmp
/dev/sda6 ext4 976M 243M 666M 27% /boot
/dev/mapper/fedora-home ext4 38G 29G 7.2G 80% /home
/dev/sda1 vfat 96M 69M 28M 71% /boot/efi
tmpfs tmpfs 783M 184K 783M 1% /run/user/1000
tmpfs tmpfs 783M 28K 783M 1% /run/user/42
* Block devices (blkid):
/dev/mapper/fedora-root: UUID="afbb87fd-b465-4916-90b0-436222a89e22" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/luks-05061a39-b0d0-471e-bf39-b9df5aae833c: UUID="3gChad-wLIY-gK7Y-jmdh-oPMf-IAkt-KU1Dy4" TYPE="LVM2_member"
/dev/sda7: UUID="05061a39-b0d0-471e-bf39-b9df5aae833c" TYPE="crypto_LUKS" PARTUUID="eed3c76c-14bf-46f7-8906-77bdd72c4256"
/dev/sda6: UUID="2ed4b73d-c5a9-4849-be21-f60e31536454" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="db86189a-1a20-4473-b397-b4384a1c6a65"
/dev/sda1: LABEL="ESP" UUID="F6B8-0BB8" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="300ca09e-d05e-49ff-b481-c5b678e8c28d"
/dev/mapper/fedora-swap: UUID="2c19edfb-7395-4cae-9f64-25b5988794fe" TYPE="swap"
/dev/sda3: LABEL="Acer" BLOCK_SIZE="512" UUID="96BCBC66BCBC4293" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4d6c4da3-4ae8-4393-bac6-53b430213571"
/dev/sda4: BLOCK_SIZE="512" UUID="C4A46D28A46D1E64" TYPE="ntfs" PARTUUID="c203dda1-2698-4928-864a-4c2a4ce64bb7"
/dev/sda5: LABEL="Recovery" BLOCK_SIZE="512" UUID="D646BD2B46BD0CED" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="106caacd-ab5b-4ede-82cb-fe4be3699f68"
/dev/mapper/fedora-home: UUID="213d2f93-64c0-4c2b-b9f6-b3487bcccbfc" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="6db4fc4a-6dc3-4893-82c5-86d35ad4b050"
* PCI devices (lspci -nn):
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1)
00:1d.2 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 [8086:9d1a] (rev f1)
00:1d.3 PCI bridge [0604]: Intel Corporation Device [8086:9d1b] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point LPC Controller/eSPI Controller [8086:9d4e] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 3D controller [0302]: NVIDIA Corporation GP108M [GeForce MX150] [10de:1d10] (rev a1)
03:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] [8086:24fb] (rev 10)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader [10ec:5287] (rev 01)
04:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
* USB devices (lsusb):
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b573 Chicony Electronics Co., Ltd HD WebCam
Bus 001 Device 002: ID 8087:0aa7 Intel Corp. Wireless-AC 3168 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
* DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
Command line: BOOT_IMAGE=(hd0,gpt6)/vmlinuz-5.8.9-200.fc32.x86_64 root=/dev/mapper/fedora-root ro rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.luks.uuid=luks-05061a39-b0d0-471e-bf39-b9df5aae833c rd.lvm.lv=fedora/swap rhgb quiet noveau.modeset=0
Kernel command line: BOOT_IMAGE=(hd0,gpt6)/vmlinuz-5.8.9-200.fc32.x86_64 root=/dev/mapper/fedora-root ro rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.luks.uuid=luks-05061a39-b0d0-471e-bf39-b9df5aae833c rd.lvm.lv=fedora/swap rhgb quiet noveau.modeset=0
fb0: switching to inteldrmfb from EFI VGA
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[drm] Initialized i915 1.6.0 20200515 for 0000:00:02.0 on minor 0
fbcon: i915drmfb (fb0) is primary device
i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun
* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.8
* Xorg errors (without results: "grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- "):
N/A
* Kernel buffer tail (dmesg | tail):
[148850.515881] Generic FE-GE Realtek PHY r8169-401:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-401:00, irq=IGNORE)
[148850.626033] r8169 0000:04:00.1 enp4s0f1: Link is Down
[148850.715624] Bluetooth: hci0: Intel BT fw patch 0x34 completed & activated
[148854.950218] wlp3s0: authenticate with 68:ff:7b:23:68:ae
[148854.953255] wlp3s0: send auth to 68:ff:7b:23:68:ae (try 1/3)
[148854.954421] wlp3s0: authenticated
[148854.954850] wlp3s0: associate with 68:ff:7b:23:68:ae (try 1/3)
[148854.955706] wlp3s0: RX AssocResp from 68:ff:7b:23:68:ae (capab=0x11 status=0 aid=3)
[148854.957142] wlp3s0: associated
[148854.965882] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
* Last few reboots (last -x -n10 reboot runlevel):
runlevel (to lvl 5) 5.8.9-200.fc32.x Sun Sep 27 19:23 still running
reboot system boot 5.8.9-200.fc32.x Mon Sep 28 05:22 still running
runlevel (to lvl 5) 5.8.9-200.fc32.x Sun Sep 27 19:20 - 19:21 (00:00)
reboot system boot 5.8.9-200.fc32.x Mon Sep 28 05:19 - 19:21 (-9:58)
runlevel (to lvl 5) 5.8.9-200.fc32.x Sat Sep 26 20:52 - 19:20 (22:28)
reboot system boot 5.8.9-200.fc32.x Sun Sep 27 06:51 - 19:21 (12:29)
runlevel (to lvl 5) 5.8.9-200.fc32.x Sat Sep 26 12:37 - 17:33 (04:55)
reboot system boot 5.8.9-200.fc32.x Sat Sep 26 22:37 - 17:33 (-5:04)
runlevel (to lvl 5) 5.8.9-200.fc32.x Mon Sep 21 18:20 - 12:37 (4+18:17)
reboot system boot 5.8.9-200.fc32.x Tue Sep 22 04:20 - 17:33 (4+13:13)
wtmp begins Mon Jan 28 20:32:56 2019
* DNF Repositories (dnf repolist):
repo id repo name
1password 1Password
anydesk AnyDesk Fedora - stable
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
code Visual Studio Code
fedora Fedora 32 - x86_64
fedora-cisco-openh264 Fedora 32 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 32 - x86_64
google-chrome google-chrome
nordvpn NordVPN YUM repository - x86_64
nordvpn-noarch NordVPN YUM repository - noarch
rpmfusion-free RPM Fusion for Fedora 32 - Free
rpmfusion-free-updates RPM Fusion for Fedora 32 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 32 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 32 - Nonfree - Updates
slack slack
teamviewer TeamViewer - x86_64
updates Fedora 32 - x86_64 - Updates
updates-modular Fedora Modular 32 - x86_64 - Updates
* DNF Extras (dnf -C list extras):
Last metadata expiration check: 2:04:39 ago on Tue 29 Sep 2020 11:29:18.
Extra Packages
albert.x86_64 0.16.1-233.1 @home_manuelschneid3r
java-openjdk-headless.x86_64 1:12.0.0.33-4.rolling.fc29 @updates
kmod-nvidia-5.8.11-200.fc32.x86_64.x86_64 3:450.66-1.fc32 @@commandline
kmod-nvidia-5.8.9-200.fc32.x86_64.x86_64 3:450.66-1.fc32 @@commandline
pam_krb5.x86_64 2.4.13-14.fc31 @fedora
parsec.x86_64 150-23 @@commandline
* Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
gpg-pubkey-c2d4e821-5e7252b8 Tue 29 Sep 2020 03:34:01
gnome-screensaver-3.6.1-27.fc32.x86_64 Sun 27 Sep 2020 22:48:02
kmod-nvidia-5.8.11-200.fc32.x86_64-450.66-1.fc32.x86_64 Sun 27 Sep 2020 20:35:04
wine-5.17-1.fc32.x86_64 Sun 27 Sep 2020 20:33:26
steam-1.0.0.66-2.fc32.i686 Sun 27 Sep 2020 20:33:26
pcre2-10.35-6.fc32.i686 Sun 27 Sep 2020 20:33:26
mesa-libEGL-20.1.8-1.fc32.i686 Sun 27 Sep 2020 20:33:26
libxcrypt-compat-4.4.17-1.fc32.i686 Sun 27 Sep 2020 20:33:26
wine-twain-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-pulseaudio-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-opencl-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-openal-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-ldap-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-core-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-cms-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-capi-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
wine-alsa-5.17-1.fc32.i686 Sun 27 Sep 2020 20:33:25
openldap-2.4.47-5.fc32.i686 Sun 27 Sep 2020 20:33:25
mesa-vulkan-drivers-20.1.8-1.fc32.i686 Sun 27 Sep 2020 20:33:25
mesa-libGL-20.1.8-1.fc32.i686 Sun 27 Sep 2020 20:33:25
* EFI boot manager output (efibootmgr -v):
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002,2001,2002,2003
Boot0001* Unknown Device: HD(1,GPT,300ca09e-d05e-49ff-b481-c5b678e8c28d,0x800,0x32000)/File(\EFI\fedora\shim.efi)RC
Boot0002* Windows Boot Manager HD(1,GPT,300ca09e-d05e-49ff-b481-c5b678e8c28d,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
I also have this override.conf in /etc/systemd/system/systemd-suspend.service.d, which I edited when trying to make suspend-then-hibernate the default sleep method. I think it’s back to the default value now?:
[Service]
ExecStart=
ExecStart=/usr/lib/systemd/systemd-sleep suspend