Bug#1070032: elogind: add NEWS for 255.4.1, suspend now default to s2idle instead of s2ram
Lorenzo Puliti
plorenzo at disroot.org
Mon Apr 29 00:11:11 BST 2024
Package: elogind
Version: 255.4.1-1debian2
Severity: normal
X-Debbugs-Cc: plorenzo at disroot.org
Hi,
Elogind 255 changed the implicit default for suspend;
it was 'deep' until 252, now it's 's2idle'.
This is documented nowhere, except if one reads Yamakuzure
reply in https://github.com/elogind/elogind/issues/280
and it took me a while [1] to understand that the state where
the screen goes black but power led is still on and fans
keep spinning is not a bug in elogind.
I think this change is worth a NEWS entry, with an example
that explains how to revert to the previous default.
I suggest something like
This version of elogind changes the default Mode for suspend,
before elogind 255 it was suspend2ram, now it's suspend2idle.
To revert to the previous default you can add a line with
SuspendMode=deep
in elogind's sleep.conf; for example
cat /etc/elogind/sleep.conf.d/20-suspend.conf
[Sleep]
SuspendMode=deep
Best,
Lorenzo
[1] https://docs.kernel.org/admin-guide/pm/sleep-states.html
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled
Versions of packages elogind depends on:
ii dbus 1.14.10-4+b1
ii debconf 1.5.86
ii init-system-helpers 1.66
ii libacl1 2.3.2-1
ii libc6 2.37-18
ii libcap2 1:2.66-5
ii libmount1 2.40-6
ii libpam0g 1.5.3-7
ii libselinux1 3.5-2+b2
ii libsystemd0 255.5-1
ii libudev1 255.5-1
Versions of packages elogind recommends:
ii libpam-elogind 255.4.1-1debian2
ii polkitd 124-2
elogind suggests no packages.
-- no debconf information
More information about the Debian-init-diversity
mailing list