Acer 3222 acpi
Hello
This is first time i try to work with acpi on a linux box,
now i like a challenge, but this is a bit on the top side of what i can handle. I managed to decompile the dsdt and have gotten following error when trying to compile again.
dsdt.dsl 2352: If (ECOK)
Error 1065 - ^ Object not accessible from this scope (ECOK)
ASL Input: dsdt.dsl - 6794 lines, 241739 bytes, 2957 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 738 Optimizations
the code it is telling me it has a fault in this:
Method (_EJ0, 1, NotSerialized)
{
Store (0x00, \_SB.PCI0.RP01.Z001)
Store (0x00, \_SB.PCI0.LPCB.SIO.SIOS)
\_SB.GSMI (0x14)
If (ECOK) ##This is the line where it tells me
there is an error.
{
Store (0x01, \_SB.PCI0.LPCB.EC0.OSUD)
}
}following if located a bit lower in the file, i guess this is the one it should call, though im not sure.
Method (ECOK, 0, NotSerialized)
{
If (LEqual (\_SB.PCI0.LPCB.EC0.OKEC, 0x01))
{
Return (0x01)
}
Else
{
Return (0x00)
}
}but now i feel kinda stranded, i can't realy figure out what to do next. and that is why i ask here. Is there an easy thing that i can try? or should i post the full file and just sit back and let you guys have a look?
Thanks in advance
Nils Rimestad
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Nils Rimestad
Hello
This is first time i try to work with acpi on a linux box,
That's good.
Quoted 2 lines
now i like a challenge, but this is a bit on the top side of what i can handle.
Before jumping to fix DSDT, please tell me do you have any boot-time or run-time problem with ACPI?
Quoted 38 lines
I managed to decompile the dsdt and have gotten following error when trying to compile again.
dsdt.dsl 2352: If (ECOK)
Error 1065 - ^ Object not accessible from
this scope (ECOK)ASL Input: dsdt.dsl - 6794 lines, 241739 bytes, 2957 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 738 Optimizations
the code it is telling me it has a fault in this:
Method (_EJ0, 1, NotSerialized) { Store (0x00, \_SB.PCI0.RP01.Z001) Store (0x00, \_SB.PCI0.LPCB.SIO.SIOS) \_SB.GSMI (0x14) If (ECOK) ##This is the line where it tells me there is an error. { Store (0x01, \_SB.PCI0.LPCB.EC0.OSUD) } }following if located a bit lower in the file, i guess this is the one it should call, though im not sure.
Method (ECOK, 0, NotSerialized) { If (LEqual (\_SB.PCI0.LPCB.EC0.OKEC, 0x01)) { Return (0x01) } Else { Return (0x00) } }
Quoted 2 lines
but now i feel kinda stranded, i can't realy figure out what to do next. and that is why i ask here.
Please try replace
if(ECOK)
with
if(ECOK())
Quoted 2 lines
Is there an easy thing that i can try? or should i post the full file and just sit back and let you guys have a look?
Please post dmesg on this list and file a bug on bugzilla.kernel.org in ACPI category.
Quoted 4 lines
Thanks in advance
Nils Rimestad
Thanks,
Luming
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information