Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,969
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
can you write here the step please
sorry, I also installed clover as described

Open a separate thread.
If you have an issue, provide problem reporting attachments as per FAQ (in the new thread you open).

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

Your laptop has a guide and does not even require you implement the procedures in this thread.
(because it is already done with hotpatch).
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.232948/
 
Joined
Nov 21, 2016
Messages
42
Motherboard
ZBOOK G3
CPU
i7-6820HQ CPU @ 2.70GHz
Graphics
NVIDIA Corporation GM107GLM [Quadro M2000M]
sorry, i open other tread here
 
Joined
Mar 11, 2016
Messages
11
Motherboard
Dell Latitude e6420
CPU
Intel I5-2520m
Graphics
HD 3000
Hey guys, I followed the guide to the letter, built the latest iasl and when typing in
Code:
iasl -da -dl DSDT.aml SSDT*.aml

I get a message that the -dl flag is not recognized! Should I be using " -d " flag instead?

Here is the terminal output...

Code:
Unknown option: -dl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation


Supports ACPI Specification Revision 5.0

Usage: iasl [Options] [Files]
Options:

Global:
  -@ <file>         Specify command file
  -I <dir>          Specify additional include directory
  -T <sig>|ALL|*    Create table template file for ACPI <Sig>
  -v                Display compiler version

Preprocessor:
  -D <symbol>       Define symbol for preprocessor use
  -li               Create preprocessed output file (*.i)
  -P                Preprocess only and create preprocessor output file (*.i)
  -Pn               Disable preprocessor

General Output:
  -p <prefix>       Specify path/filename prefix for all output files
  -va               Disable all errors and warnings (summary only)
  -vi               Less verbose errors and warnings for use with IDEs
  -vo               Enable optimization comments
  -vr               Disable remarks
  -vs               Disable signon
  -w1 -w2 -w3       Set warning reporting level
  -we               Report warnings as errors

AML and Data Output Files:
  -sa -sc           Create assembler or C source file (*.asm or *.c)
  -ia -ic           Create assembler or C include file (*.inc or *.h)
  -ta -tc -ts       Create assembler, C, or ASL hex table (*.hex)

AML Code Generation:
  -oa               Disable all optimizations (compatibility mode)
  -of               Disable constant folding
  -oi               Disable integer optimization to Zero/One/Ones
  -on               Disable named reference string optimization
  -cr               Disable Resource Descriptor error checking
  -in               Ignore NoOp operators
  -r <revision>     Override table header Revision (1-255)

ASL Listing Files:
  -l                Create mixed listing file (ASL source and AML) (*.lst)
  -ln               Create namespace file (*.nsp)
  -ls               Create combined source file (expanded includes) (*.src)

ACPI Data Tables:
  -G                Compile custom table containing generic operators
  -vt               Create verbose templates (full disassembly)

AML Disassembler:
  -d  [file]        Disassemble or decode binary ACPI table to file (*.dsl)
  -da [f1,f2]       Disassemble multiple tables from single namespace
  -db               Do not translate Buffers to Resource Templates
  -dc [file]        Disassemble AML and immediately compile it
                    (Obtain DSDT from current system if no input file)
  -e  [f1,f2]       Include ACPI table(s) for external symbol resolution
  -g                Get ACPI tables and write to files (*.dat)
  -in               Ignore NoOp opcodes
  -vt               Dump binary table data in hex format within output file

Help:
  -h                This message
  -hc               Display operators allowed in constant expressions
  -hf               Display help for output filename generation
  -hr               Display ACPI reserved method names
  -ht               Display currently supported ACPI table names

Debug Options:
  -bf -bt           Create debug file (full or parse tree only) (*.txt)
  -f                Ignore errors, force creation of AML output file(s)
  -n                Parse only, no output generation
  -ot               Display compile times and statistics
  -x <level>        Set debug level for trace output
  -z                Do not insert new compiler ID for DataTables
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,969
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey guys, I followed the guide to the letter, built the latest iasl and when typing in
Code:
iasl -da -dl DSDT.aml SSDT*.aml

I get a message that the -dl flag is not recognized! Should I be using " -d " flag instead?

Here is the terminal output...

Code:
Unknown option: -dl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation


Supports ACPI Specification Revision 5.0

Usage: iasl [Options] [Files]
Options:

Global:
  -@ <file>         Specify command file
  -I <dir>          Specify additional include directory
  -T <sig>|ALL|*    Create table template file for ACPI <Sig>
  -v                Display compiler version

Preprocessor:
  -D <symbol>       Define symbol for preprocessor use
  -li               Create preprocessed output file (*.i)
  -P                Preprocess only and create preprocessor output file (*.i)
  -Pn               Disable preprocessor

General Output:
  -p <prefix>       Specify path/filename prefix for all output files
  -va               Disable all errors and warnings (summary only)
  -vi               Less verbose errors and warnings for use with IDEs
  -vo               Enable optimization comments
  -vr               Disable remarks
  -vs               Disable signon
  -w1 -w2 -w3       Set warning reporting level
  -we               Report warnings as errors

AML and Data Output Files:
  -sa -sc           Create assembler or C source file (*.asm or *.c)
  -ia -ic           Create assembler or C include file (*.inc or *.h)
  -ta -tc -ts       Create assembler, C, or ASL hex table (*.hex)

AML Code Generation:
  -oa               Disable all optimizations (compatibility mode)
  -of               Disable constant folding
  -oi               Disable integer optimization to Zero/One/Ones
  -on               Disable named reference string optimization
  -cr               Disable Resource Descriptor error checking
  -in               Ignore NoOp operators
  -r <revision>     Override table header Revision (1-255)

ASL Listing Files:
  -l                Create mixed listing file (ASL source and AML) (*.lst)
  -ln               Create namespace file (*.nsp)
  -ls               Create combined source file (expanded includes) (*.src)

ACPI Data Tables:
  -G                Compile custom table containing generic operators
  -vt               Create verbose templates (full disassembly)

AML Disassembler:
  -d  [file]        Disassemble or decode binary ACPI table to file (*.dsl)
  -da [f1,f2]       Disassemble multiple tables from single namespace
  -db               Do not translate Buffers to Resource Templates
  -dc [file]        Disassemble AML and immediately compile it
                    (Obtain DSDT from current system if no input file)
  -e  [f1,f2]       Include ACPI table(s) for external symbol resolution
  -g                Get ACPI tables and write to files (*.dat)
  -in               Ignore NoOp opcodes
  -vt               Dump binary table data in hex format within output file

Help:
  -h                This message
  -hc               Display operators allowed in constant expressions
  -hf               Display help for output filename generation
  -hr               Display ACPI reserved method names
  -ht               Display currently supported ACPI table names

Debug Options:
  -bf -bt           Create debug file (full or parse tree only) (*.txt)
  -f                Ignore errors, force creation of AML output file(s)
  -n                Parse only, no output generation
  -ot               Display compile times and statistics
  -x <level>        Set debug level for trace output
  -z                Do not insert new compiler ID for DataTables

Your iasl is from 2013.
Clearly not the one linked by the guide.
 
Joined
Mar 11, 2016
Messages
11
Motherboard
Dell Latitude e6420
CPU
Intel I5-2520m
Graphics
HD 3000
Your iasl is from 2013.
Clearly not the one linked by the guide.

it's the one that was built following your post. I also tried downloading the one linked in the post #1 and still get the same result. did I miss something?

I'm assuming that there is another copy installed somewhere on my pc and it's overriding the one I downloaded or built. any idea where it should be located? the one I downloaded was put in /usr/bin as indicated in the guide.
 
Joined
Mar 11, 2016
Messages
11
Motherboard
Dell Latitude e6420
CPU
Intel I5-2520m
Graphics
HD 3000
I looked at the links again and there are two iasl files listed. the "iasl" reports from 2013 there is another "iasl51" that reports 2015 I will try with this one. but in the guide building the latest, I get the 2013 version installed!

Thanks
 
Joined
Mar 11, 2016
Messages
11
Motherboard
Dell Latitude e6420
CPU
Intel I5-2520m
Graphics
HD 3000
It is not.



No.
Use 'which iasl' to determine where iasl is really loading from.

ok I may need some help here!

I verified the iasl that I need to use, placed in /usr/bin but I still get the result in terminal for the 2013 version. searched the hard drive for another iasl and came up with only the one, the 2015 version. I'm thinking that when I built and installed the one from github I did something unintentional. how can I revert back and undo that installation? or find out what is overriding the one downloaded in the link?

Thanks again for your help.

Update: I think I found it located in /usr/local/bin not sure but I believe Xcode may have installed it there.
 
Last edited:

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,969
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
ok I may need some help here!

I verified the iasl that I need to use, placed in /usr/bin but I still get the result in terminal for the 2013 version. searched the hard drive for another iasl and came up with only the one, the 2015 version. I'm thinking that when I built and installed the one from github I did something unintentional. how can I revert back and undo that installation? or find out what is overriding the one downloaded in the link?

Thanks again for your help.

Update: I think I found it located in /usr/local/bin not sure but I believe Xcode may have installed it there.

You can use 'which iasl' to determine where iasl is loading.
In Terminal:
Code:
which iasl
 
Joined
Feb 7, 2013
Messages
26
Motherboard
Xiaomi Notebook Air-Clover
CPU
M3-7Y30
Graphics
HD 615,1080x1920
Mobile Phone
  1. Android
@RehabMan I have a question regarding DSDT patching, i have this "firmware error (ACPI): Failure looking up.....(refer screenshot attached) can I just commented it out or otherwise,and herewith I attached my problem reporting files as well.TIA
 

Attachments

  • debug_19437.zip
    2.5 MB · Views: 71
  • Screen Shot 2017-12-05 at 4.53.17 PM.png
    Screen Shot 2017-12-05 at 4.53.17 PM.png
    59.6 KB · Views: 115
Top