Aymeric Wibo
aba599a6cc
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
2026-05-27 00:05:45 +01:00
..
2025-12-10 10:57:50 +00:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2022-06-13 21:37:34 +01:00
2024-07-15 16:43:39 -06:00
2026-02-02 21:20:16 +00:00
2024-07-15 16:43:39 -06:00
2026-04-30 21:58:48 -05:00
2024-07-15 16:43:39 -06:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2025-01-12 18:41:37 -06:00
2023-08-16 11:54:16 -06:00
2023-01-20 16:37:39 -07:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2025-09-11 17:12:22 +02:00
2025-06-11 17:39:01 +01:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2024-12-30 13:38:39 -07:00
2023-11-26 22:23:28 -07:00
2026-02-18 09:54:01 +02:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2025-05-08 16:29:15 +02:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:29 -06:00
2025-06-03 22:59:28 +02:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:29 -06:00
2023-08-16 11:54:29 -06:00
2023-11-26 22:23:59 -07:00
2023-08-16 11:54:29 -06:00
2023-08-16 11:54:29 -06:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:29 -06:00
2025-06-11 17:16:20 -06:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2026-01-09 11:28:43 -05:00
2024-10-14 10:26:17 -07:00
2023-09-12 13:22:21 +01:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:23 -06:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:55:03 -06:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:59 -07:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:29 -06:00
2023-11-26 22:23:28 -07:00
2024-01-24 22:50:49 -05:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:29 -06:00
2024-08-26 18:27:29 +02:00
2026-05-27 00:05:45 +01:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2026-01-19 18:49:57 +02:00
2024-04-23 19:51:22 +03:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:29 -06:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:23 -06:00
2025-10-04 10:50:02 +02:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:59 -07:00
2025-12-29 19:18:55 +02:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2025-06-11 17:16:22 -06:00
2026-04-03 11:22:53 +03:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:16 -06:00
2026-04-20 22:59:54 +02:00
2026-01-06 20:26:59 -05:00
2025-10-18 00:48:30 +03:00
2026-02-19 15:10:32 +00:00
2026-03-06 01:46:53 +02:00
2026-01-15 09:45:42 -04:00
2023-08-16 11:54:16 -06:00
2025-12-09 00:34:57 +02:00
2023-11-26 22:23:59 -07:00
2024-07-13 00:16:24 -05:00
2024-05-09 20:50:48 -06:00
2023-11-26 22:23:28 -07:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:16 -06:00
2025-11-28 16:19:40 +01:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:16 -06:00
2023-11-26 22:23:28 -07:00
2025-11-28 16:19:53 +01:00
2023-08-16 11:54:16 -06:00
2026-05-10 17:53:20 +03:00
2023-11-26 22:23:28 -07:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:16 -06:00
2025-06-11 17:39:02 +01:00
2023-08-16 11:54:23 -06:00
2023-08-16 11:54:16 -06:00
2024-07-30 12:16:36 -04:00