From nobody Sun Nov 6 14:04:56 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 4N4x2N5YHvz4hGNp for ; Sun, 6 Nov 2022 14:05:00 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.170]) (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 4N4x2M1fGvz3KXs for ; Sun, 6 Nov 2022 14:04:59 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) X-KPN-MessageId: fa986c01-5ddb-11ed-8a67-005056ab378f Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id fa986c01-5ddb-11ed-8a67-005056ab378f; Sun, 06 Nov 2022 15:04:50 +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=cv+rHRCTxN+8p3ASX+Ry7kBo0febTNH8qQPFIAkJ1fI=; b=pCdxRNU7rrWcD3qcPatBSkoe30zqTSOHqETCD0Xgf7jhK47NuZA71jdd+3j1bH6m5ZnAa9nzJHUzM hrOgURMc857Hf0PRsOuCZf36kM4nFs49XycVyQvVpHRXabdGNfgSRWGkr69HUDtUIPB6NdnbxKOMbl HFYo8PYD7fB0BRbF5ev/UKX6XqWxsv61DHOHTYmRdauEqmD3LC/2OqPIYNH4qbnZAKeYB614qeMpfl NRPQ8mupG8tEX9yoSpdOBsABCV1bkK2PSQDcOOpvY6RB0cezd/E+8rV1m+tliDs+vC8oyA+oh5GcWc PBR32nxSzk37c6VYW0dMzDRFcJPD6rw== X-KPN-MID: 33|AmKCHRyhv1KLWiQkY9jbyj2/Fhh7gjDJKwml/sIP3HA0KkvB9pA+uwAZkqz77NY 5wQhl3mAwewix+r/BRE8ZcVLCtu6ulL9FU/nAIxWf2sM= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|KvdQow+bZRqUuH3Q1P2SREwasfKNmew2RybNSE2p93zNnxxM3m2oW1nG5E4iSl6 bmfguFEiWKuEPMLjDnl+93Q== 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 fe6cbcab-5ddb-11ed-b8b1-005056ab7447; Sun, 06 Nov 2022 15:04:56 +0100 (CET) From: To: Subject: How to disable ACPI? (on FreeBSD14 CURRENT) Date: Sun, 6 Nov 2022 15:04:56 +0100 Message-ID: <000501d8f1e8$c0442df0$40cc89d0$@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: multipart/alternative; boundary="----=_NextPart_000_0006_01D8F1F1.220895F0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adjx59b9/943xIFwTsKggT01IGDN1g== Content-Language: nl X-Rspamd-Queue-Id: 4N4x2M1fGvz3KXs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xs4all.nl header.s=xs4all01 header.b=pCdxRNU7; dmarc=pass (policy=none) header.from=xs4all.nl; spf=pass (mx1.freebsd.org: domain of l.m.v.breda@xs4all.nl designates 195.121.94.170 as permitted sender) smtp.mailfrom=l.m.v.breda@xs4all.nl X-Spamd-Result: default: False [-3.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; 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.170/32:c]; R_DKIM_ALLOW(-0.20)[xs4all.nl:s=xs4all01]; RCVD_IN_DNSWL_LOW(-0.10)[195.121.94.170:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[xs4all.nl:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_NO_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_HAS_QUESTION(0.00)[]; ASN(0.00)[asn:8737, ipnet:195.121.64.0/18, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[xs4all.nl]; HAS_XOIP(0.00)[]; FROM_NEQ_ENVFROM(0.00)[louis.freebsd@xs4all.nl,l.m.v.breda@xs4all.nl]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[xs4all.nl:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FREEMAIL_ENVFROM(0.00)[xs4all.nl]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multipart message in MIME format. ------=_NextPart_000_0006_01D8F1F1.220895F0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I need to disable acpi and the indicated method for that is to add = ^hint.acpi.0.disabled=3D"1"^ in /boot/loader.conf . However that crashes my system !!!!!!=20 Not only that, to make it work again I have to edit loader.conf on a = system which does ^not start^. =20 =EF=BF=BD After a lot of searching Internet came to the help with, I could start = the system again: 1. Select 3. Escape to loader prompt at the splash screen 2. Type set hint.acpi.0.disabled=3D"0" on the loader prompt 3. Then type boot on the loader prompt edit the loader.conf Very very glad with that fix however =EF=BF=BD However the problem is still there, no idea how to prevent the system = from going to sleep (after about 10 minutes). No idea how to change those 10 minutes to a much longer time as well = ....=20 =EF=BF=BD Note that I have gnome as gui and use the system more or less as server = and manage the machine partly local via the GUI and partly remote via = SSH. =EF=BF=BD Related to GNOME I did try ^gsettings set = org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0^, = however that did not solve the problem as well. =EF=BF=BD In the end there seems to two problems a) A BSD-issue ACPI-turn off in the bootloader is crashing the system ! = ! and=20 b) a GNOME issue (switching the system off during user inactivity, which = is bullshit for a server / for ssh-login / with multiple users). What IMHO apart from the screen lock, this is not a GNOME task but an OS = function to be configured by the system administrator. =EF=BF=BD A third problem, not to be addressed here, is that recovery from sleep = mode does not work on my system as well (even not S1). =EF=BF=BD Most important for the moment is that the system keeps running / is not = going down after x-time !=20 =EF=BF=BD Louis ------=_NextPart_000_0006_01D8F1F1.220895F0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

I need to = disable acpi and the indicated method for that is to add = ^hint.acpi.0.disabled=3D"1"^ in /boot/loader.conf = .

However = that crashes my system !!!!!!

Not only that, to make it work = again I have to edit loader.conf on a system which does ^not start^. = =C2=A0

 

After a lot of searching Internet came to the help with, I = could start the system again:

1. Select 3. Escape to loader = prompt at the splash screen

2. Type set = hint.acpi.0.disabled=3D"0" on the loader = prompt

3. = Then type boot on the loader prompt

edit the = loader.conf

Very very glad with that fix = however

 

However the problem is still there, no idea how to prevent = the system from going to sleep (after about 10 = minutes).

No idea how to change those 10 minutes to a much longer = time as well ....

 

Note that I have gnome as gui and use the system more or = less as server and manage the machine partly local via the GUI and = partly remote via SSH.

 

Related to GNOME I did try ^gsettings set = org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0^, = however that did not solve the problem as well.

 

In the end there seems to two = problems

a) = A BSD-issue ACPI-turn off in the bootloader is crashing the system ! ! = and

b) a = GNOME issue (switching the system off during user inactivity, which is = bullshit for a server / for ssh-login / with multiple = users).

What IMHO apart from the screen lock, this is not a GNOME = task but an OS=C2=A0 function to be configured by the system = administrator.

 

A third problem, not to be addressed here, is that recovery = from sleep mode does not work on my system as well (even not = S1).

 

Most important for the moment is that the system keeps = running / is not going down after x-time !

 

Louis

------=_NextPart_000_0006_01D8F1F1.220895F0--