Re: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI? (on FreeBSD14 CURRENT)
Date: Fri, 11 Nov 2022 03:21:24 UTC
On 10.11.2022 15:29, louis.freebsd@xs4all.nl wrote: > 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 !!??? I've never used it, so just an idea, but there is sysctl kern.suspend_blocked that being set to 1 seems should block suspend requests. You may try to set it and see what happen. > It is possible perhaps β¦ that GNOME is initiating this, despite that the > GUI powersetting is screenblank βNEVERβ. It is not a screen blank. Gnome site tells: https://help.gnome.org/users/gnome-help/stable/power-autosuspend.html.en > Whatever is causing the problem, the settings should be such that ^no > whatever program^ should not be capable to initiate the sleepmode. Does the system suspends if you do not start Gnome? For example if you boot into single-user mode and leave the system there? It would be the easiest test probably. -- Alexander Motin