Arch linux on AMD laptop suspend immediately wakes up

26. j┼źnijs, 2024

So now I have laptop with AMD Ryzen 7 5800H with Radeon Graphics. Everything works greate except when I try to suspend it suspends but immediately wakes up

systemctl suspend

I found one solution which kind-or works for me.

It was found here

There is linux system file. Which is not regular file. So you cant just vim into it and make changes


First open this file and see who is enabled

In my case it was GP17. I really dont know what GP177 is, but looks like it is causing my laptop to immediately wake up after suspend

So how to disable it

Enter super user by typing sudoi -s

sudo -s

Then run this command

echo GP17 > /proc/acpi/wakeup

But looks like I should make it some how persistent, because after every wake up it resets itself to enabled