[Bug 289634] ACPI(4) not managing power on 16.0-CURRENT
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 289634] ACPI(4) not managing power on 16.0-CURRENT"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Sep 2025 16:04:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289634
--- Comment #46 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=9e1e29bd5ec61bba1bb3366ff4c069b0c8f75954
commit 9e1e29bd5ec61bba1bb3366ff4c069b0c8f75954
Author: Aymeric Wibo <obiwac@FreeBSD.org>
AuthorDate: 2025-09-26 15:49:28 +0000
Commit: Aymeric Wibo <obiwac@FreeBSD.org>
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.