Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

ok so ...
i create a folder in desktop " Patch Folder " i copy the DSDT and SSDT files y download de IASL file and put it the same folder .. in terminal i execute
iasl -da -dl *.aml

and this is the result
Last login: Wed Nov 2 14:36:20 on console

leo-marbors-mbp:~ leo_marbor$ cd ~/Desktop

leo-marbors-mbp:Desktop leo_marbor$ cd/Users/leo_marbor/Desktop/patch\ folder iasl -da -dl *.aml

leo-marbors-mbp:Desktop leo_marbor$ iasl -da -dl *.aml


Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20160422-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Could not open input file: No such file or directory

Could not get ACPI tables from *.aml, AE_NOT_EXIST

leo-marbors-mbp:Desktop leo_marbor$

leo-marbors-mbp:Desktop leo_marbor$ cd/Users/leo_marbor/Desktop/patch\ folder iasl -da -dl *.aml

-bash: cd/Users/leo_marbor/Desktop/patch folder: No such file or directory

leo-marbors-mbp:Desktop leo_marbor$ cd /Users/leo_marbor/Desktop/patch\ folder

leo-marbors-mbp:patch folder leo_marbor$ iasl -da -dl *.aml


Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20160422-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Input file DSDT.aml, Length 0xD433 (54323) bytes

ACPI: DSDT 0x0000000000000000 00D433 (v02 MSI_NB MEGABOOK 00000030 INTL 20120711)

External object resolution file SSDT-9.aml

Input file SSDT-9.aml, Length 0x3550 (13648) bytes

ACPI: SSDT 0x0000000000000000 003550 (v01 SaSsdt SaSsdt 00003000 INTL 20091112)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-8.aml

Input file SSDT-8.aml, Length 0x315 (789) bytes

ACPI: SSDT 0x0000000000000000 000315 (v01 SataRe SataTabl 00001000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-7x.aml

Input file SSDT-7x.aml, Length 0x119 (281) bytes

ACPI: SSDT 0x0000000000000000 000119 (v01 PmRef ApCst 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-6x.aml

Input file SSDT-6x.aml, Length 0x3EA (1002) bytes

ACPI: SSDT 0x0000000000000000 0003EA (v01 PmRef Cpu0Cst 00003001 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-5x.aml

Input file SSDT-5x.aml, Length 0x5AA (1450) bytes

ACPI: SSDT 0x0000000000000000 0005AA (v01 PmRef ApIst 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-4x.aml

Input file SSDT-4x.aml, Length 0x575 (1397) bytes

ACPI BIOS Warning (bug): Incorrect checksum in table [SSDT] - 0xDF, should be 0xB5 (20160422/tbprint-301)

ACPI: SSDT 0x0000000000000000 000575 (v01 PmRef Cpu0Ist 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-3.aml

Input file SSDT-3.aml, Length 0xAD8 (2776) bytes

ACPI: SSDT 0x0000000000000000 000AD8 (v01 PmRef CpuPm 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-2.aml

Input file SSDT-2.aml, Length 0x575 (1397) bytes

ACPI: SSDT 0x0000000000000000 000575 (v01 PmRef Cpu0Ist 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)

ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)

Could not parse external ACPI tables, AE_ALREADY_EXISTS

leo-marbors-mbp Match folder leo_marbor$


nothing hapens no duplicate . DSL files ...
 
ok so ...
i create a folder in desktop " Patch Folder " i copy the DSDT and SSDT files y download de IASL file and put it the same folder .. in terminal i execute
iasl -da -dl *.aml

and this is the result
Last login: Wed Nov 2 14:36:20 on console

leo-marbors-mbp:~ leo_marbor$ cd ~/Desktop

leo-marbors-mbp:Desktop leo_marbor$ cd/Users/leo_marbor/Desktop/patch\ folder iasl -da -dl *.aml

leo-marbors-mbp:Desktop leo_marbor$ iasl -da -dl *.aml


Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20160422-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Could not open input file: No such file or directory

Could not get ACPI tables from *.aml, AE_NOT_EXIST

leo-marbors-mbp:Desktop leo_marbor$

leo-marbors-mbp:Desktop leo_marbor$ cd/Users/leo_marbor/Desktop/patch\ folder iasl -da -dl *.aml

-bash: cd/Users/leo_marbor/Desktop/patch folder: No such file or directory

leo-marbors-mbp:Desktop leo_marbor$ cd /Users/leo_marbor/Desktop/patch\ folder

leo-marbors-mbp:patch folder leo_marbor$ iasl -da -dl *.aml


Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20160422-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Input file DSDT.aml, Length 0xD433 (54323) bytes

ACPI: DSDT 0x0000000000000000 00D433 (v02 MSI_NB MEGABOOK 00000030 INTL 20120711)

External object resolution file SSDT-9.aml

Input file SSDT-9.aml, Length 0x3550 (13648) bytes

ACPI: SSDT 0x0000000000000000 003550 (v01 SaSsdt SaSsdt 00003000 INTL 20091112)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-8.aml

Input file SSDT-8.aml, Length 0x315 (789) bytes

ACPI: SSDT 0x0000000000000000 000315 (v01 SataRe SataTabl 00001000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-7x.aml

Input file SSDT-7x.aml, Length 0x119 (281) bytes

ACPI: SSDT 0x0000000000000000 000119 (v01 PmRef ApCst 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-6x.aml

Input file SSDT-6x.aml, Length 0x3EA (1002) bytes

ACPI: SSDT 0x0000000000000000 0003EA (v01 PmRef Cpu0Cst 00003001 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-5x.aml

Input file SSDT-5x.aml, Length 0x5AA (1450) bytes

ACPI: SSDT 0x0000000000000000 0005AA (v01 PmRef ApIst 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-4x.aml

Input file SSDT-4x.aml, Length 0x575 (1397) bytes

ACPI BIOS Warning (bug): Incorrect checksum in table [SSDT] - 0xDF, should be 0xB5 (20160422/tbprint-301)

ACPI: SSDT 0x0000000000000000 000575 (v01 PmRef Cpu0Ist 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-3.aml

Input file SSDT-3.aml, Length 0xAD8 (2776) bytes

ACPI: SSDT 0x0000000000000000 000AD8 (v01 PmRef CpuPm 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file SSDT-2.aml

Input file SSDT-2.aml, Length 0x575 (1397) bytes

ACPI: SSDT 0x0000000000000000 000575 (v01 PmRef Cpu0Ist 00003000 INTL 20120711)

Pass 1 parse of [SSDT]

ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)

ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)

Could not parse external ACPI tables, AE_ALREADY_EXISTS

leo-marbors-mbp Match folder leo_marbor$


nothing hapens no duplicate . DSL files ...

Your issue is you have a duplicate AML file. Read the guide carefully... eliminate the duplicate.
 
ok .. so I eliminate the duplicate files and run the command in terminal and now I have duplicate files .DSL
i open DSDT.dsl in Maciasl and have 2 errors ...

8335, 6126, syntax error, unexpected PARSEOP_RETURN
14437, 6126, syntax error, unexpected $end and premature End-Of-File
 
ok .. so I eliminate the duplicate files and run the command in terminal and now I have duplicate files .DSL
i open DSDT.dsl in Maciasl and have 2 errors ...

8335, 6126, syntax error, unexpected PARSEOP_RETURN
14437, 6126, syntax error, unexpected $end and premature End-Of-File

You still didn't read post #1835.
 
yes I did .. i copy DSDT and SSDT form mounted EFI/Clover/ACPI/ origin
 
yes I did ..

You did not.

Post #1835 reads "Attach native files from ACPI/origin.".

But you never attached the requested files to a reply in this thread.
 
ahh ok. sorry did not understand.
 

Attachments

  • origin.zip
    76.7 KB · Views: 62
ahh ok. sorry did not understand.

I remove SSDT-4x.aml as it is a duplicate.
Then disassemble: iasl -da -dl DSDT.aml SSDT*.aml
Then open DSDT.dsl. It needs only "Fix PARSEOP_ZERO Error" and "Fix ADBG Error"

No errors after that...
 
thanks it works ...now i need to aplly this sección of the guide ?

Specific Recommendations (7-series, 8-series, 9-series, X99)

Do the EHCx->EH0x rename. It is a no-brainer first step.

For 7-series, 8-series, and 9-series, install FakePCIID_XHCIMux.kext (FakePCIID_XHCIMux has no effect without FakePCIID.kext, and is valid only for the Intel chipsets mentioned).

For many boards, assuming _UPC is correct on XHC, that will have everything working.

But two items at this point may cause problems:
  • Your DSDT may be disabling USB3 due to improper Windows emulation. Apply the XOSI fix to address this.
  • Built-in hub port injectors for your SMBIOS may be interfering. Install USBInjectAll.kext and use kernel flag -uia_exclude_xhc. This will enable the USBInjectAll port injectors for EH0x and the associated hubs, overriding the built-in hub port injectors, but keep DSDT control of XHC.

EHCx -EH0x is there a guide to do this ?
 
Strange question, perhaps: Does Clover F4 integrate patches I've already made? That is, if I've got a patch working, and I do F4 again, will the extracted .aml have that patch? (I'm kind of assuming so, since it's running... but I just wondered whether there was a whole diff/integration step necessary for patching a previously-patched DSDT/SSDT.)
 
Back
Top