2010-03-01

Slitaz -- iasl / acpi - 2

[..]

dsdt.dsl 198: LNKA,
Error 4062 - ^ Object does not exist (LNKA)
[..]
ASL Input: dsdt.dsl - 5855 lines, 194229 bytes, 2161 keywords
Compilation complete. 37 Errors, 2 Warnings, 0 Remarks, 583 Optimizations

tux@alanyih:~$ head -20 dsdt.hex
/*
*
* Intel ACPI Component Architecture
* ASL Optimizing Compiler version 20061109 [May 18 2007]
* Copyright (C) 2000 - 2006 Intel Corporation
* Supports ACPI Specification Revision 3.0a
*
* Compilation of "dsdt.dsl" - Mon Mar 1 18:27:16 2010
*
* C source code output
*
*/
unsigned char AmlCode[] =
{
0x44,0x53,0x44,0x54,0x95,0x49,0x00,0x00, /* 00000000 "DSDT.I.." */
0x01,0xC4,0x41,0x30,0x30,0x37,0x34,0x00, /* 00000008 "..A0074." */
0x41,0x30,0x30,0x37,0x34,0x30,0x30,0x30, /* 00000010 "A0074000" */
0x00,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
0x09,0x11,0x06,0x20,0x08,0x49,0x52,0x49, /* 00000020 "... .IRI" */
0x44,0x0C,0x4D,0xA3,0xF0,0x11,0x08,0x49, /* 00000028 "D.M....I" */

tux@alanyih:~$ head -41 dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of dsdt.aml, Mon Mar 1 17:14:39 2010
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x000059FB (23035)
* Revision 0x01
* OEM ID "A0074"
* OEM Table ID "A0074000"
* OEM Revision 0x00000000 (0)
* Creator ID "INTL"
* Creator Revision 0x02002026 (33562662)
*/
DefinitionBlock ("dsdt.aml", "DSDT", 1, "A0074", "A0074000", 0x00000000)
{
Name (IRID, 0x11F0A34D)
Name (IO1B, 0x06C0)
Name (IO1L, 0x10)
Name (ACPH, 0xDE)
Name (PMBS, 0x0800)
Name (FHDC, 0xD9)
Name (PMLN, 0x80)
Name (GPBS, 0x0480)
Name (GPLN, 0x40)
Name (SMBS, 0x0400)
Name (SMBL, 0x20)
Name (PM30, 0x0830)
Name (SUSW, 0xFF)
Name (APIC, 0x01)
Name (SPIO, 0x2E)
Name (P0CT, 0x82)
Name (P1CT, 0x83)
Name (P2CT, 0x84)
Name (PCIB, 0xE0000000)
Name (PCIL, 0x10000000)
Name (NCPU, 0x02)
OperationRegion (BIOS, SystemMemory, 0x7FFB0064, 0xFF)

tux@alanyih:~$ head -225 dsdt.dsl | tail -36
Scope (\_SB)
{
Name (PR00, Package (0x13)
{
Package (0x04)
{
0x0001FFFF,
0x00,
LNKA,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x01,
LNKB,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x02,
LNKC,
0x00
},

Package (0x04)
{
0x0001FFFF,
0x03,
LNKD,
0x00
},

tux@alanyih:~$

tux@alanyih:~$ sudo iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 198: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 206: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 214: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 222: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 230: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 238: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 246: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 254: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 262: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 270: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 278: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 286: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 294: LNKE,
Error 4062 - ^ Object does not exist (LNKE)

dsdt.dsl 302: LNKH,
Error 4062 - ^ Object does not exist (LNKH)

dsdt.dsl 310: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 318: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 326: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 334: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 342: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 506: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 514: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 522: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 530: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 574: LNKE,
Error 4062 - ^ Object does not exist (LNKE)

dsdt.dsl 582: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 590: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 598: LNKA,
Error 4062 - ^ Object does not exist (LNKA)

dsdt.dsl 606: LNKC,
Error 4062 - ^ Object does not exist (LNKC)

dsdt.dsl 614: LNKB,
Error 4062 - ^ Object does not exist (LNKB)

dsdt.dsl 622: LNKD,
Error 4062 - ^ Object does not exist (LNKD)

dsdt.dsl 1825: Acquire (MUT0, 0x0FFF)
Warning 1103 - Possible operator timeout is ignored ^

dsdt.dsl 2669: Store (\_SB.PCI0.IDE0.PAMD, Local0)
Error 4062 - Object does not exist ^ (\_SB.PCI0.IDE0.PAMD)

dsdt.dsl 2676: Store (\_SB.PCI0.IDE1.SAMD, Local0)
Error 4062 - Object does not exist ^ (\_SB.PCI0.IDE1.SAMD)

dsdt.dsl 5165: If (LNot (And (\_SB.PCI0.HFZF, Local2)))
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5169: Or (\_SB.PCI0.HFZF, Local2, \_SB.PCI0.HFZF)
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5169: Or (\_SB.PCI0.HFZF, Local2, \_SB.PCI0.HFZF)
Error 4062 - Object does not exist ^ (\_SB.PCI0.HFZF)

dsdt.dsl 5310: Method (WFZF, 1, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (WFZF)

dsdt.dsl 5323: Return (While (Local1)
Error 4094 - ^ syntax error, unexpected PARSEOP_WHILE

dsdt.dsl 5337: })
Error 4094 - ^ syntax error, unexpected ')'

ASL Input: dsdt.dsl - 5855 lines, 194229 bytes, 2161 keywords
Compilation complete. 37 Errors, 2 Warnings, 0 Remarks, 583 Optimizations
tux@alanyih:~$

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt
[..]
14.2.2. How do I check my DSDT?

There are three quick ways you can check your DSDT. First, you can look at
linux-laptops.net (or acpi4linux) at the list of laptops and see what they
say about yours.

Second, you can use acpidump to extract your dsdt. See [190]Extracting ACPI
tables with pmtools for information about getting and building acpidump. To
get at the dsdt table, do the following:
acpidump > mytables.all
cat mytables.all | ./acpixtract DSDT > mydsdt.bin

Now you have the DSDT table in binary form. To disassemble it, get iasl (see
[191]ASL compiler / AML disassembler iasl for how to do this), build it, and
then do
iasl -d mydsdt.bn

and it will create the output in mydsdt.dsl

Alternatively you can cat /proc/acpi/dsdt into a file, then and then run
iasl on that file.

To see if your DSDT is broken, you recompile it: iasl -tc mydsdt.dsl

You'll get output like this:
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20050624 [Aug 11 2
005]
Copyright (C) 2000 - 2005 Intel Corporation
Supports ACPI Specification Revision 3.0

dell-xpsgen2-dsdt.dsl 496: Method (\_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must r
eturn a value (_WAK)

dell-xpsgen2-dsdt.dsl 1262: Method (_S0D, 0, NotSeri
alized)
Warning 2033 - Unknown reserved name ^ (_S0D)

Warnings can generally be ignored; errors must be fixed.
_________________________________________________________________

14.2.3. How do I fix my DSDT?

Look at the resources in [192]ACPI on Linux laptops to see if your errors
are documented. If not, check the [193]ACPI specification. Edit the
disassembled file, run iasl on it again and see if you have eliminated the
errors. An example: [FIXME put one!]
_________________________________________________________________
[..]

19.2. ACPI on Linux laptops

Linux on Laptops ([208]http://www.linux-laptop.net/) entries for specific
laptops often contain ACPI related configuration information. This is a
great place to start.

TuxMobil ([209]http://tuxmobil.org/mylaptops.html) collects Linux
installation reports which also have great information.

Ubuntu has a good list of test results for suspend for various laptops at
[210]https://wiki.ubuntu.com//HoaryPMResults.

If you are looking for a fix for your laptop's DSDT, please check the
ACPI4Linux DSDT repository at
[211]http://acpi.sourceforge.net/dsdt/view.php. If you don't see it there,
and you add fixes yourself, please add the new DSDT to the repository so
others can use it.
[..]

.