How do I disable all manner of sleep/suspend/hibernate on Debian 12?[snip very detailed of his environment/symptoms]
On 11/22/24 12:57 AM, Michael Paoli wrote:
How do I disable all manner of sleep/suspend/hibernate on Debian 12?Michael mentioned https://wiki.debian.org/Suspend and I found https://wiki.debian.org/Hibernation .
I, and other inexperienced users, need proper definitions of sleep/suspend/hibernate/etc to use those pages and solutions to be
described here.
Michael mentioned https://wiki.debian.org/Suspend and I found https://wiki.debian.org/Hibernation .
I, and other inexperienced users, need proper definitions of sleep/suspend/hibernate/etc to use those pages and solutions to be
described here.
On 22/11/2024 13:57, Michael Paoli wrote:It's way beyond graphic issues, can't ping, ssh, etc. - normally can
all network activity ceases (very bad as this system also operates asDoes not like suspend to RAM or suspend to disk (hibernate). It
server!)
seems to be a very deep form of sleep, the only things I can do at that
point that at all gets it to respond:
<Control><Alt><Delete> - which does a warm reboot
resembles graphics issues. Can you connect to this machine using ssh?
Try after reboot or power cycle as rootBeen through many reboots / power cycles - has not helped at all.
journalctl -b -1 -ejournalctl is right out presently
man page indicates IdleAction defaults to ignore:Also changed from systemd to sysvinit (installed: sysvinit-core,it may provide more details than /var/log/syslog files.
removed: systemd-sysv systemd):
Problem still persists
And notice "IdleAction=" in logind.conf(5) for a case that it is really suspend.
And that very last bit above what I had on Debian 10/etc/systemd/{login,sleep}.conf* all files thereunder, lines other
than blank/empty and comment lines:
# ( t="$(/bin/echo -en '\011')" && cd /etc/systemd &&
find {logind,sleep}.conf* -follow -type f ! -size 0 \
-exec grep -a -e "^[$t ]*[^$t #]" \{\} /dev/null \;)
logind.conf:[Login]
logind.conf:HandleLidSwitch=ignore
logind.conf:HandleLidSwitchExternalPower=ignore
logind.conf:HandleLidSwitchDocked=ignore
logind.conf.d/logind.conf:[Login]
logind.conf.d/logind.conf:HandleLidSwitch=ignore
logind.conf.d/logind.conf:HandleLidSwitchExternalPower=ignore
logind.conf.dpkg-dist:[Login]
sleep.conf:[Sleep]
sleep.conf.d/nosuspend.conf:[Sleep]
sleep.conf.d/nosuspend.conf:AllowSuspend=no
sleep.conf.d/nosuspend.conf:AllowHibernation=no
sleep.conf.d/nosuspend.conf:AllowSuspendThenHibernate=no
sleep.conf.d/nosuspend.conf:AllowHybridSleep=no
Earlier configuration from last of Debian 10 on 2024-05-13 before
upgrading to Debian 11 and then Debian 12 (completed on
2024-05-14):
# (
t="$(/bin/echo -en '\011')" &&
xz=~root/tmp/10.13_to_11.9/etc,var_lib_dpkg,var_lib_apt_ &&
xz="$xz"'extended_states.tar.xz' &&
files=$(xz -d < $xz | tar -tf - etc/systemd |
grep -a -F -e logind -e sleep | grep -v '\.dpkg-dist$') &&
set -- $files && for f; do
echo "$f:"
xz -d < $xz | tar -O -xf - $f | grep -a -e "^[$t ]*[^$t #]"
done
)
etc/systemd/sleep.conf:
[Sleep]
etc/systemd/logind.conf:
[Login]
HandleLidSwitch=ignore
Definitions can be found at https://docs.kernel.org/admin-guide/pm/sleep-states.html
Other pages that might be useful include https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate https://www.computernetworkingnotes.com/linux-tutorials/shutdown-reboot-suspend-and-hibernate-a-linux-system.html
remove power (and it goes down cold - laptop battery no longer holds
charge and has been that way for many years now - cannot withstand so
much as even a full second of power interruption).
what it shows in the logs - about all I've been able to find is this:
but without any more details as to what's triggering it or how:
ACPI: PM: Preparing to enter system sleep state S3
That's found in the /var/log/{kern.log,syslog}* files
*haven't tried all manner of Magic SysRq keys, as I'm not aware any
which would unblank the screen and/or resume from any manner of
sleep/suspend/hibernate
On 11/22/24 12:57 AM, Michael Paoli wrote:
I recently jumped from Debian 9(w/MATE) - 12(w/MATE) in one step.
My Debian 9 settings can be traced back to Debian 6(w/Gnome).
I don't recall what settings I ended up with.
But I know what I have now is annoying.
Michael mentioned https://wiki.debian.org/Suspend and I found https://wiki.debian.org/Hibernation .
I, and other inexperienced users, need proper definitions of sleep/suspend/hibernate/etc to use those pages and solutions to be described here.
On Fri, Nov 22, 2024 at 04:26:05AM -0600, Richard Owlett wrote:
On 11/22/24 12:57 AM, Michael Paoli wrote:
I recently jumped from Debian 9(w/MATE) - 12(w/MATE) in one step.
My Debian 9 settings can be traced back to Debian 6(w/Gnome).
I don't recall what settings I ended up with.
But I know what I have now is annoying.
Don't do that: there is no straightforward way to do this and the only
way that is vaguely supported is to update from 9 -> 10 -> 11 -> 12.
It is very likely that no-one can suport you unless they've done what
you have.
Michael mentioned https://wiki.debian.org/Suspend and I found
https://wiki.debian.org/Hibernation .
I, and other inexperienced users, need proper definitions of
sleep/suspend/hibernate/etc to use those pages and solutions to be described >> here.
On 11/22/24 5:33 PM, Andrew M.A. Cater wrote:
You misinterpreted my post.
I meant to convey that I have been using Debian since release 6.
I liked my experience with Debian 9.
I now have a machine with a clean initial install of Debian 12.
I'm not happy with it's configuration.
To find answers and pose intelligent questions I need to know definitions of sleep/suspend/hibernate/etc as used in the Debian sub-culture.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 152:59:51 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,828 |