I've had Dell Inspiron 5505 with AMD Ryzen 4000 series for a couple months now. From the beginning there was an issue with sleep mode. Almost every time after putting it to sleep windows would crash and I had to restart it. Yesterday I installed Ubuntu instead of windows on it but problem with sleep mode would still persist but this time after putting to sleep notebook was unresponsive and i had to hard reset it by holding power button for couple of seconds to turn it off and press power button to turn the notebook on again. I googled for solution and I found out that editing registry key by regedit:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power] to CsEnabled=0 would work for most people on windows. But since Ubuntu doesn't have such registry I found that I can launch regedit through wine and then edit this registry key. When i launched regedit I noticed that \Power directory was missing so I could't edit this registry key. Then I found about another solution which was executing this command in cmd:
reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0
so I launched cmd through wine and executed this command. Then I restarted the notebook and after restart tried putting it to sleep. After putting it to sleep the notebook has become completely unresponsive. This time i can't even turn it off or on because it simply doesn't respond to pushing or holding power button. I only can hear a very weak high sound that indicates that something is working inside my notebook. I also noticed that USB ports are still powered because cooling pad started to work when I connected it to USB port. But as I mentioned, besides that my new dell is completely unresponsive and therefore useless... please HELP...