Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

output from:
kextstat|grep -y acpiplat

Code:
$ kextstat|grep -y acpiplat
   15    2 0xffffff7f82c6e000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>
kextstat|grep -y appleintelcpu
nothing is shown

kextstat|grep -y applelpc
Code:
110    0 0xffffff7f825d1000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <93 12 5 4 3>
kextstat|grep -y applehda
Code:
114    0 0xffffff7f82aff000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <113 112 87 12 7 6 5 4 3 1>
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
Code:
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
pmset -g assertions
Code:
2017-11-19 08:56:08 +0000 
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 95(hidd): [0x0000004b00098016] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294967951.3" 
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=501  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d130000 owner=802.11n NIC
   id=502  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d170000 owner=IOUSBHostDevice
   id=503  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d160000 owner=Touchscreen
   id=504  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d150000 owner=Integrated_Webcam_HD
Idle sleep preventers: IODisplayWrangler

pmset -g
Code:
Currently in use:
hibernatemode        0
displaysleep         10
lidwake              1
sleep                10
disksleep            10
Sleep On Power Button 1
ttyskeepawake        1
hibernatefile        /var/vm/sleepimage
autorestart          0
gpuswitch            2

system_profiler SPSerialATADataType|grep TRIM
nothing is shown
 

Attachments

  • DELL 7548-origin-patchmatic.zip
    105.7 KB · Views: 64
  • CLOVER.zip
    2.1 MB · Views: 78
  • Odylight’s MacBook Pro-ioreg.zip
    439.1 KB · Views: 78
  • origin-DSDT-SSDT.zip
    51.8 KB · Views: 75
output from:
kextstat|grep -y acpiplat

Code:
$ kextstat|grep -y acpiplat
   15    2 0xffffff7f82c6e000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>
kextstat|grep -y appleintelcpu
nothing is shown

kextstat|grep -y applelpc
Code:
110    0 0xffffff7f825d1000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <93 12 5 4 3>
kextstat|grep -y applehda
Code:
114    0 0xffffff7f82aff000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <113 112 87 12 7 6 5 4 3 1>
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
Code:
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
pmset -g assertions
Code:
2017-11-19 08:56:08 +0000
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 95(hidd): [0x0000004b00098016] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294967951.3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=501  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d130000 owner=802.11n NIC
   id=502  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d170000 owner=IOUSBHostDevice
   id=503  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d160000 owner=Touchscreen
   id=504  level=255 0x4=USB mod=01/01/1970 00:00 description=com.apple.usb.externaldevice.1d150000 owner=Integrated_Webcam_HD
Idle sleep preventers: IODisplayWrangler

pmset -g
Code:
Currently in use:
hibernatemode        0
displaysleep         10
lidwake              1
sleep                10
disksleep            10
Sleep On Power Button 1
ttyskeepawake        1
hibernatefile        /var/vm/sleepimage
autorestart          0
gpuswitch            2

system_profiler SPSerialATADataType|grep TRIM
nothing is shown

There are no patched ACPI files in ACPI/patched.
Your config.plist is not a good starting point.
For patching ACPI, read post #1 here.
And see guide for better starter plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
There are no patched ACPI files in ACPI/patched.
Your config.plist is not a good starting point.
For patching ACPI, read post #1 here.
And see guide for better starter plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Here is the good one with ACPI/patched files...

& about the config.plist I used, it's the one which allowed me to reach the OS X desktop screen ... when I used the Config.plis for HD5500 you gave in your repo's GitHub I stuck at logo apple's screen.
 

Attachments

  • CLOVER 2.zip
    2.1 MB · Views: 98
Here is the good one with ACPI/patched files...

Your ACPI configuration is wrong.
Based on ACPI/origin, you should have in ACPI/patched:
DSDT.aml
SSDT-PNLF.aml
SSDT-DiscreteSpoof.aml (keep in mind that is only for short term use, usually during the installer only)
SSDT-0-SataTabl.aml
SSDT-1-Ther_Rvp.aml
SSDT-2-Cpu0Ist.aml
SSDT-3-CpuSsdt.aml
SSDT-4-DptfTabl.aml
SSDT-5-SaSsdt.aml
SSDT-6-SgPch.aml
SSDT-7-AmdTabl.aml
SSDT-8-IsctTabl.aml

Then config.plist settings:
config.plist/ACPI/SSDT/DropOem=false
config.plist/ACPI/SSDT/Generate/PluginType=true
config.plist/ACPI/AutoMerge=true

SSDT-DiscretSpoof.aml should be removed after you disable the AMD card.
Read this guide:
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/

& about the config.plist I used, it's the one which allowed me to reach the OS X desktop screen ... when I used the Config.plis for HD5500 you gave in your repo's GitHub I stuck at logo apple's screen.

No idea without "problem reporting" files.
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Hello, I am confused with the word add-on SSDT and patched SSDT.
I have only these 2 files inside the patched folder: SSDT-XOSI.aml and also SSDT.aml file generated from ssdtPRGen.sh
Can you tell me, what are they considered as?
I assume for my case I do not use MaciASL to modify the files, so I will follow the clover setting according to Full hotpatch:
DropOem=false
AutoMerge=false
Is this correct?
 
Last edited:
Hello, I am confused with the word add-on SSDT and patched SSDT.
I have only these 2 files inside the patched folder: SSDT-XOSI.aml and also SSDT.aml file generated from ssdtPRGen.sh
Can you tell me, what are they considered as?

Patched SSDTs are SSDTs that came from ACPI/origin and have been changed or recompiled.
Add-on SSDTs are those SSDTs that were created from scratch... content did not exist in ACPI/origin.
SSDT-XOSI.aml and SSDT.aml (from ssdtPRgen.sh) are both examples of add-on SSDTs.

I assume for my case I do not use MaciASL to modify the files, so I will follow the clover setting according to Full hotpatch:
DropOem=false
AutoMerge=false
Is this correct?

Recommended configuration with current Clover is always:
DropOem=false
AutoMerge=true
 
Hi. I am having some issues with this. Everytime I try to compile the created dsl file i get around four errors. I have installed the newest MaciASL, and I have installed the newest iasl from Github via commands (just like the guide said i could). But every time i create an DSDT.dsl file (with iasl in terminal) and I open it in MaciASL and try to even just compile it without adding any patches, it displays four errors. I Have attached the files I worked with. The DSDT.dsl it the file I tried to compile. It is created from the DSDT.aml, which I created with clover using f4. It is also worth mentioning that I am running OSX El Capitan.
 

Attachments

  • Screen Shot 2017-11-20 at 15.53.10.png
    Screen Shot 2017-11-20 at 15.53.10.png
    6.4 MB · Views: 91
  • DSDT.dsl
    1.1 MB · Views: 111
  • DSDT.aml
    148.6 KB · Views: 144
  • MaciASL.app.zip
    3.5 MB · Views: 80
Hi. I am having some issues with this. Everytime I try to compile the created dsl file i get around four errors. I have installed the newest MaciASL, and I have installed the newest iasl from Github via commands (just like the guide said i could). But every time i create an DSDT.dsl file (with iasl in terminal) and I open it in MaciASL and try to even just compile it without adding any patches, it displays four errors. I Have attached the files I worked with. The DSDT.dsl it the file I tried to compile. It is created from the DSDT.aml, which I created with clover using f4. It is also worth mentioning that I am running OSX El Capitan.

Use refs.txt during disassembly as per guide, post #1.
 
Use refs.txt during disassembly as per guide, post #1.
Thanks, that fixed almost all errors, but there is still one. When I click on it, it does not refer to any specific line, just an area.
 

Attachments

  • Screen Shot 2017-11-20 at 16.38.15.png
    Screen Shot 2017-11-20 at 16.38.15.png
    5.7 MB · Views: 121
Back
Top