Jump to content

Latitude 5310 KP on sleep (Sleep Wake Failure in EFI)


scram69
Go to solution Solved by hidematu5310,

Recommended Posts

I did pmset restoredefaults again, and added your SSDT-S3 from the above post ("deepsleep_off").

I also disabled Low Power S0 Idle Capability in BIOS as you recommended:

>setup_var.efi 0x14 0x0 -n Setup

 

Using hibernatemode 25 the machine now hibernates with no battery discharge, and I can wake from the power button.

 

Thank you again for your work solving sleep for this model!

Link to comment
Share on other sites

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

On 6/15/2024 at 9:43 PM, hidematu5310 said:

Update 3:

hibernatemode 3 battery drain test for 1 hour.

Set standbydelay to about 5 minutes(300).


100% -> 98%

 

Update 4:

Fixed a potential problem where trackpad would stop working after rebooting from Windows or after Wake.

 

Update 5:

probably fixed instant wake on AC

recommended to add darkwake=0

 

SSDT-S3_upd5.zip 819 B · 1 download

 

I tried the "update 5" SSDT, but would get a wake on AC that triggered the Dell Diagnostic menu to run a test on the hard drive, causing the fan to spin at full speed.

"Update 2" SSDT still works for hibernatemode 25 (direct to hibernate), but for hibernatemode 3, I get video glitches after S3 sleep.

 

Would it be possible for you to re-post update 3?  Thanks!

Link to comment
Share on other sites

Try removing darkwake=x and changing it to hbfx-ahbm=129 and adding igfxfw=2.

 

If it does not work, remove this part of ssdt and test.

Name (SLTP, Zero)
Method (_TTS, 1, NotSerialized) // _TTS: Transition To State
{
    SLTP = Arg0
    If ((PWRS == Zero)){}
}

 

If it still does not work, try enable S3 as shown in the second image below.

 

 

ACPI Sleep State S3 (Suspend to RAM):

setup_var_cv Setup 0x6A5 0x1 0x2

 

S3 Video Repost:

setup_var_cv Setup 0x6A8 0x1 0x1

 

Link to comment
Share on other sites

@hidematu5310 
Hi,

 

Thanks for your great contributions. I have the same machine as you with the following configuration:

Dell Latitude 5310
CPU: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
RAM: 32GB DDR4 2400MHz
IGPU: UHD Graphics (I don't know if it's UHD630 or UHD620 exactly)
SSD: Kioxia BG4 Dram-less 256GB
Wifi & Bluetooth: AC9260

 

My machine is a little different in that I don't need to Disable RTC Memory Lock or Disable S0 with Mod Grub for it to still be able to Sleep normally. Except if I Disable S3 Sleep then I won't be able to Sleep anymore (I'm not using your SSDT-S3 either)

 

The only problem I have is that I can't Wake the machine from Sleep/Hibernation 25 using Internal Keyboard or Trackpad. I can only Wake it using the power button.

 

I wonder if there is any solution to the problem of not being able to Wake up using Internal Keyboard, Trackpad?. If you know anything, I hope you can help. Thank you very much

Link to comment
Share on other sites

  • Administrators
5 minutes ago, hoaug said:

[...]

The only problem I have is that I can't Wake the machine from Sleep/Hibernation 25 using Internal Keyboard or Trackpad. I can only Wake it using the power button.

[...]

Afaik, that's pretty standard on Hackintosh laptops and most certainly on all the Dell ones I've had (and I've had a few...).

Link to comment
Share on other sites

Hello guys, i love the work you are doing here. Did you enable undervolt with Voltageshift? It gives a HUGE boost in performance + battery life. DIsabling CFG Lock and Overclocking Lock fwith setup_var is required. https://github.com/sicreative/VoltageShift

Also, i found that enabling Dell Sensors kills realtime performance for audio. I guess some sensor polling takes resources.

I want to make my 5410 perfect for audio production, will try to get Thunderbolt for my UAD audio card working. My current 7400 has no issues, but the battery is dead and the keys are working bad, i figured out i might aswell try a new machine with much bigger battery.

Link to comment
Share on other sites

I can confirm undervolt is working with :

setup_var.efi 0xDA 0x0 -n CpuSetup

and FF0F0000 for CSR, using VoltageShift

I am currently testing my 10310u, my 8365u was doing 100 70 100 55 70 70 as stable offsets, these values are crashing now so testing 80 60 80 40 60 60

-- EDIT: also TDP setting works, i can put any value as long (PL1), it was 15 by default. I still have to mod the cooling to actually take advantage of this

Link to comment
Share on other sites

There was a problem with RTC Memory Unclok causing the power to automatically turn on when the AC adapter is plugged in.

 

config.plist-NVRAM-Add-4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102-rtc-blacklist

 

80818283 84858687 88898A8B 8C8D8E8F 90919293 94959697 98999A9B 9C9D9E9F A0A1A2A3 A4A5A6A7 A8A9AAAB

 

Add the above and perform RTC Reset.

 

Press and hold the power button until the power light blinks three times.

Then set CFG Unclok and Low Power S0 Idle Capability to Disabled.

 

CFG Unlock
setup_var_cv CpuSetup 0x3E 0x11 0x00

 

Low Power S0 Idle Capability disabled
setup_var_cv Setup 0x14 0x1 0x0

 

Fixed Sleep issue and RTC Memory Unlock causing AC power to automatically turn on.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...