From: Yu, L. <lum...@in...> - 2005-10-24 09:56:07
|
On Wednesday 19 October 2005 06:00, Nils Rimestad wrote: > Hello > > This is first time i try to work with acpi on a linux box, That's good. > 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? > 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. Please try replace if(ECOK) with if(ECOK()) > 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. > > Thanks in advance > Nils Rimestad > Thanks, Luming |