UPDATE SEPTEMBER 2021. S3 suspension was fixed on kernel 5.14 and this guide works again.
>UPDATE MARCH 2021. A patch to enable S0ix state on...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Thanks so much for your clear instructions. Everything was as indicated down to Step 7, but I am not able to update GRUB. There was no /etc/default/grub file but I added as I understood your instructions. (Note that my machine is dual booting with Windows 10 as well with UEFI enabled. There doesn't seem to be any use of GRUB, I select the OS with the BOOT menu F12). No apparent change in the configuration. Any assistance would be appreciated.
I have been able to tweak the Windows Registry to disable Modern/Connect Standby, which was a terrible nuisance. Now working to update POP_OS too.
Thanks
Wich distro are you using? Every distro I know has the grub file in that place.
I was using POP!_OS 20.04 LTS, but I have abandon the machine and returned it. So, unfortunately, there is no exploration to pursue here. Thanks. I plan to get another machine and will try POP!_OS there when I have time.
Jeff
pop os use systemd-boot for UEFI. You will have to modify /boot/efi/loader/entries/Pop_OS-current.conf. The CPIO archive need to be placed inside /boot/efi/EFI/
I tried to apply the process to my Dell 7430 and Ubuntu 22.04, and although I managed to enable deep sleep in the kernel, unfortunately my laptop never exits deep sleep (BIOS version 1.7.0)
Any comments / suggestions?
Btw, my dsdt.dsl had 3 errors which I resolved by uncommenting lines 105/106/107
s2idle is unsafe for me for carrying the laptop since it overheats
Many thanks
I don't know so much about DSDT tables, the 7405 workarounds were really simple. I'd suggest using a cutting edge distro like openSUSE Tumbleweed and see if newer kernels provide better s2idle support.
@epassaro THANK YOU, you save my computer and my times.
I applied your instructions and it solves my problem.
I have a question, if I update the linux kernel, will I have to re apply those instructions?
Thank
Glad to hear it was helpful!
No, it's not necessary to update after upgrading the kernel.
Dear epassaro,
Thanks so much for your researching and clear instructions.
You saved life for my laptop Dell Vostro 5515 which wasn't work in S3 state by default with my Fedora 35/36 and kernel 5.16.xx - 5.18.xx.
I repeated all steps it had some differences but it completed ok finally and I got acpi_override.
Everytime when I tried to send my laptop to S3 it died completely and wasn't power on after until I disassemble laptop, disconnect battery for a short time and connect again.
You can imagine this "funny" procedure :)
Now it works perfectly! :) My appreciate!
Man, I wish I had found this sooner.
For anyone wondering, this still works on Ubuntu 22.10 using Wayland on kernal 5.19
Thanks a lot man! Worked perfect for my Dell 7405 2-in-1.
Saludos desde Córdoba :)
Me alegro que te haya servido y que tengamos la misma laptop!
Hey may i ask which firmware are you running/ is it working with newer firmwares? I tried to edit table and enable s3 sleep but it turned out that it wont resume properly from sleep and it looked like something else was broken in firmware as well. The last time i compiled it wouldnt show s3 no matter what i did
Hi Rohan, glad to see someone is interested in this guide. I'm using firmware 1.3.0 and Linux kernel 5.10.
Huh. Thats weird. 1.3.0 doesnt want to show s3 support even when i force it. I just installed 1.4.0 so ill try redoing it later tomorrow.
If you have a Dell 7405 2-in-1 with BIOS v1.3.0 this guide should work. What distro are you using?
I updated to 1.4.0 w/ manjaro. Ill test if that makes it work.
Thank you for sharing such an experience. I adapted your instruction for my HP Laptop 15s-eq1 (AMD Ryzen 3 4300U, Linux Mint 20.2, kernel 5.10). And... Finally, there is the support of S3 state in dmesg (the output in step 8 is the same as yours). The laptop suspends to RAM!.. But can't wake after.
With kernel 5.14-rc5 my laptop wakes up like a charm)
Without your DSDT magic, suspending/wake up does not works even on 5.14-rc5.
Hey man!
I'm facing the same error on my dell laptop. Saw your blog mentioned in here. I'm stuck in step 2. I had 3 errors in
iasl_errors.txt
file before the replacement of return statements.iasl_errors.txt
But after replacing all the return statements, the errors were not fixed rather I got 72 errors. I need your help in fixing this. Thank you!
My laptop specs:
Dell Inspiron 15 3000
Dual boot - win 10 and ubuntu 22.04
8gb ram
256gb sdd + 1tb hdd
Hey may i ask which firmware are you running/ is it working with newer firmwares? I tried to edit table and enable s3 sleep but it turned out that it wont resume properly from sleep and it looked like something else was broken in firmware as well.
How to fix compilation errors like "Object is created temporarily in another method and cannot be accessed"?
Your fix appears to work for the Dell Inspiron 5515 (Ryzen 7 5700u) and Kernel 5.10. Thanks a lot! I'm staying on the Kernel version for now and will give 5.13 a try once released.
This is not going to be fixed soon. I would stay tuned to the GitLab discussion and look for the right kernel to update (hopefully 5.14).
I can confirm this is not working on 5.13.0
Thanks for the heads up. A lot of the discussion on Gitlab seems to be about making modern standby work. I'm hoping that 5.14 is also going to address the broken S3.
It's working on 5.14!
Thanks! The guide works for my Dell with 5.14 kernel. I can now get to S3 Deep sleep.
However, I am still losing 8% of battery in ~10 hours during S3 sleep. Is this the case for you?
I didn't measure the amount of battery loss during sleep, but I don't think that's my case. Did you check the computer is entering in S3 with
dmesg
?.I'm going to keep my computer suspended tonight and see the %.