From nobody Tue Mar 03 22:09:51 2026 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 4fQVNF4HTSz6ThmD for ; Tue, 03 Mar 2026 22:10:05 +0000 (UTC) (envelope-from obiwac@gmail.com) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fQVNF0RjLz3rQ4 for ; Tue, 03 Mar 2026 22:10:05 +0000 (UTC) (envelope-from obiwac@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-7d1872504cbso3596234a34.0 for ; Tue, 03 Mar 2026 14:10:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772575803; x=1773180603; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PGaH+XzrsWkbsBYWtRBeh5u7XpdpPL3u+FSsQdZFGJw=; b=gQojMduvPP8L3HGeGBjSdVUzMP3LjX/XcFpxXd4gmslyTlPOwdUXH+pSaSzA2TctcM 1doKh2G9n2R7Ws1dxNOElgaNP8LxQmZQAP6FJBhGlBxGtV3u2cxbOtILrYYegP8JyN0T PV9U0akh0OynA30E76fsIAoZBJ5aoWlvCxNbaHOEM0QH/xGCaCkNzefK5pDYcnqTeNeJ pYe8SKr6wdpF7LJujnqxeeyXd8JZ2vyezGpSc5znsshkj1D69CxzJR0JxTbf06zzfHDM VkZwzNLk8rN9yyPnPgQzKOwFvcbfR1+kPbB143SadnvqA0SJFj0CIDLbS0qvkP3QULuY ArJA== X-Gm-Message-State: AOJu0YxM1mJOe5guIhif5j4sDtCrvqUvveXHLnfo1Xx1Ztso8Vs8S0EW fwhBjtYuS9Et4pjR/1GbwVtpQcptUd6Y5rXQXeol29F2uiGPrCSoVmjMUdd2tKr1 X-Gm-Gg: ATEYQzxpUYWxf7d28bbjSupsmqFV8zOiEPASG3thpWQKZs+Dvb746aQ/WLtLrzw0A2+ +y/7uaiyUWp2sYSHay4fl67KWgzmLfcFZEFeBlsvLqiH3+SMwVPPfN0oAjnIEbHTXutg6qgARem lgf42u35xplDxNYUXO4S40orQDqFmE1oCG9vid0rXkiBgpZR43BXkIiG7MNr/yWNvy2jj3zU34+ 0WcQATHQIpZZWhROToVdVPi+wfER/DBjbbF0c8fcff/YC89e6hPcQTpVSKCpanfHIl6D24uINIJ Cb2e3E9z1Q++8PKejqmFU6xRxbmMo9nCRjDCPWPOwQkX4OpwLM5IRd3Aqtvl/Lr4v7eP+wDvsL6 4Ih//t7Jg1aBX6lxqB5udzCBuYK/1dgK9xXhDr5h5uonkkTI1uxva0owYiQa1XHPpGaYJ7G35DW J+yfXLVPFZ4kMUQSBN3F+VF+BKa1kuNHrZCGYiB9wfhK6gS3LDA3CnLvSSYNVkDyyVm33b0M7cc ynYDLFRYdahnYCdzQ1xIj3tpY6MMQ== X-Received: by 2002:a05:6830:2992:b0:7d1:9066:26b7 with SMTP id 46e09a7af769-7d5be394227mr2545602a34.6.1772575803577; Tue, 03 Mar 2026 14:10:03 -0800 (PST) Received: from mail-oo1-f52.google.com (mail-oo1-f52.google.com. [209.85.161.52]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d5866701cdsm13922940a34.29.2026.03.03.14.10.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Mar 2026 14:10:03 -0800 (PST) Received: by mail-oo1-f52.google.com with SMTP id 006d021491bc7-662f91bba0fso5661237eaf.0 for ; Tue, 03 Mar 2026 14:10:03 -0800 (PST) X-Received: by 2002:a05:6820:4c11:b0:679:c5ad:ff11 with SMTP id 006d021491bc7-67a1da45569mr1948325eaf.11.1772575802987; Tue, 03 Mar 2026 14:10:02 -0800 (PST) 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 References: <4ba2049c-7744-4e47-a2ed-b6830a4f2086@freebsd.org> <70c93f00-d736-4ff9-b96a-c5c0a5121a7e@freebsd.org> <8c9f9083-5764-4d37-a621-55d822e9b439@freebsd.org> In-Reply-To: From: obiwac Date: Tue, 3 Mar 2026 23:09:51 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AaiRm53tEFz2RDA_MgWsaJbHaFPIm8jcbDNKWmtO-uRqEtd7tFyNUqsuHWGPrWs Message-ID: Subject: Re: S0i3 sleep testing image To: Charlie Li Cc: FreeBSD CURRENT , freebsd-hackers Content-Type: text/plain; charset="UTF-8" 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:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4fQVNF0RjLz3rQ4 X-Spamd-Bar: ---- > This has been entirely on 'everything'. I have not tried suspending > because the states are not listed yet, so acpiconf(8), by extension > zzz(8) and further desktop-related integrations will either error out or > not list the option: s2idle is not an ACPI state so it is expected that it won't be listed in hw.acpi.supported_sleep_state, and acpiconf will not be able to support this either. Instead, I'm working on a new interface for this: https://reviews.freebsd.org/D55508. Once landed, zzz will be updated to use that interface. In the meantime, the hw.acpi.{standby,suspend,lid_switch,sleep_button}_state sysctls do already support taking in generic sleep types, so you can set them to s2idle instead of the ACPI states. You can see all supported sleep types in kern.power.supported_stype, but I can see your machine already reports s2idle support as hw.acpi.sleep_button_state is set to s2idle already. > Unless there's a different way to enter suspend state. You can set hw.acpi.power_button_state=s2idle and then press your power button. On Tue, 3 Mar 2026 at 22:12, Charlie Li wrote: > > obiwac wrote: > > Have you tried suspending yet? If so, can you send me the same sysctl > > tree after doing so? You will necessarily have to do this on the > > 'everything' branch though I think, if you're not already. > > > This has been entirely on 'everything'. I have not tried suspending > because the states are not listed yet, so acpiconf(8), by extension > zzz(8) and further desktop-related integrations will either error out or > not list the option: > > % sysctl hw.acpi > [snip] > hw.acpi.standby_state: NONE > hw.acpi.suspend_state: NONE > hw.acpi.lid_switch_state: NONE > hw.acpi.sleep_button_state: s2idle > hw.acpi.power_button_state: poweroff > hw.acpi.supported_sleep_state: S4 S5 > > Unless there's a different way to enter suspend state. > > -- > Charlie Li > ...nope, still don't have an exit line.