https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289634

--- Comment #46 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9e1e29bd5ec61bba1bb3366ff4c069b0c8f75954

commit 9e1e29bd5ec61bba1bb3366ff4c069b0c8f75954
Author:     Aymeric Wibo <[email protected]>
AuthorDate: 2025-09-26 15:49:28 +0000
Commit:     Aymeric Wibo <[email protected]>
CommitDate: 2025-09-26 16:03:05 +0000

    acpi: Add back `hw.acpi.suspend_state` sysctl

    When writing an ACPI S-state to it it will set kern.power.suspend to the
    appropriate sleep type, and when reading from it it will return the
    corresponding ACPI S-state to the sleep type in kern.power.suspend.

    This is deprecated and kern.power.suspend should be used directly
    instead, but add this back because zzz(1) makes use of this and we can't
    easily rewrite it just now.

    PR:             289634
    Reviewed by:    cy, markj
    Approved by:    cy, markj
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D52600
    Event:          EuroBSDcon 2025 Devsummit

 sys/dev/acpica/acpi.c | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to