Resuming from a Suspend (done via GUI, or via sudo systemctl suspend
-- it doesn't matter!) takes a minute or more.
Referring to this article on DSDT, https://dev.to/epassaro/fix-suspend-issues-on-dell-7405-2-in-1-3l1b, I find that my diagnosis does match that described in the section, "The root of all evil":
$ sudo dmesg | grep -i acpi | grep supports
[ 0.357470] ACPI: (supports S0 S4 S5)
$ cat /sys/power/mem_sleep
[s2idle]
However, my compilation errors are different from those described in the above article:
dsdt.dsl 27: External (_SB_.DIAG.WMDM.WA3U, UnknownObj)
Error 6163 - ^ Object is created temporarily in another method and cannot be accessed (_SB_.DIAG.WMDM.WA3U)
dsdt.dsl 2904: AFN7 (Local0)
Error 6086 - ^ Not a control method, cannot invoke (AFN7 is a Untyped)
Also, besides the above compilation errors, I'm not sure how benign or risky this entire procedure could be given that my hardware and software details don't line up with those in the article.
From Settings | About:
Hardware Model: Dell Inc. Inspiron 16 5625
Processor: AMD® Ryzen 7 5825u with radeon graphics × 16
Graphics: RENOIR (renoir, LLVM 15.0.6, DRM 3.47, 5.19.0-32-generic)
OS Name: Ubuntu 22.04.2 LTS
GNOME version: 42.5
$ uname -a
Linux vega 5.19.0-32-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 30 17:03:34 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Does anyone know what the cause really is, and how to fix it?