power: update resume_offset for the current swapfile
resume_offset must name the swapfile's first physical extent for hibernation to resume from it; the old value no longer matched. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
f4a352aeaa
commit
41be44e568
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
# sudo filefrag -v /var/swapfile | awk 'NR==4{gsub(/\.\./,""); print $4}'
|
||||
# acpi.ec_no_wakeup=1: prevents EC wakeups from draining battery in s2idle
|
||||
# on P14s G6 AMD. See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/
|
||||
boot.kernelParams = [ "amd_pstate=active" "resume_offset=1769472" "acpi.ec_no_wakeup=1" ];
|
||||
boot.kernelParams = [ "amd_pstate=active" "resume_offset=133797888" "acpi.ec_no_wakeup=1" ];
|
||||
|
||||
# Allow manual fan control via /proc/acpi/ibm/fan (level 0-7, auto,
|
||||
# full-speed). Firmware stays in charge while level is "auto".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue