You are not logged in.
I have an Acer Chromebook CX5 that comes with an Intel i5-1135G7 cpu and Hynix BC501 NVMe SSD. I installed MrChromebox's SeaBIOS and used EndeavourOs to resize the disk to dual book Arch & Chrome Os with the latest version of Arch.
When I try to suspend the display freezes - I still see the screen but can't move the cursor and have to hard reboot. I tried installing pm-utils and running pm-suspend with PM_DEBUG=1. I found pm-suspend runs through all the hooks successfully, no errors. I don't see anything noteworthy in dmesg.
I tried following https://www.kernel.org/doc/html/latest/power/s2ram.html but only doing "suspend to idle" with the following commands:
sync
echo 1 > /sys/power/pm_debug_messages
echo 1 > /sys/power/pm_trace
echo freeze > /sys/power/state
I found dmesg shows the following
[ 0.386181] PM: Magic number: 6:190:13
[ 0.386241] memory memory57: hash matches
and cat /sys/power/pm_trace_dev_match
memory
So I suspect it's something to do with memory? Not sure if it's due to ram or nvme though.
$ lspci | grep memory
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
02:00.0 Non-Volatile memory controller: SK hynix BC501 NVMe Solid State Drive
Next I tried following https://www.kernel.org/doc/Documentatio … ugging.txt
Freezer succeed, but testing devices failed
echo 1 > /sys/power/pm_trace
echo freezer > /sys/power/pm_test
echo freeze > /sys/power/state
# success
echo devices > /sys/power/pm_test
echo freeze > /sys/power/state
# hang
cat /sys/power/pm_trace_dev_match
# [ 0.389470] PM: Magic number: 6:550:733
# [ 0.389476] hwmon hwmon0: hash matches
This time showing hwmon hung the system. I tried booting the kernel with acpi=off, that causes it to hang immediately at startup , noapic that causes the touchpad to stop working and pci=noacpi which causes also causes a hang at startup after making some progress.
Even when I try to shutdown the laptop, it looks like everything shuts down successfully but then the computer freezes and I have to hard shutdown (Hold the power button down for 10 sec) to turn it off.
I'm not sure how to debug this - can anyone provide links or guidance? There doesn't seem to be much info on how to debug suspend resume freezes on the web. I'm guessing there should be a way to suspend only one hw piece at a time to see what is causing the freeze?
EDIT: SOLVED by disabling modules atmel_mxt_ts and cros_ec_typec. I found this somewhere else on the net.
Add kernel parameters modprobe.blacklist=atmel_mxt_ts modprobe.blacklist=cros_ec_typec. If using Grub you can do so by editing /etc/default/grub, adding them to the GRUB_CMDLINE_LINUX_DEFAULT and then regenerating your grub config with grub-mkconfig -o /boot/grub/grub.cfg. This resolved both the hang on suspend and hang on poweroff.
Last edited by crescent (2022-05-14 08:39:15)
Offline