Jump to content

DSDT disass+compile: newest iASLme / IASL :, Juli 11th 2012


mitch_de
 Share

265 posts in this topic

Recommended Posts

As always.. thx

 

Fabio

 

Thank you. You're welcome :) The full SLIC table implementation looks very tasty according my humble opinion.

Link to comment
Share on other sites

  • 2 months later...

Summary of iASL changes for version 20110527, May 27th 2011:

1) ACPI CA Core Subsystem:

ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
signature. Now, only allow SSDT, OEMx, and a null signature. History:
   1) Originally, we checked the table signature for "SSDT" or "PSDT".
      (PSDT is now obsolete.)
   2) We added support for OEMx tables, signature "OEM" plus a fourth
      "don't care" character.
   3) Valid tables were encountered with a null signature, so we just
      gave up on validating the signature, (05/2008).
   4) We encountered non-AML tables such as the MADT, which caused
      interpreter errors and kernel faults. So now, we once again allow
      only SSDT, OEMx, and now, also a null signature. (05/2011).

Added the missing _TDL predefined name to the global name list in order to 
enable validation. Affects both the core ACPICA code and the iASL compiler.

2) iASL Compiler/Disassembler and Tools:

Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
debugger command line. This adds support beyond simple integers -- including 
Strings, Buffers, and Packages. Includes support for nested packages. 
Increased the default command line buffer size to accommodate these arguments. 
See the ACPICA reference for details and syntax. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=917"]ACPICA BZ 917[/url].

Debugger/AcpiExec: Implemented support for "default" method arguments for the 
Execute/Debug command. Now, the debugger will always invoke a control method 
with the required number of arguments -- even if the command line specifies 
none or insufficient arguments. It uses default integer values for any missing 
arguments. Also fixes a bug where only six method arguments maximum were 
supported instead of the required seven.

Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
also return status in order to prevent buffer overruns. See the ACPICA 
reference for details and syntax. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=921"]ACPICA BZ 921[/url]

iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
makefiles to simplify support for the two different but similar parser 
generators, bison and yacc.

Updated the generic unix makefile for gcc 4. The default gcc version is now 
expected to be 4 or greater, since options specific to gcc 4 are used.

 

iASL command line version 20110527 (May 27th 2011), Universal Binary (32 & 64 bit)

iasl_UB_27_05_2011.zip

iASLme version 20110527 (May 27th 201), Universal Binary (32 & 64 bit)

iASLMe_UB_27_05_2011.app.zip

 

Creadits to: cVad, Kabyl, Slice

Link to comment
Share on other sites

  • 3 weeks later...

Thank you rednous from me, too, for your work and updates!

But why has iasl binary really grown so much? It started about 400KB and now it's 1.4MB!

I am curious, from a programming point of view... anyone knows why? Is it mainly the 32/64-bit support?

Thank you all.

Link to comment
Share on other sites

Thank you rednous from me, too, for your work and updates!

But why has iasl binary really grown so much? It started about 400KB and now it's 1.4MB!

I am curious, from a programming point of view... anyone knows why? Is it mainly the 32/64-bit support?

Thank you all.

 

MacKonsti, thank you for you kind words :)

iasl binary has grown that big cause im compiling it as an universal binary (for greater compatibility with Leopard, Snow Leopard & Lion, even Tiger I guess) ;)

 

_________________________________________________________

 

Summary of iASL changes for version 20110623, June 23rd 2011:

1) ACPI CA Core Subsystem:

Updated the predefined name repair mechanism to not attempt repair of a _TSS 
return object if a _PSS object is present. We can only sort the _TSS return 
package if there is no _PSS within the same scope. This is because if _PSS is 
present, the ACPI specification dictates that the _TSS Power Dissipation field 
is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
Power field(s). In this case, it is best to just return the _TSS package as-
is. Reported by, and fixed with assistance from Fenghua Yu.

Added an option to globally disable the control method return value validation 
and repair. This runtime option can be used to disable return value repair if 
this is causing a problem on a particular machine. Also added an option to 
AcpiExec (-dr) to set this disable flag.

All makefiles and project files: Major changes to improve generation of ACPICA 
tools. [url="http://ttp://www.acpica.org/bugzilla/show_bug.cgi?id=912"]ACPICA BZ 912[/url]:
   Reduce default optimization levels to improve compatibility
   For Linux, add strict-aliasing=0 for gcc 4
   Cleanup and simplify use of command line defines
   Cleanup multithread library support
   Improve usage messages

Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
bit case, improve casting to eliminate possible warnings, especially with the 
acpica tools.

2) iASL Compiler/Disassembler and Tools:

With this release, a new utility named "acpihelp" has been added to the ACPICA 
package. This utility summarizes the ACPI specification chapters for the ASL 
and AML languages. It generates under Linux/Unix as well as Windows, and 
provides the following functionality:
   Find/display ASL operator(s) -- with description and syntax.
   Find/display ASL keyword(s) -- with exact spelling and descriptions.
   Find/display ACPI predefined name(s) -- with description, number
       of arguments, and the return value data type.
   Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
   Decode/display AML opcode -- with opcode name, arguments, and grammar.

Service Layers: Make multi-thread support configurable. Conditionally compile 
the multi-thread support so that threading libraries will not be linked if not 
necessary. The only tool that requires multi-thread support is AcpiExec.

iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
Bison appear to want the interface to yyerror to be a const char * (or at 
least this is a problem when generating iASL on some systems.) [url="http://ttp://www.acpica.org/bugzilla/show_bug.cgi?id=923"]ACPICA BZ 923[/url] 
Pierre Lejeune.

Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
versions of the tools.

 

iASL command line version 20110623 (June 23rd 2011), Universal Binary (32 & 64 bit)

iasl.zip

iASLme version 20110623 (Jubne 23rd 201), Universal Binary (32 & 64 bit)

iASLMe_UB_23_06_2011.zip

 

Creadits to: cVad, Kabyl, Slice

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 3 weeks later...

Getting new errors I didn't have before. Like :

 

Min/Max/Length/Gran are all zero, but no resource tag

 

QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,

0x0000000000000000, // Granularity

0x0000000000000000, // Range Minimum

0x0000000000000000, // Range Maximum

0x0000000000000000, // Translation Offset

0x0000000000000000, // Length

 

Anyone know how to fix that particular error?

Link to comment
Share on other sites

Just apply the known equation in this thread:

New Length = (Range Maximum - Range Minimum) + 1

 

Therefore, in the above posted code you need to change 0x0000000000000000, // Length

 

To 0x0000000000000001, // Length

 

Notes in Post 1:

INFO:since 28_04_2010 and up Versions does some lenght checks which may give errors if your dsdt has some wrong lenght parameters, whereas older versions didnt ! This helps to get dsdt bugfree.

Read therefor latest postings about that new check errors and maybe fixes for (sure wrong lenght definitions in your dsdt!)

 

 

SOLUTION found to edit real wrong length found ny new iasl version , look at my postings !

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Summary of iASL changes for version 20120215, February 15th 2012:

[color=#000000]1) ACPICA Core Subsystem:[/color]

There have been some major changes to the sleep/wake support code, as
described below (a - e).

a) The AcpiLeaveSleepState has been split into two interfaces, similar to
AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
AcpiLeaveSleepStatePrep. This allows the host to perform actions between the
time the _BFS method is called and the _WAK method is called. NOTE: all hosts
must update their wake/resume code or else sleep/wake will not work properly.
Rafael Wysocki.

 In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK
method. Some machines require that the GPEs are enabled before the _WAK method
is executed. Thomas Renninger.

c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit.
Some BIOS code assumes that WAK_STS will be cleared on resume and use it to
determine whether the system is rebooting or resuming. Matthew Garrett.

d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to
match the ACPI specification requirement. Rafael Wysocki.

e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
registers within the V5 FADT. This support adds two new files:
hardware/hwesleep.c implements the support for the new registers. Moved all
sleep/wake external interfaces to hardware/hwxfsleep.c.


Added a new OSL interface for ACPI table overrides,
AcpiOsPhysicalTableOverride. This interface allows the host to override a
table via a physical address, instead of the logical address required by
AcpiOsTableOverride. This simplifies the host implementation. Initial
implementation by Thomas Renninger. The ACPICA implementation creates a single
shared function for table overrides that attempts both a logical and a
physical override.

Expanded the OSL memory read/write interfaces to 64-bit data
(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
transfer support for GAS register structures passed to AcpiRead and AcpiWrite.

Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom
build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model.
See the ACPICA reference for details. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=942"]ACPICA BZ 942[/url]. This option removes about
10% of the code and 5% of the static data, and the following hardware ACPI
features become unavailable:
PM Event and Control registers
SCI interrupt (and handler)
Fixed Events
General Purpose Events (GPEs)
Global Lock
ACPI PM timer
FACS table (Waking vectors and Global Lock)

Updated the unix tarball directory structure to match the ACPICA git source
tree. This ensures that the generic unix makefiles work properly (in
generate/unix).  Also updated the Linux makefiles to match. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=867"]ACPICA BZ 867[/url].

Updated the return value of the _REV predefined method to integer value 5 to
reflect ACPI 5.0 support.

Moved the external ACPI PM timer interface prototypes to the public acpixf.h
file where they belong.

Example Code and Data Size: These are the sizes for the OS-independent
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
version of the code includes the debug output trace mechanism and has a much
larger code and data size.

2) iASL Compiler/Disassembler and Tools:

Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
incorrectly displayed.

AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
specification.

 

iASL command line version 20120215 (February 15th 2011), Universal Binary (32 & 64 bit)

 

iASLme 1.33 version 20120215 (February 15th 2012), Universal Binary (32 & 64 bit)

 

 

Creadits to: cVad, Kabyl, Slice, STLVNUB

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hiya, Thank you for the update!

 

I have some errors that I'm not sure how to fix, if anyone would mind pointing out what to do?

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20120215-64 [Feb 23 2012]
Copyright © 2000 - 2012 Intel Corporation
/Users/Dannii/Desktop/dsdt.dsl	 21:	 External (PDC7)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 22:	 External (PDC6)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 23:	 External (PDC5)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 24:	 External (PDC4)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 25:	 External (PDC3)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 26:	 External (PDC2)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 27:	 External (PDC1)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 28:	 External (PDC0)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 29:	 External (CFGD)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 30:	 External (HNOT, MethodObj)	// 1 Arguments
Warning  2089 -				  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 31:	 External (GP53)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 32:	 External (GP52)
Warning  2089 -	   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 33:	 External (NNAB, IntObj)
Warning  2089 -			   Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 34:	 External (IDAB, MethodObj)	// 0 Arguments
Warning  2089 -				  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 35:	 External (ECST, MethodObj)	// 1 Arguments
Warning  2089 -				  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 39:	 Name (SS1, One)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 40:	 Name (SS2, Zero)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 41:	 Name (SS3, One)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 42:	 Name (SS4, One)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 43:	 Name (IOST, 0x0400)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 44:	 Name (TOPM, 0xDFFFFFFF)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 45:	 Name (ROMS, 0xFFE00000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 46:	 Name (MG1B, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 47:	 Name (MG1L, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 48:	 Name (MG2B, 0xE0000000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 49:	 Name (MG2L, 0x1C40C000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 50:	 Name (SP2O, 0x4E)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 51:	 Name (MCHB, 0xFED10000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 52:	 Name (MCHL, 0x4000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 53:	 Name (EGPB, 0xFED19000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 54:	 Name (EGPL, 0x1000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 55:	 Name (DMIB, 0xFED18000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 56:	 Name (DMIL, 0x1000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 57:	 Name (IFPB, 0xFED14000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 58:	 Name (IFPL, 0x1000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 59:	 Name (PEBS, 0xF8000000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 60:	 Name (PELN, 0x04000000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 61:	 Name (TTTB, 0xFED20000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 62:	 Name (TTTL, 0x00020000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 63:	 Name (SMBS, 0xEFA0)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 64:	 Name (PBLK, 0x0410)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 65:	 Name (PMBS, 0x0400)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 66:	 Name (PMLN, 0x80)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 67:	 Name (LVL2, 0x0414)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 68:	 Name (LVL3, 0x0415)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 69:	 Name (LVL4, 0x0416)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 70:	 Name (SMIP, 0xB2)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 71:	 Name (GPBS, 0x0500)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 72:	 Name (GPLN, 0x80)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 73:	 Name (APCB, 0xFEC00000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 74:	 Name (APCL, 0x1000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 75:	 Name (PM30, 0x0430)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 76:	 Name (SRCB, 0xFED1C000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 77:	 Name (SRCL, 0x4000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 78:	 Name (SUSW, 0xFF)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 79:	 Name (HPTB, 0xFED00000)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 80:	 Name (HPTC, 0xFED1F404)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 81:	 Name (ACPH, 0xDE)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 82:	 Name (ASSB, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 83:	 Name (AOTB, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 84:	 Name (AAXB, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 85:	 Name (PEHP, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 86:	 Name (SHPC, One)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 87:	 Name (PEPM, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 88:	 Name (PEER, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 89:	 Name (PECS, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 90:	 Name (ITKE, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 91:	 Name (FMBL, One)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 92:	 Name (FDTP, 0x02)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 93:	 Name (BRF, One)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 94:	 Name (BPH, 0x02)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 95:	 Name (BLC, 0x03)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	 96:	 Name (BRFS, 0x04)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 97:	 Name (BPHS, 0x05)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 98:	 Name (BLCT, 0x06)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	 99:	 Name (BRF4, 0x07)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	100:	 Name (BEP, 0x08)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	101:	 Name (BBF, 0x09)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	102:	 Name (BOF, 0x0A)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	103:	 Name (BPT, 0x0B)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	104:	 Name (SRAF, 0x0C)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	105:	 Name (WWP, 0x0D)
Warning  2089 -									^ Namespace object is not referenced
/Users/Dannii/Desktop/dsdt.dsl	106:	 Name (SDOE, 0x0E)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	107:	 Name (TRTP, One)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	108:	 Name (TRTD, 0x02)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	109:	 Name (TRTI, 0x03)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	110:	 Name (GCDD, One)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	111:	 Name (DSTA, 0x0A)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	112:	 Name (DSLO, 0x0C)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	113:	 Name (DSLC, 0x0E)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	114:	 Name (PITS, 0x10)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	115:	 Name (SBCS, 0x12)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	116:	 Name (SALS, 0x13)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	117:	 Name (LSSS, 0x2A)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	118:	 Name (SOOT, 0x35)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	119:	 Name (PDBR, 0x4D)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	120:	 Name (SMBL, 0x10)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	121:	 Name (TCGM, Zero)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	122:	 Name (SP1O, 0x164E)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl	123:	 Name (IO2B, 0x0680)
Warning  2089 -  Namespace object is not referenced ^
/Users/Dannii/Desktop/dsdt.dsl   4598:								 Zero
						})
						Name (_PLD, Buffer (0x10)
						{
							/* 0000 */	0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
							/* 0008 */	0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
						})
						}
					}
				}
			}

		Device (GFX0)
		{
		 Name (_ADR, 0x00020000)
			Method (_DSM, 4, NotSerialized)
			Store (Package (0x0E)
							{
								"@0,display-type",
								Buffer (0x05)
								{
									"LVDS"
								},

								"AAPL,backlightRestore",
								Buffer (0x04)
								{
									0x01, 0x00, 0x00, 0x00
								},

								 "AAPL,HasPanel",
								Buffer (0x04)
								{
									0x01, 0x00, 0x00, 0x00
								},
								"AAPL,Haslid",
								Buffer (0x04)
								{
									0x01, 0x00, 0x00, 0x00
								},	  {
Error	4123 -																																																																																																																																																				  syntax error, unexpected PARSEOP_STORE, expecting '{' ^

 

 

I don't know if this helps but the last error at the bottom in the above box is also pointed out in dsdt fixer:

DSDTFixer/DSDTFixer.app/Contents/Resources/files/dsdt.dsl   4509:				 Store (Package (0x0E)
Error	4096 -												  syntax error, unexpected PARSEOP_STORE, expecting '{' ^
ASL Input: - 11114 lines, 340756 bytes, 926 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 1 Optimizations

 

 

Thank you =)

Link to comment
Share on other sites

Thank you for your reply! I have tried that and various other options such as { but nothing seems to work, sadly. I've attached my dsdt just in case there is something I am missing, if you wouldn't mind taking a peek?

 

I'm working on getting brightness working with a combination of code from various places including the ACPIBacklight thread, so if there is something there that looks wrong, would you mind letting me know so that I can fix my dsdt, please? =)

dsdt.dsl.zip

Link to comment
Share on other sites

@Dannii, Hi.

 

Compilation errors was fixed (due to bad graphics injection), and other bad factory errors was fixed too... it compile fine now. That was the first obstacle.

 

Then, you have a very bad code structure (device LCD is not in the right place), because the graphics injection should be ONLY in the GFX device, not in LCD and any other device. Please read the .dsl attached, and searching by the word "fixed1" w/o quotes to understand the problem. I think you can do it better. Good Luck.

 

Please sorry to everyone for the off-topic.

dsdt-fixed1.dsl.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...