From nobody Sun Nov 13 15:47:40 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9Gzj1qjLz4hQZx for ; Sun, 13 Nov 2022 15:47:45 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.167]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9Gzg2jnbz3j3m for ; Sun, 13 Nov 2022 15:47:43 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xs4all.nl header.s=xs4all01 header.b=iJg2iLeU; spf=pass (mx1.freebsd.org: domain of l.m.v.breda@xs4all.nl designates 195.121.94.167 as permitted sender) smtp.mailfrom=l.m.v.breda@xs4all.nl; dmarc=pass (policy=none) header.from=xs4all.nl X-KPN-MessageId: 80c8e839-636a-11ed-a5a6-005056abbe64 Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 80c8e839-636a-11ed-a5a6-005056abbe64; Sun, 13 Nov 2022 16:47:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:mime-version:message-id:date:subject:to:from; bh=fG6laj46KmErkAnbTXOBbl2A3mr4wRRrjk5dHCBSfwU=; b=iJg2iLeUCkBDRcBqI73/DOzmPvDVn6O2HB0tcyru8mpuffNQsbyQ6smN7NSI3gWNiECaSRMX5qDfS F+lz3rPvEOiJV3eb67y6ArytKh/ykDfaV0DqE/rLaY14RyUa0xiHxDRbA2R4Fr62UzeNEZ7gkC9sKz neMaaYsUe20HsXfRQDM9FAjevY/TPCE/d3agxFw3HvuioDkq+sLA/nb/MDwTarIne9aMnNnGGrsGDx T/yn7rvCgNPQPGlqhfETxBpEQ0nznI/hbqgKVgYa7klN6J61xgN9JLlGebj/GgDGUUGoTyqCY9faMK zYf0Ctn+6qan1u9fktU4wLnTnVjdzLg== X-KPN-MID: 33|+ouguoWR0k4w3ey8z/Y0pqNcEtlLcbgnk1YjyTAoBI57alpRjH/lmJI/rh0Un4h GqFtKjpJ4HpJWMWmRbmxEMGb6Up7RfLXzuKyKCeLZFMM= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|I6EGQcPWeEo/TKCLIYBpUZsBLZRxevPIhfDXjNoT4tLfHnCJiX47g0/wMlG5Jab RTuH8fhiKnAg242llL96nqw== X-Originating-IP: 77.174.182.228 Received: from MAIN (77-174-182-228.fixed.kpn.net [77.174.182.228]) by smtp.xs4all.nl (Halon) with ESMTPSA id 8135bad9-636a-11ed-b8b1-005056ab7447; Sun, 13 Nov 2022 16:47:40 +0100 (CET) From: To: "'Kirk McKusick'" Cc: References: <202211130022.2AD0MYiW023709@chez.mckusick.com> In-Reply-To: <202211130022.2AD0MYiW023709@chez.mckusick.com> Subject: RE: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI? (on FreeBSD14 CURRENT) Date: Sun, 13 Nov 2022 16:47:40 +0100 Message-ID: <000d01d8f777$42eb10a0$c8c131e0$@xs4all.nl> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQDt7DtUGkthWTj4TPziqLFRIfjyNLATEpfw Content-Language: nl X-Spamd-Result: default: False [-0.80 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[xs4all.nl,none]; FORGED_SENDER(0.30)[louis.freebsd@xs4all.nl,l.m.v.breda@xs4all.nl]; R_SPF_ALLOW(-0.20)[+ip4:195.121.94.167/32]; R_DKIM_ALLOW(-0.20)[xs4all.nl:s=xs4all01]; RCVD_IN_DNSWL_LOW(-0.10)[195.121.94.167:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[louis.freebsd@xs4all.nl,l.m.v.breda@xs4all.nl]; FROM_NO_DN(0.00)[]; ASN(0.00)[asn:8737, ipnet:195.121.64.0/18, country:NL]; FREEMAIL_ENVFROM(0.00)[xs4all.nl]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[xs4all.nl:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XOIP(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; FREEMAIL_FROM(0.00)[xs4all.nl]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[xs4all.nl:dkim] X-Rspamd-Queue-Id: 4N9Gzg2jnbz3j3m X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N I noticed that after disabling gdm in /etc/rc.conf ^"gdm_enable=3D"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.=20 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,=20 Even not from S1. Louis =20 -----Original Message----- From: Kirk McKusick =20 Sent: Sunday, November 13, 2022 1:23 AM To: louis.freebsd@xs4all.nl Cc: freebsd-current@FreeBSD.org Subject: Re: DESPARATE: How to stop FreeBSD form sleeping / disable = ACPI? (on FreeBSD14 CURRENT) > From: > To: > Subject: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI?=20 > (on FreeBSD14 CURRENT) > Date: Thu, 10 Nov 2022 21:29:21 +0100 >=20 > I am still desperately trying to stop FreeBSD from sleeping, but I=20 > simply do not manage. >=20 > It is really very annoying that I have to restart the machine every > 10 minutes, when I am working via SSH. >=20 > So if any one has a solution, it would be very much appreciated! >=20 > It should =E2=80=A6.. be possible to kill / stop ACPI some how = =F0=9F=98=8A >=20 > If absolutely not possible in the actual build =F0=9F=98=8A, a cron = job=20 > restarting the timer every 5 minutes perhaps !!??? >=20 > It is possible perhaps =E2=80=A6 that GNOME is initiating this, = despite that=20 > the GUI powersetting is screenblank =E2=80=9CNEVER=E2=80=9D. =20 >=20 > Whatever is causing the problem, the settings should be such that ^no=20 > whatever program^ should not be capable to initiate the sleepmode. >=20 > 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