How to debug acpi resume? ThinkPad T480 less stable on 13 than 12

From: David Schlachter <fbsd-acpi_at_schlachter.ca>
Date: Thu, 14 Apr 2022 23:31:00 UTC
Hi all,

Since updating from FreeBSD 12.1 to 13 last year, resume from acpi suspend (s3) fails maybe 50% of the time. When this happens, the system does not resume when the lid is opened or the power button is pressed, but the screen stays black and the sleep indicator (pulsing power button and lid light) continues as if the system is still in suspend.

I'm looking for ideas about how to debug this to figure out what's going on, since I'm not sure how to get debugging information from the system in this state. Any recommendations would be appreciated.

Thanks,
David