Hello, I'm unable to use suspend to ram with my computer. When calling "systemctl suspend", the system just powers off. How could I make it work please? Is this a known issue with my MB? The test with "echo core >/sys/power/pm_test" does not fail. Here are more details: https://bugzilla.opensuse.org/show_bug.cgi?id=1143295 TIA for any hints, Peter
Can you build latest kernel - 5.5 - boot with "no_console_suspend" and do as root: # echo "suspend" > /sys/power/disk # echo "mem" > /sys/power/state To check whether it suspends? But it is an ASUS BIOS so I wouldn't put my hopes up. ;-\
(In reply to Borislav Petkov from comment #1) > Can you build latest kernel - 5.5 - boot with "no_console_suspend" and do as > root: > > # echo "suspend" > /sys/power/disk > # echo "mem" > /sys/power/state > > To check whether it suspends? > > But it is an ASUS BIOS so I wouldn't put my hopes up. ;-\ The system just powers off... Tested with linux-5.5.7 (openSUSE-Tumbleweed-KDE-Live-x86_64-Snapshot20200314-Media.iso). Could you please recommend an MB for me, where s2ram works? TIA, Peter
(In reply to Peter from comment #2) > The system just powers off... This is expected. Question is, does it wake up after you press the Fn or the Power button? Also, check your BIOS whether there are settings about suspend and they're enabled. > Tested with linux-5.5.7 > (openSUSE-Tumbleweed-KDE-Live-x86_64-Snapshot20200314-Media.iso). > > Could you please recommend an MB for me, where s2ram works? Hard to say. I've had good experience with MSI boards but that doesn't mean a whole lot.
(In reply to Borislav Petkov from comment #3) > Question is, does it wake up after you press the Fn or the Power button? No, and the green led is not blinking. I need to power-cycle the whole unit. > Also, check your BIOS whether there are settings about suspend and > they're enabled. Yes, I've already done that. I've spent very much time with looking and testing various Bios setting. Even the Asus assistance could not help...
You could have a look at https://www.kernel.org/doc/html/latest/power/index.html and especially try: https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html https://www.kernel.org/doc/html/latest/power/swsusp.html and see what works, maybe you'll be able to debug it more. Also, do not use a live CD but a properly installed kernel on a distro partition. HTH.
(In reply to Borislav Petkov from comment #5) > You could have a look at > https://www.kernel.org/doc/html/latest/power/index.html > > and especially try: > > https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html > https://www.kernel.org/doc/html/latest/power/swsusp.html > > and see what works, maybe you'll be able to debug it more. Thanks. But I've spent already too much time with this issue and now I've found this page: https://www.reddit.com/r/AMD_Linux/comments/6iwyc2/asus_prime_x370_pro_linux_support/#CommentTopMeta--Created--t1_djg4w3j So it seems, that normally it works and my board is just broken. I think, I'll give up and look for another MB...
Hello, I've found the solution: after changing the power supply, everything works as expected! Sorry for the noise... Kind regards, Peter