Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

What a nice job !

Thanks for your work, Mr. Rehabman . :thumbup:

I can learn lots of useful knowledge from this thread .

And here is my MaciASL patch source. Because I haven't enough knowledge, so I just can make some simple patch. And I think you can modify part of them better. Then add to your patch source.

For example, in my patch: syntax/SSDT_P8XH_Error_Fix.txt, it generally appears in some ivy bridge Asus laptops's SSDT. I made this patch to fix this error, but I'm not sure this is a correct way to fix it. If you can make a better patch, that will be wonderful.
https://github.com/Yuki-Judai/dxxs-DSDT-Patch

Sorry for my poor English, and thanks for your work again.
:thumbup:
 
Which condition (BIOS options selected) may cause those difference that I can repeat and test?

Not possible to predict. Laptop/BIOS specific. You can test to see if SystemMemory (or other OperationRegion) addresses change.
 
Not possible to predict. Laptop/BIOS specific. You can test to see if SystemMemory (or other OperationRegion) addresses change.
Have you know these change happens on some Laptop? If it is, what conditions trigger the change?
 
Yes.
As already mentioned, the conditions vary depending on laptop.
If I am not misunderstand, from your information, those changes can cause extracted ACPI files size changes even on a specific laptop, with the same BIOS version?
 
If I am not misunderstand, from your information, those changes can cause extracted ACPI files size changes even on a specific laptop, with the same BIOS version?

File sizes may or may not be different.
As per post #1, OperationRegion addresses may change depending on BIOS version, BIOS options, hardware installed, RAM installed, etc.
 
Overview
Advanced users may wish to implement hotpatching via Clover. See guide here: http://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/

As a result, it is a good idea to use Clover and its FixRegions feature. You can find the details in the Clover Wiki. All of the config.plist files in the Clover laptop guide use this feature. Note: Only floating regions in DSDT can be fixed by FixRegions. Floating regions in SSDTs are problematic and there is no good solution other than to not provide patched SSDTs for SSDTs subject to randomly floating regions. Working around floating regions in patched SSDTs is beyond the scope of this guide.
I can understand that the original OME SSDT *.aml file contains the repair of the dynamic floating area, and clover can't fix the area? As you mentioned above, changes to the virtualization options in the BIOS must be retaken to repair *.aml files?
 
I can understand that the original OME SSDT *.aml file contains the repair of the dynamic floating area, and clover can't fix the area? As you mentioned above, changes to the virtualization options in the BIOS must be retaken to repair *.aml files?

FixRegions is generally a bad idea (it is buggy... I have now mentioned this in post #1).
 
Hi everyone!

I just started working on the DSDT for my Thinkpad X230t with i3-2370/HD3000 and I have a quick question about duplicate files from Clover. I was reading the beginning of this thread, (no, I haven't read all 241 pages yet! :lol:), and I just wanted to verify that I'm deleting the right files. ls -l SSDT*.aml gives me this:


zog$ ls -l SSDT*.aml

-rwxrwxrwx 1 anika staff 1960 19 Aug 2017 SSDT-0.aml
-rwxrwxrwx 1 anika staff 3193 19 Aug 2017 SSDT-1.aml
-rwxrwxrwx 1 anika staff 2691 19 Aug 2017 SSDT-2.aml
-rwxrwxrwx 1 anika staff 3193 19 Aug 2017 SSDT-3.aml
-rwxrwxrwx 1 anika staff 771 19 Aug 2017 SSDT-3x.aml
-rwxrwxrwx 1 anika staff 2691 19 Aug 2017 SSDT-4.aml
-rwxrwxrwx 1 anika staff 2561 19 Aug 2017 SSDT-4x.aml
-rwxrwxrwx 1 anika staff 281 19 Aug 2017 SSDT-5x.aml
-rwxrwxrwx 1 anika staff 2561 19 Aug 2017 SSDT-6x.aml
-rwxrwxrwx 1 anika staff 281 19 Aug 2017 SSDT-7x.aml

Based on what I'm seeing, I think that I should re,ove the followning .aml's:

SSDT-3.aml
SSDT-4.aml
SSDT-6x.aml
SSDT-7x.aml

Can anyone verify that this is correct?

Thanks!

zog
 
Back
Top