Skip to main content
Topic: suspend doesn't work after updating to elogind 255.5-1 (Read 238 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

suspend doesn't work after updating to elogind 255.5-1

I use kde + openrc, with luks encrypt
NAME                                          MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINTS
nvme0n1                                       259:0    0  1.8T  0 disk 
├─nvme0n1p1                                   259:1    0  300M  0 part  /boot/efi
└─nvme0n1p2                                   259:2    0  1.8T  0 part 
  └─luks-2354***                                254:0    0  1.8T  0 crypt /
and after updating to elogind 255.5-1, I found suspend doesn't work:when I wake up from suspend,my laptop just restart
finally I find the reason:
ls /etc/elogind/sleep.conf.d -lh                                                     ✔
total 8.0K
-rw-r--r-- 1 root root 741 May  2 06:50 10-elogind.conf
-rw-r--r-- 1 root root  34 May  3 23:26 50-artix.conf

pacman -Qi elogind                                                                    ✔
Name            : elogind
Version         : 255.5-1
Description     : The systemd project's logind, extracted to a standalone package
Architecture    : x86_64
URL             : https://github.com/elogind/elogind
Licenses        : GPL-2.0-only  LGPL-2.1-only
Groups          : None
Provides        : logind
Depends On      : gcc-libs  glibc  libcap  acl  libacl.so=1-64  audit  libaudit.so=1-64  dbus
                  kexec-tools  libcap.so=2-64  libelogind  pam  udev  util-linux  libmount.so=1-64
Optional Deps   : polkit: allow administration as unprivileged user [installed]
Required By     : elogind-openrc  fcitx5  libpulse  polkit  rtkit
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 3.06 MiB
Packager        : Artoo <[email protected]>
Build Date      : Thu 02 May 2024 06:50:56 AM CST
Install Date    : Fri 03 May 2024 01:55:27 AM CST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature


cat /etc/elogind/sleep.conf.d/50-artix.conf                                          ✔
[Sleep]
SuspendMode=deep s2idle

the sulotion is just comment above two lines


further more, I use iwd instead of NetworkManager, and 50-artix.conf  seems to fix Networkmanager,see bellow
https://github.com/elogind/elogind/issues/280#issuecomment-2056460129
so if your NM doesn't work I can't help