* Compaq Armada E500: tried to fix dsdt; need a little help
@ 2004-01-16 8:55 Sebastian Kemper
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Kemper @ 2004-01-16 8:55 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello again,
with the help of a HowTo at Gentoo's forum I was able to fix most of the
errors. But some remain and I would like you to take a look. I would
really appreciate it if you read the full story in the Gentoo forum,
because the formatting is better so you get a better insight in this
matter and I already fixed many bugs but I'm not sure if my fixes are
good. So If you would go to
http://forums.gentoo.org/viewtopic.php?t=122145&postdays=0&postorder=asc&start=27
I really appreciate it. Thanks!
This is what iasl now says:
micmobil iasl-linux-20030918 # ./iasl -tc dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030918 [Sep 18 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b
dsdt.dsl 2163: Store (Package (0x00) {}, Local0)
Warning 2018 - Effective AML package length is zero ^
dsdt.dsl 2200: Store (Package (0x00) {}, Local0)
Warning 2018 - Effective AML package length is zero ^
dsdt.dsl 2237: Store (Package (0x00) {}, Local0)
Warning 2018 - Effective AML package length is zero ^
ASL Input: dsdt.dsl - 5121 lines, 155964 bytes, 2995 keywords
AML Output: DSDT.aml - 22660 bytes 691 named objects 2304 executable opcodes
Compilation complete. 0 Errors, 3 Warnings, 0 Remarks, 1133 Optimizations
micmobil iasl-linux-20030918 #
The interesting parts in dsdt.dsl look like this:
2159 Method (_PCL, 0, NotSerialized)
2160 {
2161 If (\_SB.C005.C013.C059.C08A ())
2162 {
2163 Store (Package (0x00) {}, Local0)
2164 }
2165 Else
2166 {
2167 Store (Package (0x01)
2168 {
2169 \_SB
2170 }, Local0)
2171 }
2172
2173 Return (Local0)
2174 }
And I don't have a clue what to do here. I tried to change 'Package
(0x00)' to 'Package (0x02)' and the warnings dissappeared. But I didn't
know what I was really doing so I reversed my changes.
Another one is this:
dsdt.dsl 735: Return (^C08E (Arg0, Arg1, Arg2))
Error 1029 - ^ Called method returns no value
I read something about about "Return(Package(0x02){0x00, 0x00})" and
thought "Hey, I gotta have one of these"
Code:
Method (C08E, 3, NotSerialized)
{
Acquire (^C082, 0xFFFF)
Acquire (\_GL, 0xFFFF)
^C08B ()
Store (0x07, C05B)
Store (Arg0, C05C)
Store (Arg1, C05B)
Store (Arg2, C05C)
^C08C ()
Release (\_GL)
Release (^C082)
}
Method (C08F, 2, NotSerialized)
{
Return (^C08D (Arg0, Arg1))
}
Method (C090, 3, NotSerialized)
{
Return (^C08E (Arg0, Arg1, Arg2))
}
changed to
Code:
Method (C08E, 3, NotSerialized)
{
Acquire (^C082, 0xFFFF)
Acquire (\_GL, 0xFFFF)
^C08B ()
Store (0x07, C05B)
Store (Arg0, C05C)
Store (Arg1, C05B)
Store (Arg2, C05C)
^C08C ()
Release (\_GL)
Release (^C082)
Return(Package(0x02){0x00, 0x00})
}
Method (C08F, 2, NotSerialized)
{
Return (^C08D (Arg0, Arg1))
}
Method (C090, 3, NotSerialized)
{
Return (^C08E (Arg0, Arg1, Arg2))
}
But the writer of the dsdt HowTo at Gentoos forum said this may be not a
good fix. What do you think?
Thanks
Sebastian
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 2+ messages in thread* RE: Compaq Armada E500: tried to fix dsdt; need a little help
@ 2004-01-18 7:22 Yu, Luming
0 siblings, 0 replies; 2+ messages in thread
From: Yu, Luming @ 2004-01-18 7:22 UTC (permalink / raw)
To: Sebastian Kemper, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> with the help of a HowTo at Gentoo's forum I was able to fix
> most of the
> errors. But some remain and I would like you to take a look. I would
> really appreciate it if you read the full story in the Gentoo forum,
Could you describe what kind of ASL error that need to be fixed?
In some cases, some ACPI interpreter bug could be found!
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-18 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16 8:55 Compaq Armada E500: tried to fix dsdt; need a little help Sebastian Kemper
-- strict thread matches above, loose matches on Subject: below --
2004-01-18 7:22 Yu, Luming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox