> 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 <[email protected]> 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.

Reply via email to