Need some help with Toshiba L20-101 DSDT table
I'm geting this four errors which I suppose are caused by that objects being defined before (never heard about the "ACPI language" 'till today).
----------------
# ./iasl -tc dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030228 [Feb 28 2003] Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b
dsdt.dsl 370: If (LEqual (And (PDC0, 0x0A), 0x0A))
Error 1022 - Object does not exist ^ (PDC0)
dsdt.dsl 375: If (LEqual (And (PDC1, 0x0A), 0x0A))
Error 1022 - Object does not exist ^ (PDC1)
dsdt.dsl 3936: Z003,
Error 1022 - ^ Object does not exist (Z003)
dsdt.dsl 3937: Z003,
Error 1022 - ^ Object does not exist (Z003)
ASL Input: dsdt.dsl - 4240 lines, 137275 bytes, 1880 keywords Compilation complete. 4 Errors, 0 Warnings, 0 Remarks, 546 Optimizations
------------------
I fixed the Z003 deleting that two entries, which I think is tricky. Couldn't fix the PDCs after researching on Google for almost an hour. This are the fragments of code:
-------------------
Method (PNOT, 0, Serialized)
{
If (HTTE)
{
If (LEqual (And (PDC0, 0x0A), 0x0A))
{
Notify (\_PR.CPU0, 0x80)
}
If (LEqual (And (PDC1, 0x0A), 0x0A))
{
Notify (\_PR.CPU1, 0x80)
}
}
Else
{
Notify (\_PR.CPU0, 0x80)
Sleep (0x64)
Notify (\_PR.CPU0, 0x81)
}
}---------------------
And:
---------------------
Device (BAT1)
{
Name (_HID, EisaId ("PNP0C0A"))
Name (_UID, 0x01)
Name (CBTI, 0x00)
Name (PBTI, 0x00)
Name (BTIN, 0x00)
Name (BTCH, 0x00)
Name (BIFI, 0x00)
Name (SEL0, 0x00)
Name (BCRI, 0x00)
Name (PBIF, Package (0x0D)
{
0x01,
0x1130,
0x1130,
0x01,
0x2B5C,
0x012C,
0x84,
0x20,
0x20,
"PA34200-1BRS",
"11 ",
"11 ",
"TOSHIBA "
})
Name (PBST, Package (0x04)
{
0x00,
Z003,
Z003,
0x2710
})
Name (ERRC, 0x00)
Name (_PCL, Package (0x01)
{
\_SB
})--------------------
I'm not sure about I'm giving enough info, and didn't think posting the whole archive was very polite.
Has anyone a idea on how to fix it? If you need the full *dsl to give me some advice, tell me and I'll send it off the list. I'm starting to learn C, so please don't blame me for not knowing how to programm in such a low level thingy. I would appreciate it if you could give me some links to an introduction to "ACPI programming", too.
Thank you very much!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click