Jump to content
PayPal donations: [email protected] ×
ntrung03

E6230 OpenCore sleep failure on EFI

Recommended Posts

Hi,

 

I am using Catalina(10.15.6/19G2021) on Dell Latitude E6230, BIOS version A11 (no battery for updating)

The wifi chip is DW1510, BT is DW380

 

The patched DSDT cause the machine to boot and the screen will go dark when it reach the login screen.

As a result, I worked on a dynamic (hot patch) DSDT

 

Backlight, audio, trackpad, USB3, ...etc are working nicely. Also the boot time is way better than Clover.

 

BTW, The backlight hotkeys(fn+arrow up/down) (IOWMIFamily) haven't work yet for now, but I will be working on that and will update soon.

 

Except when the machine go into sleep mode, It restarts with this log

 

Sleep Wake failure in EFI

Failure code:: 0xffffffff 0x0000001f

Please IGNORE the below stackshot

================================================================
Date/Time:        2020-08-19 19:19:41 +0700
OS Version:       ??? ??? (Build ???)
Architecture:     x86_64
Report Version:   29

Data Source:      Stackshots
Shared Cache:     0xf32000 8CEC7810-03FA-3C33-AD6A-609CD0C6299E

Event:            Sleep Wake Failure
Duration:         0.00s
Steps:            1

Time Awake Since Boot: 33s



Process:          swd [351]
Architecture:     x86_64
Footprint:        416 KB
Start time:       2020-08-19 19:19:41 +0700
End time:         2020-08-19 19:19:41 +0700
Num samples:      1 (1)

  Thread 0x887    1 sample (1)    priority 3 (base 4)
  <thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2>
  1  start + 1 (libdyld.dylib + 109769) [0x7fff68216cc9] 1
    1  ??? [0x100ce4454] 1
      1  ??? [0x100ce41dd] 1
        1  __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 135862) [0x7fff683782b6] 1
         *1  ??? [0xffffff80002c1206] 1
           *1  ??? [0xffffff8000984c37] 1
             *1  ??? [0xffffff800089d7c1] 1
               *1  ??? [0xffffff80002e49e7] (running) 1

  Binary Images:
        0x7fff681fc000 -     0x7fff68232fff  libdyld.dylib (750.6)               <789A18C2-8AC7-3C88-813D-CD674376585D>  /usr/lib/system/libdyld.dylib
        0x7fff68357000 -     0x7fff68383fff  libsystem_kernel.dylib (6153.141.1) <2B6311E6-6240-3EF7-8C87-475B66F7452C>  /usr/lib/system/libsystem_kernel.dylib
# pmset -g

System-wide power settings:
Currently in use:
 standbydelaylow      4200
 standby              0
 womp                 1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 networkoversleep     0
 disksleep            10
 standbydelayhigh     4200
 sleep                10 (sleep prevented by coreaudiod)
 autopoweroffdelay    259200
 hibernatemode        0
 autopoweroff         0
 ttyskeepawake        1
 displaysleep         10
 highstandbythreshold 50
 lidwake              1

 

I appreciate all your help.

Thanks a lot.

 

A few side questions:

- The machine always restarts on shutdown, even when I shutdown with an Arch Linux live usb, Resetting BIOS default/EC Reset doesn't work for me. Does anybody have the same issue? I think it has something to do with my battery, which cannot even hold any charge.

OC.zip

Share this post


Link to post
Share on other sites

Recently got backlight hotkey working. Here is the EFI folder (A11 BIOS)

 

The sleep issue still persists.

P/s: for anyone struggling with this issue, you can try Block Sleep (S3 state) from BIOS. It works. Can't fail if you don't sleep at all :) (Mind your power usage if you are running on battery)

 

Before using this patch, please make sure that the ACPI patch _OSI to XOSI is done correctly because the number '14' is DSDT-dependent(BIOS version ig).

 

The issue is that "\SB.OSID" would be compiled to "SB_OSID" which makes the replacement done incorrectly

P/s: you might want to checkout iasl -l (the lowercase L)

 

P/s2: The sleep/wake failure issue still persists even on A20 BIOS, updating BIOS might cause Wifi and Bluetooth to stop working. However, if you still want to do so, you can fix the issue by using SSDTTime to generate FixHPET patches for the dumped DSDT(use linux), remember to add the new ACPI patches and remove the old ones from config.plist. Block Sleep (S3 state) should stay ticked. It glitches the graphics on shutdown.

 

OC.zip

Share this post


Link to post
Share on other sites

Hi

you can update your dell bios without battery with /forceit command line switch. For instance, from a CMD/DOS window:

E6230A20.exe /forceit

 

Share this post


Link to post
Share on other sites

×
×
  • Create New...