Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

MaciASL->Preferences->iASL.



Saving patched files to the correct location is covered in post #1.


My dsdt.dsl has no errors but dsdt.aml got 2, also dsdt.dsl cant be patched with the patches for battery indicator while dsdt.aml can be patched with same text, apply button is unclickable for .dsl. What should i do?
 
My dsdt.dsl has no errors but dsdt.aml got 2, also dsdt.dsl cant be patched with the patches for battery indicator while dsdt.aml can be patched with same text, apply button is unclickable for .dsl. What should i do?

No reason to open your patched DSDT.aml. Read post #1. Carefully.
 
So how can i patch if dsdt.dsl is not letting me press apply button on patch window? Also the dsdt.aml will patch itself by patching the .dsl?

You will need to be specific.

Post the DSDT.dsl and be clear about which patch you're trying to apply.

Clairvoyance is not one of my skills.
 
You will need to be specific.

Post the DSDT.dsl and be clear about which patch you're trying to apply.

Clairvoyance is not one of my skills.


Patch:

Code:
into device label EC0 code_regex ENIB,\s+16 replace_matched begin NIB0,8,NIB1,8 end;
into device label EC0 code_regex ERIB,\s+16 replace_matched begin RIB0,8,RIB1,8 end;


into method label _REG code_regex \(ENIB, replaceall_matched begin (B1B2(NIB0,NIB1), end;
into method label _REG code_regex \(ERIB, replaceall_matched begin (B1B2(RIB0,RIB1), end;






into device label EC0 code_regex SMD0,\s+256 replace_matched 
begin
//SMD0, 256,\n
SD00,8,SD01,8,SD02,8,SD03,8,\n
SD04,8,SD05,8,SD06,8,SD07,8,\n
SD08,8,SD09,8,SD0A,8,SD0B,8,\n
SD0C,8,SD0D,8,SD0E,8,SD0F,8,\n
SD10,8,SD11,8,SD12,8,SD13,8,\n
SD14,8,SD15,8,SD16,8,SD17,8,\n
SD18,8,SD19,8,SD1A,8,SD1B,8,\n
SD1C,8,SD1D,8,SD1E,8,SD1F,8
end;







DSDT.asl attached
 

Attachments

  • DSDT.dsl.zip
    42.9 KB · Views: 65
Patch:

Code:
into device label EC0 code_regex ENIB,\s+16 replace_matched begin NIB0,8,NIB1,8 end;
into device label EC0 code_regex ERIB,\s+16 replace_matched begin RIB0,8,RIB1,8 end;


into method label _REG code_regex \(ENIB, replaceall_matched begin (B1B2(NIB0,NIB1), end;
into method label _REG code_regex \(ERIB, replaceall_matched begin (B1B2(RIB0,RIB1), end;






into device label EC0 code_regex SMD0,\s+256 replace_matched 
begin
//SMD0, 256,\n
SD00,8,SD01,8,SD02,8,SD03,8,\n
SD04,8,SD05,8,SD06,8,SD07,8,\n
SD08,8,SD09,8,SD0A,8,SD0B,8,\n
SD0C,8,SD0D,8,SD0E,8,SD0F,8,\n
SD10,8,SD11,8,SD12,8,SD13,8,\n
SD14,8,SD15,8,SD16,8,SD17,8,\n
SD18,8,SD19,8,SD1A,8,SD1B,8,\n
SD1C,8,SD1D,8,SD1E,8,SD1F,8
end;







DSDT.asl attached

The DSDT.dsl is already patched with this same patch. As should be expected, none of the regex matches.
 
So i just need to move all files to /EFI/CLOVER/ACPI/patched to get it working?

Well, you should read post #1 to be certain you know what is involved in transitioning to patched ACPI.
 
hello rehabman !!!
do you recommend to remove dsm methods in my
DSDT.dsl
SSDT-0.dsl
SSDT-7.dsl
SSDT-8.dsl
?
 

Attachments

  • origin.zip
    34.9 KB · Views: 63
Back
Top