Contribute
Register

Help me to patch my DSDT

Status
Not open for further replies.
Joined
Feb 27, 2012
Messages
90
Motherboard
Intel Harris Beach SDS
CPU
Intel Core i5 4350U
Graphics
Intel HD5000
Mac
  1. MacBook Air
  2. Mac Pro
Classic Mac
  1. 0
Mobile Phone
  1. Android
  2. iOS
Hello!

I get my original DSDT and SSDT with Clover by pressing F4 button.

Inside /CLOVER/ACPI/origin folder I decompile with command:
/Applications/MaciASL.app/Contents/MacOS/iasl5 -da DSDT*.aml SSDT*.aml

And now if I open DSDT.dsl and press Tools->Compile I see 23 errors (screenshot is attached).

Please help me fix these errors! I want to try patch my DSDT for battery status, power management, sound, etc.
 

Attachments

  • origin.zip
    158 KB · Views: 121
  • Screenshot.png
    Screenshot.png
    159.1 KB · Views: 367
Hello!

I get my original DSDT and SSDT with Clover by pressing F4 button.

Inside /CLOVER/ACPI/origin folder I decompile with command:
/Applications/MaciASL.app/Contents/MacOS/iasl5 -da DSDT*.aml SSDT*.aml

And now if I open DSDT.dsl and press Tools->Compile I see 23 errors (screenshot is attached).

Please help me fix these errors! I want to try patch my DSDT for battery status, power management, sound, etc.

You did not disassemble correctly.

Place all SSDT/DSDT in a single directory and use a recent build of iasl to disassemble:
http://www.tonymacx86.com/attachmen...ell-inspiron-17-7000-hackintosh-able-iasl.zip
Code:
cd "to directory where you placed all SSDT/DSDT"
iasl -da *.aml
 
I downloaded iasl that you provided, I ran it and now I get an error:

Code:
MacBook-Pro-mihael:origin mihael$ ./iasl -da *.aml

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20131115-64 [Dec  1 2013]
Copyright (c) 2000 - 2013 Intel Corporation

Loading Acpi table from file APIC.aml
Loading Acpi table from file XSDT.aml
Pass 1 parse of [XSDT]
ACPI Error: ^: Path has too many parent prefixes (^) - reached beyond root node (20131115/nsaccess-522)
ACPI Error: ^: Path has too many parent prefixes (^) - reached beyond root node (20131115/nsaccess-522)
Could not parse external ACPI tables, AE_AML_NO_OPERAND
 
I downloaded iasl that you provided, I ran it and now I get an error:

Code:
MacBook-Pro-mihael:origin mihael$ ./iasl -da *.aml

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20131115-64 [Dec  1 2013]
Copyright (c) 2000 - 2013 Intel Corporation

Loading Acpi table from file APIC.aml
Loading Acpi table from file XSDT.aml
Pass 1 parse of [XSDT]
ACPI Error: ^: Path has too many parent prefixes (^) - reached beyond root node (20131115/nsaccess-522)
ACPI Error: ^: Path has too many parent prefixes (^) - reached beyond root node (20131115/nsaccess-522)
Could not parse external ACPI tables, AE_AML_NO_OPERAND

Read post #2 carefully. It says "all SSDT/DSDT". Nothing about XSDT.
 
Now I try to ran with command
Code:
./iasl -da DSDT*.aml SSDT*.aml
And get
Code:
Parsing completed
Disassembly completed
But when I open DSDT.dsl in MacIASL and press Tools->Compile I get 141 errors (screenshot in attach)
 

Attachments

  • Screen Shot 2014-06-15 at 20.33.44.png
    Screen Shot 2014-06-15 at 20.33.44.png
    191.8 KB · Views: 223
If I place all SSDT/DSDT in a single directory and run command:
Code:
./iasl -da *.aml
I will get the same 141 errors like in post #5
 
Now I try to ran with command
Code:
./iasl -da DSDT*.aml SSDT*.aml
And get
Code:
Parsing completed
Disassembly completed
But when I open DSDT.dsl in MacIASL and press Tools->Compile I get 141 errors (screenshot in attach)

No idea without the actual files you're using.

It is likely you didn't scroll down far enough in the error listing to find the root cause.
 
Yeah! Thanks! You are rock! 0 errors!
 

Attachments

  • Screen Shot 2014-06-15 at 20.46.04.png
    Screen Shot 2014-06-15 at 20.46.04.png
    213.9 KB · Views: 335
Status
Not open for further replies.
Back
Top