DEV Community

Cover image for Fix suspend issues on Dell 7405 2-in-1

Fix suspend issues on Dell 7405 2-in-1

epassaro on October 29, 2020

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...
Collapse
 
mani2jeff profile image
JeffB

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

Collapse
 
epassaro profile image
epassaro

Wich distro are you using? Every distro I know has the grub file in that place.

Collapse
 
mani2jeff profile image
JeffB

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

Thread Thread
 
dpoon profile image
dpoon

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/

Collapse
 
papadako profile image
Papadakos Panagiotis • Edited

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

//External (_SB_.PC00.LPCB.ECDV.CMFC.DLPN, UnknownObj)
//External (_SB_.PC00.LPCB.ECDV.CMFC.IDMN, UnknownObj)
//External (_SB_.PC00.LPCB.ECDV.CMFC.IDPC, UnknownObj)
Enter fullscreen mode Exit fullscreen mode

s2idle is unsafe for me for carrying the laptop since it overheats

Many thanks

Collapse
 
epassaro profile image
epassaro

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.

Collapse
 
sebthesun profile image
Sébastien Beausoleil

@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

Collapse
 
epassaro profile image
epassaro

Glad to hear it was helpful!

No, it's not necessary to update after upgrading the kernel.

Collapse
 
sergeykornien12 profile image
Sergey Kornienko

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!

Collapse
 
dallinatorx profile image
DallinatorX

Man, I wish I had found this sooner.

For anyone wondering, this still works on Ubuntu 22.10 using Wayland on kernal 5.19

Collapse
 
dpiloni profile image
Diego Piloni

Thanks a lot man! Worked perfect for my Dell 7405 2-in-1.

Saludos desde Córdoba :)

Collapse
 
epassaro profile image
epassaro

Me alegro que te haya servido y que tengamos la misma laptop!

Collapse
 
roh_mish profile image
Rohan Mishra

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

Collapse
 
epassaro profile image
epassaro

Hi Rohan, glad to see someone is interested in this guide. I'm using firmware 1.3.0 and Linux kernel 5.10.

Collapse
 
roh_mish profile image
Rohan Mishra

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.

Thread Thread
 
epassaro profile image
epassaro

If you have a Dell 7405 2-in-1 with BIOS v1.3.0 this guide should work. What distro are you using?

Thread Thread
 
roh_mish profile image
Rohan Mishra

I updated to 1.4.0 w/ manjaro. Ill test if that makes it work.

Collapse
 
alokym86 profile image
alokym86

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.

Collapse
 
alokym86 profile image
alokym86

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.

Collapse
 
nkilm profile image
Nikhil Mohite

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

dsdt.dsl     85:     External (_SB_.PC00.LPCB.ECDV.CMFC.DLPN, UnknownObj)
Error    6163 -                                           ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.LPCB.ECDV.CMFC.DLPN)

dsdt.dsl     86:     External (_SB_.PC00.LPCB.ECDV.CMFC.IDMN, UnknownObj)
Error    6163 -                                           ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.LPCB.ECDV.CMFC.IDMN)

dsdt.dsl     87:     External (_SB_.PC00.LPCB.ECDV.CMFC.IDPC, UnknownObj)
Error    6163 -                                           ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.LPCB.ECDV.CMFC.IDPC)
Enter fullscreen mode Exit fullscreen mode

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

Collapse
 
roh_mish profile image
Info Comment hidden by post author - thread only accessible via permalink
Rohan Mishra

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.

Collapse
 
azakharchenkomsol profile image
Andrii Zakharchenko • Edited

How to fix compilation errors like "Object is created temporarily in another method and cannot be accessed"?



dsdt.dsl     86:     External (_SB_.PC00.LPCB.ECDV.CMFC.IDMN, UnknownObj)
Error    6163 -                                           ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.LPCB.ECDV.CMFC.IDMN)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
pb82 profile image
Peter Braun

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.

Collapse
 
epassaro profile image
epassaro

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).

Collapse
 
epassaro profile image
epassaro

I can confirm this is not working on 5.13.0

Thread Thread
 
pb82 profile image
Peter Braun

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.

Thread Thread
 
epassaro profile image
epassaro

It's working on 5.14!

Collapse
 
dpoon profile image
dpoon

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?

Collapse
 
epassaro profile image
epassaro

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 %.

Some comments have been hidden by the post's author - find out more