[Bug 289634] ACPI(4) not managing power on 16.0-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Sep 2025 18:10:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289634

--- Comment #25 from Aymeric Wibo <obiwac@FreeBSD.org> ---
So, at this point I'm fairly certain AcpiEnterSleepStatePrep is getting passed
the right state for your system to sleep (ACPI_STATE_S3, which should also be
what that function was getting before my changes), but it is failing with my
changes for some reason (which it shouldn't because I'm in theory not touching
that code).

As a sanity check, can you compile the pre-revert changes with
ACPI_DEBUG_OUTPUT set so I can see what is being passed to
acpi_EnterSleepState?

If you could also check which one of the returns AcpiEnterSleepStatePrep is
hitting (APCICA code, sys/contrib/dev/acpica/components/hardware/hwxfsleep.c,
by sprinkling some printf's there e.g.) that would help me a lot too.

Thanks!

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