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 28
  • 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

Sadly. My other Razer Blade can Wake up with Internal Keyboard/Trackpad just fine, I've installed it on a few Dells and Dell seems to have issues with Wake up with Internal Keyboard,.

Link to comment
Share on other sites

  • Administrators

No, they don't have any issue on the matter; they just don't support this, even in other OS like Windows. The only thing you can wake through keyboard and touchpad is the screen.

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...