Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Hello RehabMan, I think I use right patch DSDT, but my sleep function still can't be work, could you please check what's the problem in my DSDT or config.plist? Thanks a lot~~

Code:
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82e22000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y appleintelcpu
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applelpc
   89    0 0xffffff7f82847000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <86 12 5 4 3>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applehda
   94    1 0xffffff7f82b1f000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.7) CFF7F97F-6E1F-3CF9-A8E3-76125E9CA414 <93 92 75 12 7 6 5 4 3 1>
  119    0 0xffffff7f82c8b000 0xb3000    0xb3000    com.apple.driver.AppleHDA (274.7) FE47EADA-C810-3253-BE41-0776D253D256 <118 97 94 93 92 75 12 11 6 5 4 3 1>
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_Intel_Generic_SATA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Soundflower.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBacklight.kext

You will need to describe the specific problem with sleep.
 
Hi Rehabman,

i have a really old Desktop build: asus motherboard (p67) with i5-2XXX (sandy bridge).

I have extracted the DSDT but have no idea which patches should i apply.

Should I also apply all the common patches you mentioned?
Code:
"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
"Fix PNOT/PPNT" (use only if you're dropping CPU related SSDTs)
"Add IMEI" (do not use if your DSDT or SSDTs already have IMEI/HECI/MEI device)

---

And one more question, for this Desktop build, the Speed Stepping doesn't work while using the SSDT generated by ssdtprgen, but Speed Stepping works while just simply letting Clover generate P States.

Do you have any ideas?

Thanks in advance

Off-topic.
This thread is only for laptops. Desktop questions should be posted in the appropriate desktop forum.
 
You will need to describe the specific problem with sleep.
Here is the symptom:
When I wake up my mac, my computer show me the process of turning on my computer, but not the login screen. And after I choose the Mac partition, it appears the "hibernated" word. My mac seems to go to the login screen after I enter the partition; however, my computer starts reboot. The only way I can boot my mac successfully is to press "space" as I choose the partition, and choose "cancel hibernate wake".
 
Here is the symptom:
When I wake up my mac, my computer show me the process of turning on my computer, but not the login screen. And after I choose the Mac partition, it appears the "hibernated" word. My mac seems to go to the login screen after I enter the partition; however, my computer starts reboot. The only way I can boot my mac successfully is to press "space" as I choose the partition, and choose "cancel hibernate wake".

It sounds like you failed to disable hibernation.
 
@RehabMan
Can we use common patches for Desktop?
 
Last edited:
Hi, guys!
Help please! I can't make dsdt.aml from dsdt.dsl - there is no button "Save As" , only "Save" in MaciAsl. How to make .aml file from .dsl?

UPDATE: Sorry, did not see the menu on the top. Now everything is fine)
 
Last edited:
Hi Rehabman,

I dumped my DSTD ad SSDT's with Clover f4, decompiled using your instructions with and without the reg.tx method and I'm still getting some syntax errors after trying to compile my DSDT.dsl file. I doesn't matter whether I apply my patches that I need for my Dell XPS 13 9350 or not, I still receive these errors.-

Code:
6126 - syntax error, unexpected PARSEOP_IF, expecting PARSEOP_CLOSE_PAREN or ','
6126 - syntax error, unexpected PARSEOP_CLOSE_PAREN
6126 - syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

I went into the .dsl file and noticed the weird syntax around line 3952.

Code:
Store (Zero, ECRW (If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }))
                }

Looking at the rest of the code in the file, as an example, I tried to correct it by chnging it to this-
Code:
                If (PM0H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                    Store (Zero, F0LN)
                }

Then error-
Code:
34253, 6126, syntax error, unexpected $end and premature End-Of-File

Not sure what to do to fix it. Tried to look at your Various Syntax Patches, but not sure if any apply to my error.
 

Attachments

  • DSDT.dsl
    1 MB · Views: 100
Last edited:
Back
Top