Contribute
Register

sleep issues

Status
Not open for further replies.
Joined
Mar 4, 2016
Messages
46
Motherboard
Hp envy 17 j053ea
CPU
i7-4700MQ/HM87
Graphics
HD 4600 / GT 740
Mobile Phone
  1. iOS
Laptop Configurations

Important


For HP user's, you must set the following to true in your config.plist:
LapicKernelPanic
UnblockFsConnect

For Dell user's (Skylake and newer), you must set:
CustomSMBIOSGuid -> true
UpdateSMBIOSMode -> custom

If you have a SkyLake system then you can ignore the rest of this section as post 1 config is already set up for you

It may be easier to edit the config.plist from post 1 and make your changes below. You will notice in my config.plist attached in post 1 under PciRoot(0x0)/Pci(0x2,0x0) a model name of HD530, don't forget to remove that section

You can use Propertree available here:

to edit your config.plist in Windows or Mac

Haswell
Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id -> 0500260A (for HD5000, HD5100 and HD5200)
AAPL,ig-platform-id -> 0600260A (for HD4200, HD4400 and HD4600)
device-id -> 12040000 (for HD4200, HD4400 and HD4600 ONLY)

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump
PowerTimeoutKernelPanic

SMBIOS:
MacBookPro11,1

UEFI -> Quirks:
enable:
IgnoreInvalidFlexRatio
ReleaseUsbOwnership

Broadwell
Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id -> 06002616

For HD5600 you need device-id faked to 16260000:
device-id -> 26160000

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump

SMBIOS:
Depends on your graphics:

HD 5300 -> MacBook8,1
HD 5500 -> MacBookPro11,1 or MacBookPro11,2
HD 6000 -> MacBookAir7,1 or MacBookAir7,2
Iris 6100 -> MacBookPro12,1
Iris Pro 5200 -> MacBookPro11,1

UEFI -> Quirks:
enable:
IgnoreInvalidFlexRatio
ReleaseUsbOwnership

Kaby Lake
Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id -> 00001B59

For UHD620 users (Kaby Lake-R), you'll need a device-id spoof:
device-id -> 16590000

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump
PowerTimeoutKernelPanic

SMBIOS:
MacBookPro14,1

UEFI -> Quirks:
enable:
ReleaseUsbOwnership

Coffee Lake and Whisky Lake
Booter Quirks:

enable:
RebuildAppleMemoryMap
SyncRuntimePermissions

disable:
EnableWriteUnprotector

Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id -> 0900A53E (for UHD630)
AAPL,ig-platform-id -> 00009B3E (for UHD620)

may also need a:
device-id -> 9B3E0000

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump
PowerTimeoutKernelPanic

SMBIOS:
MacBookPro15,2

UEFI -> Quirks:
enable:
ReleaseUsbOwnership

Coffee Lake Plus and Comet Lake
will require SSDT-AWAC.aml and SSDT-PMC.aml (don't use SSDT-PMC on Comet Lake)

Booter Quirks:

enable:
DevirtualiseMmio
ProtectUefiServices
RebuildAppleMemoryMap
SyncRuntimePermissions

disable:
EnableWriteUnprotector

Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id -> 0900A53E (for UHD630)
AAPL,ig-platform-id -> 00009B3E (for UHD620)

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump
PowerTimeoutKernelPanic

SMBIOS:
MacBookPro16,1

UEFI -> Quirks:
enable:
ReleaseUsbOwnership

Ice Lake
will require SSDT-AWAC.aml

enable:
DevirtualiseMmio
ProtectUefiServices
RebuildAppleMemoryMap
SyncRuntimePermissions

Device Properties - Add - PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id 01005C8A
device-id 5C8A0000 if needed
change - framebuffer-unifiedmem 000000C0

kernel - quirks:
enable:
DisableIoMapper
PanicNoKextDump
PowerTimeoutKernelPanic

Boot Arguments:
add:
-igfxcdc -igfxdvmt

SMBIOS:
MacBookAir9,1 or MacBookPro16,2

For Coffee Lake Plus and Comet Lake and Ice Lake extra aml files are required that are attached, don't forget to add them to your config.plist, ie from this:
Code:
<key>Add</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>SSDT-EC.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-EC.aml</string>
            </dict>
            <dict>
                <key>Comment</key>
                <string>SSDT-PLUG.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-PLUG.aml</string>
            </dict>

to this:
Code:
<key>Add</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>SSDT-EC.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-EC.aml</string>
            </dict>
            <dict>
                <key>Comment</key>
                <string>SSDT-PLUG.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-PLUG.aml</string>
            </dict>
            <dict>
                <key>Comment</key>
                <string>SSDT-AWAC.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-AWAC.aml</string>
            </dict>
            <dict>
                <key>Comment</key>
                <string>SSDT-PMC.aml</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>SSDT-PMC.aml</string>
            </dict>

It may also be useful to also add in -wegnoegpu as an extra boot argument for those with unsupported dual gpu's

Hi Feartech,
I'm trying to transition away from Clover-OpenCore 0.6.8.
Previously I had followed Rehabman's Guide for HP Envy and used Mojave with Clover r5133.

Installation of Big Sur using OC went well after which I've managed to get battery stats, trackpad,brigtness keys and audio functioning well.

I do need your guidance in getting Sleep to work-been combing through the OC, TonyMacX86 & Insanelymac forums to find a solution.

Attached is the terminal output for "pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to" & IORegistryExplorer for Power Management.

Also attached is my OC 0.6.8 EFI.


Screen Shot 2021-04-15 at 8.12.24 PM.png
 

Attachments

  • EFI.zip
    5.1 MB · Views: 77
Hi Feartech,
I'm trying to transition away from Clover-OpenCore 0.6.8.
Previously I had followed Rehabman's Guide for HP Envy and used Mojave with Clover r5133.

Installation of Big Sur using OC went well after which I've managed to get battery stats, trackpad,brigtness keys and audio functioning well.

I do need your guidance in getting Sleep to work-been combing through the OC, TonyMacX86 & Insanelymac forums to find a solution.

Attached is the terminal output for "pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to" & IORegistryExplorer for Power Management.

Also attached is my OC 0.6.8 EFI.


View attachment 515234
you have 2 SSDT-PLUG, only 1 is needed

assumed that MacBookPro11,1 would be a better choice of SMBIOS

AppleBacklightFixup.kext shouldn't be needed

also try GLAN SSDT and the relevant config.plist rename from Rehabman's repo
 
you have 2 SSDT-PLUG, only 1 is needed

assumed that MacBookPro11,1 would be a better choice of SMBIOS

AppleBacklightFixup.kext shouldn't be needed

also try GLAN SSDT and the relevant config.plist rename from Rehabman's repo
Hi,
Thanks for the prompt response,
The 2 SSDT-PLUGS namely "SSDT-PLUG"-generated in Linux using SSDTTime & "SSDT-PLUG-DRTNIA"-picked up while browsing online in hope to fix the sleep issues on my Haswell Chip.

I've deleted the SSDT-PLUG-DRTNIA from ACPI Folder as well as from Config.plist.

Taken your advice for removing AppleBacklightFixup.kext as well.

Kindly elaborate what you meant by "try GLAN SSDT and the relevant config.plist rename from Rehabman's repo."

Thanks.
 
Hi,
Thanks for the prompt response,
The 2 SSDT-PLUGS namely "SSDT-PLUG"-generated in Linux using SSDTTime & "SSDT-PLUG-DRTNIA"-picked up while browsing online in hope to fix the sleep issues on my Haswell Chip.

I've deleted the SSDT-PLUG-DRTNIA from ACPI Folder as well as from Config.plist.

Taken your advice for removing AppleBacklightFixup.kext as well.

Kindly elaborate what you meant by "try GLAN SSDT and the relevant config.plist rename from Rehabman's repo."

Thanks.
or this one:
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-GPRW.dsl

and the needed rename from here:
 
or this one:
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-GPRW.dsl

and the needed rename from here:
Would you be kind enough to compile the aforementioned SSDT-GPRW in .aml for me?

I can add the necessary changes in Config.plist.
 
Would you be kind enough to compile the aforementioned SSDT-GPRW in .aml for me?

I can add the necessary changes in Config.plist.
i have given you your own thread

you only need to open the file in macIASL and save as aml file
 
Status
Not open for further replies.
Back
Top