diff --git a/README.md b/README.md index 5ad7dc9..e7cc362 100644 --- a/README.md +++ b/README.md @@ -215,10 +215,22 @@ doas apk install element-desktop ### Sleep -Laptop goes to sleep after some idle period. When it wakes up, the root fs is readonly, meaning that I have to restart the laptop. +With default settings, laptop goes to sleep after some idle period. When it wakes up, the root fs is readonly, meaning that I have to restart the laptop. Adding `acpiphp.disable=1` and `pcie_aspm=off` to grub config does not solve the issue. +Disabling S0ix in UEFI only made things worse: even though `cat /sys/power/mem_sleep` reported that S3 (deep) is default, +after system goes to sleep it is impossible to wake it up, it does not react to key or power button presses. + +What did solve the issue was: +* reenable S0ix in BIOS, +* `doas apk add linux-firmware-amdgpu`, +* editing `GRUB_CMDLINE_LINUX_DEFAULT` in `/etc/default/grub` to add the following options: +`acpiphp.disable=1 pcie_aspm=off acpi_osi='Windows 2020' iommu=soft`. + +Now after waking up (after being suspended with `doas pm-suspend`) root fs is still readwrite. +But network disappears sometimes after wakeup. + ### WiFi At the moment Linux kernel does not support Qualcomm NFA725.