Re: iasl

sjb
2003-05-09T16:17:25Z

Ducrot Bruno wrote:

> grab acpica-unix from intel site instead, untar, go to 'compiler' directory,
> 'make' and hopefully you will get iasl.

D'oh! Why didn't I think of that?! *8-)

> I do have trouble with bison version 1.75, but I guess that my bison
> is broken ? With bison 1.31, all seems to be OK.
> Plus, I got some random core dump with the latest one?

Well .. mine compiled cleanly and ..

ottaky@vaio:~/acpi> ./iasl -tc dsdt.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030424 [May 7 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.asl 529: Field(ECR_, AnyAcc, Lock, Preserve) {
Error 1048 - ^ Host Operation Region
requires ByteAcc access

dsdt.asl 1288: Field(PIUC, DWordAcc, Lock, Preserve) {
Error 1047 - ^ Access width is greater than
region size

dsdt.asl 2122: If(\_OSI) {
Error 1028 - Too few arguments ^ (\_OSI requires 1)

dsdt.asl 2123: "Windows 2001"
Error 1037 - parse error ^

ASL Input: dsdt.asl - 2157 lines, 75307 bytes, 1552 keywords
Compilation complete. 4 Errors, 0 Warnings, 0 Remarks, 381 Optimizations

So, I guess the 1st error is fixable by changing "AnyAcc" for "ByteAcc".
Not sure about no.s 2 & 3 ...and WTF is "Windows 2001" doing in there?!

Any DSDT gurus out there? This is from a Sony Vaio U1 BTW.