Contribute
Register

Haswell NUC DSDT - help needed

Status
Not open for further replies.
Joined
May 27, 2010
Messages
2,364
Motherboard
Dell Optiplex 9030 All in One
CPU
i5-4690K
Graphics
HD 4600
Mac
  1. Mac mini
Classic Mac
  1. iMac
Mobile Phone
  1. iOS
Hi,
I am working on the new i5 Haswell NUC and want to get the DSDT to be able to compile.
The compile errors though have got me beaten so far.

I have attached the virgin DSDT from the NUC - all suggestions/help welcomed.

Errors are:

Code:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  6290:             Zero
Error    4096 -                                             syntax error, unexpected PARSEOP_ZERO ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  8081:                 }
Error    4096 -                                        syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  8147:                 }
Error    4096 -                                        syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  9860:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  9882:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10044:                         }
Error    4096 -                                                syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10628:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11850:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11991:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12161:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12175:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 13699:             Arg0
Error    4096 -                                             syntax error, unexpected PARSEOP_ARG0 ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16816:     If (SS3)
Error    4096 -                                     syntax error, unexpected PARSEOP_IF ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16827:     If (SS4)
Error    4096 -                                     syntax error, unexpected PARSEOP_IF ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16872: [*** iASL: Read error on source code temp file /Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.src ***]
Error    4096 -                                     syntax error, unexpected $end ^ 

ASL Input:  /Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 16873 lines, 562168 bytes, 7138 keywords
Compilation complete. 15 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
 

Attachments

  • dsdtnucvirgin.zip
    36.6 KB · Views: 97
Hi,
I am working on the new i5 Haswell NUC and want to get the DSDT to be able to compile.
The compile errors though have got me beaten so far.

I have attached the virgin DSDT from the NUC - all suggestions/help welcomed.

Errors are:

Code:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  6290:             Zero
Error    4096 -                                             syntax error, unexpected PARSEOP_ZERO ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  8081:                 }
Error    4096 -                                        syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  8147:                 }
Error    4096 -                                        syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  9860:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  9882:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10044:                         }
Error    4096 -                                                syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10628:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11850:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11991:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12161:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12175:                     }
Error    4096 -                                            syntax error, unexpected '}', expecting '(' ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 13699:             Arg0
Error    4096 -                                             syntax error, unexpected PARSEOP_ARG0 ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16816:     If (SS3)
Error    4096 -                                     syntax error, unexpected PARSEOP_IF ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16827:     If (SS4)
Error    4096 -                                     syntax error, unexpected PARSEOP_IF ^ 

/Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 16872: [*** iASL: Read error on source code temp file /Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.src ***]
Error    4096 -                                     syntax error, unexpected $end ^ 

ASL Input:  /Users/Dave/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 16873 lines, 562168 bytes, 7138 keywords
Compilation complete. 15 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

You will get better results if you disassemble using all your SSDTs. For example:
Code:
iasl -e SSDT.aml SSDT-1.aml SSDT-2.aml SSDT-3.aml -d dsdt.aml

Some iasl versions use comma between file names for "-e", newer ones don't. See here for a recent build: http://www.tonymacx86.com/laptop-co...00-hackintosh-able-post717200.html#post717200

You could also use wildcards (with newer iasl):
Code:
iasl -e SSDT*.aml -d dsdt.aml
 
So rehabman are you saying I will get a different DSDT if I extract all tables at the same time?

IF so then I will go to the bother of a Linux dump, but I thought that the results should be the same?
 
So rehabman are you saying I will get a different DSDT if I extract all tables at the same time?

IF so then I will go to the bother of a Linux dump, but I thought that the results should be the same?

The DSDT binaries extracted are the same. They are just bits that come from BIOS. It is the disassembly process that we are talking about here (the process of converting an ACPI binary to text). If you disassemble with iasl and give it the other SSDTs it is able to guess better about methods that are referenced between DSDT/SSDTs...

I find that with the newer computers, the number of references between DSDT and SSDT is greatly increased over older computers. In particular, the code for the graphics devices has been moved from DSDT to SSDT but there are references between them. As a result, you get better results with all the SSDTs available to the iasl disassembler.
 
Hello,

I've the same problem as TS as I have the same rig:p Any help would be great
Attached are the acpi file (that was what you wanted?)

Kind regards
David
 

Attachments

  • Intel NUC d54250wyk.acpi.zip
    20.5 KB · Views: 78
Here is the full table set (trancestar booted with dropssdt so the ssdt tables were missing from his dump)
 

Attachments

  • dave’s MacBook Air.acpi
    80.2 KB · Views: 167
Here is the full table set (trancestar booted with dropssdt so the ssdt tables were missing from his dump)

Someone should really do a dump from Linux. I'm sure there is a way to extract the actual binaries out of the tableset (because that's what's in there), but I'm not sure how. You need the binaries themselves to properly disassemble them, so an ACPI tableset doesn't do much good (because MaciASL is going to disassemble them as if they were islands all by themselves).
 
Here is a dump of all the tables from linux using acpidump and acpixtract. Hope this helps.
 

Attachments

  • dumplinux.zip
    122.3 KB · Views: 83
Status
Not open for further replies.
Back
Top