All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Nils Rimestad <nils-LgQBqAA7lunk1uMJSBkQmQ@public.gmane.org>
Subject: Re: Acer 3222 acpi
Date: Mon, 24 Oct 2005 17:55:59 +0800	[thread overview]
Message-ID: <200510241756.00016.luming.yu@intel.com> (raw)
In-Reply-To: <43557088.7010907-LgQBqAA7lunk1uMJSBkQmQ@public.gmane.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

      parent reply	other threads:[~2005-10-24  9:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 22:00 Acer 3222 acpi Nils Rimestad
     [not found] ` <43557088.7010907-LgQBqAA7lunk1uMJSBkQmQ@public.gmane.org>
2005-10-24  9:55   ` Yu, Luming [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510241756.00016.luming.yu@intel.com \
    --to=luming.yu-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=nils-LgQBqAA7lunk1uMJSBkQmQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.