Re: Sleep: out of control

2023-09-01 Thread Max Nikulin
On 01/09/2023 18:08, Tom Browder wrote: When switching the KVM between the Win and Deb hosts, I could see the mouse was not getting power (no sensor light) nor was the keyboard or monitor screen. So that is probably why I could not wake up the Debian PC by stirring the mouse or hitting a key.

Re: Sleep: out of control

2023-09-01 Thread Tom Browder
On Fri, Sep 1, 2023 at 06:08 Tom Browder wrote: My conclusion: I need to find out which sleep modes turn off power to the > external input devices. > I forgot to mention that my problem child is all SSD, no moving parts (from SilentPC). -Tom

Re: Sleep: out of control

2023-09-01 Thread Tom Browder
On Fri, Sep 1, 2023 at 01:15 The Wanderer wrote: > On 2023-08-31 at 13:03, zithro wrote: ... Tom, does your version of that file not include a comment with that same > information? Yes, and they are uncommented and set to 'no'. So far all seems to be working. Now I need to study and

Re: Sleep: out of control

2023-08-31 Thread The Wanderer
On 2023-08-31 at 13:03, zithro wrote: > On 31 Aug 2023 14:17, Tom Browder wrote: > >> Note: The systemd "/etc/systemd/sleep.conf" file has all entries commented >> out. > > Take care, commenting may NOT be the same as disabling/setting to NO ! > > Each software has its own rules, but _usually_

Re: Sleep: out of control

2023-08-31 Thread Tom Browder
On Thu, Aug 31, 2023 at 16:20 zithro wrote: > On 31 Aug 2023 14:17, Tom Browder wrote: > > Note: The systemd "/etc/systemd/sleep.conf" file has all entries > commented > > out. > > Take care, commenting may NOT be the same as disabling/setting to NO ! > > Each software has its own rules, but

Re: Sleep: out of control

2023-08-31 Thread Tom Browder
On Thu, Aug 31, 2023 at 11:50 AM Michel Verdier wrote: > On 2023-08-31, Tom Browder wrote: > > Is there a way to definitely deactivate all OS-related power changes so the > > power button has only two functions (on/off)? > > To disable all sleep/suspend/hibernation I put in

Re: Sleep: out of control

2023-08-31 Thread zithro
On 31 Aug 2023 14:17, Tom Browder wrote: Note: The systemd "/etc/systemd/sleep.conf" file has all entries commented out. Take care, commenting may NOT be the same as disabling/setting to NO ! Each software has its own rules, but _usually_ when you comment out the lines, the app built-in

Re: Sleep: out of control

2023-08-31 Thread Tom Browder
On Thu, Aug 31, 2023 at 08:12 Marco wrote: > Am 31.08.2023 schrieb Tom Browder : > > > Is there a way to definitely deactivate all OS-related power changes > > so the power button has only two functions (on/off)? > > You can disable sleep/hibernate at all. > > sudo systemctl mask sleep.target

Re: Sleep: out of control

2023-08-31 Thread Michel Verdier
On 2023-08-31, Tom Browder wrote: > Is there a way to definitely deactivate all OS-related power changes so the > power button has only two functions (on/off)? To disable all sleep/suspend/hibernation I put in /etc/systemd/sleep.conf [Sleep] AllowSuspend=no AllowHibernation=no

Re: Sleep: out of control

2023-08-31 Thread Marco
Am 31.08.2023 schrieb Tom Browder : > Is there a way to definitely deactivate all OS-related power changes > so the power button has only two functions (on/off)? You can disable sleep/hibernate at all. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Sleep: out of control

2023-08-31 Thread Tom Browder
My main Debian host is going to sleep and I can't awaken it without holdiing the power button down for some period. We have had some neighborhood power issues recently, and I have been manually powering down while away for a few short trips (no UPS yet, either, but my Windows box next to the