From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yu, Luming" Subject: Re: Acer 3222 acpi Date: Mon, 24 Oct 2005 17:55:59 +0800 Message-ID: <200510241756.00016.luming.yu@intel.com> References: <43557088.7010907@rimestad.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43557088.7010907-LgQBqAA7lunk1uMJSBkQmQ@public.gmane.org> Content-Disposition: inline Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: Nils Rimestad List-Id: linux-acpi@vger.kernel.org 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 ------------------------------------------------------- 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