From nobody Fri Nov 11 03:21:24 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 4N7kWV38Sfz4frBf for ; Fri, 11 Nov 2022 03:21:26 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N7kWV1B7lz3kkd for ; Fri, 11 Nov 2022 03:21:26 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x831.google.com with SMTP id jr19so2125648qtb.7 for ; Thu, 10 Nov 2022 19:21:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=WNVegz/V5+AY1Selbl6H2oQc8p3kADpGWcxKtOfykZ8=; b=DSgNTxl1jRBC5wNGii/xnyiec1Y74mjUSkQ+NY0UmXVq6JGC90noDDvxh7XbSK+6Kx YFU1edht0lUtPukuqg1LhSIIwsgMrw093ttXwM6CUa2YNuBTycEry7Equ/XeNe6vuJlC jleU+PvpCan1bHWqTeQb4sIn/cWV0sbkXJkGRvPbP3KWGH5BqG1EmERu/JMdetE8baXg Pn7JsrwcdECMwCk70E7j7vt/ytSu2md/K3w6goT+HE6oj6VZWDP4N11IUiIBm/PfUEie vgOvjYQ1LADFEEoO627Qhdd3zNbRA6QNzMla0gOPdFD+1QpVo6Pvh52jqRZj5ng0Tg/x Pcug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WNVegz/V5+AY1Selbl6H2oQc8p3kADpGWcxKtOfykZ8=; b=hD1UUNF5V6BjOqtgkWU+NZEG1TIHxN9EzPtCTfr7BYPGaiB7pu43RiZiequKKsk4N3 xLSJd1vlwKFy+A7F+W6AdX9LRjpA2WG3nVU3PBRfKb5y/PhzMUxgit0nrfzhJ1AnBn6W mTQ33skiay+8KDeDRiwfELRjbZ5vqxdB58TE3eRZ36j9b3zCSKMWCCrl/xD/ez3EvflQ +EAtqt4NCUtkrSODB1hvbwTheCW7YsdjZ/hVav6nzUY5dBWDWBonDom3mRkU0MyNE7fV N+Dk8cjYeQinT0mpUgQwGbfJMrXBacsGp2oingr9+/zHi2SlS3dsbXd3gd7T5PKNSPSt nE7g== X-Gm-Message-State: ACrzQf0vM9gt/CrDhHwAz9zeuehgjUatTB4Ybj7yzDIc+3b6wFkU9T/C FQ3aIVdSmHZz/NdmrEK0emSjJycQgpI= X-Google-Smtp-Source: AMsMyM6rRfK00ZpCUDyr8H5jK0Nxx91JbdqETr6pmNw9N+BDSL7mv81waHCriqiWZrY0UadLTNH3Uw== X-Received: by 2002:a05:622a:410f:b0:3a4:f053:6f0 with SMTP id cc15-20020a05622a410f00b003a4f05306f0mr2823570qtb.441.1668136885399; Thu, 10 Nov 2022 19:21:25 -0800 (PST) Received: from [192.168.1.66] (104-55-12-234.lightspeed.knvltn.sbcglobal.net. [104.55.12.234]) by smtp.gmail.com with ESMTPSA id g19-20020ac84b73000000b003a50c9993e1sm623927qts.16.2022.11.10.19.21.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 19:21:25 -0800 (PST) Message-ID: <01051bc5-07fd-95c5-1309-6358a8f971e5@FreeBSD.org> Date: Thu, 10 Nov 2022 22:21:24 -0500 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: DESPARATE: How to stop FreeBSD form sleeping / disable ACPI? (on FreeBSD14 CURRENT) Content-Language: en-US To: louis.freebsd@xs4all.nl, freebsd-current@FreeBSD.org References: <001901d8f543$1dab2900$59017b00$@xs4all.nl> From: Alexander Motin In-Reply-To: <001901d8f543$1dab2900$59017b00$@xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4N7kWV1B7lz3kkd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N 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