diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-05-10 08:48:03 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-05-26 23:05:45 +0000 |
| commit | aba599a6cc550bf209b42a81a3cdb3f6e94d0613 (patch) | |
| tree | 136cf7710b9c6aa1823e5eeb0f02c0c379d13d62 /sys/boot/alpha/libalpha | |
| parent | 14b8531c4ccb836d755ce8a4f1b384164b5d9d94 (diff) | |
zzz: Rewrite to use new power device
Previous script called acpiconf(8) (or apm(8) if ACPI wasn't supported,
although this was anyway redundant because APMIO just uses ACPI now).
Since a new generic power management interface was introduced, this isn't
sufficient, as this would only work for ACPI systems and for ACPI S3 suspend
(so no way to select suspend-to-idle). Rewrite in C to take advantage of the
new power interface.
We may want to add a switch to manually override the kern.power.suspend sysctl,
which is otherwise what the power device uses to decide which suspend type to
switch to (suspend-to-idle or firmware suspend), but this will require us to
amend the power interface.
Reviewed by: olce, imp, mhorne, ziaee
Tested by: mhorne
Approved by: olce, imp, mhorne, ziaee
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56918
Diffstat (limited to 'sys/boot/alpha/libalpha')
0 files changed, 0 insertions, 0 deletions
