I noticed that after disabling gdm in /etc/rc.conf ^"gdm_enable="N"^ the system 
stays active.
However ..... that is also the end the GUI .... in this case GNOME.

Since I could not work which a machine hibernating every ^10 minutes^, I have 
disabled gdm for the moment. 
That does not take away that that is ...... ridiculous !!

There should be a way to disable ACPI in FreeBSD so that even gdm can not 
"kill" the machine !!
I say ^kill^ because there is also another bug, the machine is not properly 
restarting form hibernation, 
Even not from S1.

Louis  
-----Original Message-----
From: Kirk McKusick <mckus...@freebsd.org> 
Sent: Sunday, November 13, 2022 1:23 AM
To: louis.free...@xs4all.nl
Cc: freebsd-current@FreeBSD.org
Subject: Re: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI? (on 
FreeBSD14 CURRENT)

> From: <louis.free...@xs4all.nl>
> To: <freebsd-current@FreeBSD.org>
> Subject: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI? 
> (on FreeBSD14 CURRENT)
> Date: Thu, 10 Nov 2022 21:29:21 +0100
> 
> I am still desperately trying to stop FreeBSD from sleeping, but I 
> simply do not manage.
> 
> It is really very annoying that I have to restart the machine every
> 10 minutes, when I am working via SSH.
> 
> So if any one has a solution, it would be very much appreciated!
> 
> It should ….. be possible to kill / stop ACPI some how 😊
> 
> If absolutely not possible in the actual build 😊, a cron job 
> restarting the timer every 5 minutes perhaps !!???
> 
> It is possible perhaps … that GNOME is initiating this, despite that 
> the GUI powersetting is screenblank β€œNEVER”.   
> 
> Whatever is causing the problem, the settings should be such that ^no 
> whatever program^ should not be capable to initiate the sleepmode.
> 
> Louis

If you are using Gnome, Gnome suspends the machine after 20 minutes if there is 
no mouse or keyboard activity. I went into settings, but there is no way to 
adjust this feature. Some web searching brought me to this page:

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/22

Apparently the 20-minute suspend was made unchangable (at least not without 
changing the source code for Gnome and rebuilding it).
Apparently this change was made to comply with EU power regulations.
Anyway, this ruled out Gnome for me.

        Kirk McKusick


Reply via email to