I just recently got the Framework Laptop 13 Ryzen 7040. I’ve installed Arch Linux on the machine. I’ve got it mostly working the way I want it, but I’m noticing that I’m missing some sleep state options.
When I run cat /sys/power/mem_sleep I only see [s2idle]. I’m seeing in other threads that people see [s2idle] shallow deep and I want to use shallow but can’t obviously.
I encountered amd_s2idle.py (can be found here), and am seeing that my laptop doesn’t suspend to hardware sleep state, which makes sense given the contents of /sys/power/mem_sleep.
Is there anything special I need to do that isn’t outlined in the various Arch guides for this laptop?
Welp. That’s annoying. Turns out my Keychron K3 v2 keyboard is keeping my laptop from going into hardware sleep state. It works fine without my keyboard being attached.
I still don’t see anything other than [s2idle] in /sys/power/mem_sleep though. Is there anything there I can do to get the other options?