public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: giggz <giggzounet@gmail.com>
To: linux-acpi@vger.kernel.org
Subject: Re: Bugs in my DSDT (aopen 1556/1557 ou keynux impact)
Date: Mon, 28 May 2007 13:05:49 +0200	[thread overview]
Message-ID: <f3ed49$kga$1@sea.gmane.org> (raw)
In-Reply-To: <f3ebtg$gq9$1@sea.gmane.org>

giggz a écrit :
> giggz a écrit :
>> [...] (little cut)
>>
>>>> But I can't find the solution for the other error problem :
>>>> I have that :
>>>>                   Method (RAMW, 2, NotSerialized)
>>>>                     {
>>>>                         Acquire (MUTX, 0xFFFF)
>>>>                         If (LGreater (Arg0, 0x7F))
>>>>                         {
>>>>                             Store (Arg2, DAT3)
>>>>                         }
>>>>
>>>>                         Store (Arg0, DAT2)
>>>>                         Store (Arg1, DAT1)
>>>>                         Store (0xBB, CMCD)
>>>>                         Store (0x64, Local1)
>>>>                         While (Local1)
>>>>                         {
>>>>                             Decrement (Local1)
>>>>                             Sleep (0x05)
>>>>                             Store (CMCD, Local0)
>>>>                             If (LEqual (Local0, Zero))
>>>>                             {
>>>>                                 Store (Zero, Local1)
>>>>                             }
>>>>                         }
>>>>
>>>>                         Release (MUTX)
>>>>                     }
>>>>
>>>> And Arg2 doesn't exist...but what can I do ?
>>> Find callers of this method, if they pass more than 2 args to it, then
>>> simply change Method(RAMW, 2 -> Method(RAMW, 3.
>>> If noone sends 3rd argument, then the only choice is to remove the whole
>>>  "If () {}".
>> I'm total newbie in this domain...So How can I find "callers" .
>>
>> I have done that :
>> search for "RAMW" in all the dsdt.dsl file. I don't find any other, just
>> the definition of the Method. Do I just remove the method ?
>>
> 
> I test to compile with Method (RAMW, 3, NotSerialized). And I have no
> more error.
> What Do I have to do ? Remove this Method or put 3 arguments ?
> 

Ok I looked through the dsdt.dsl file. Juste above this method I found
this other method :
                    Method (RAMR, 2, NotSerialized)
                    {
                        Acquire (MUTX, 0xFFFF)
                        If (LGreater (Arg0, 0x7F))
                        {
                            Store (Arg1, DAT3)
                        }

                        Store (Arg0, DAT2)
                        Store (0xBA, CMCD)
                        Store (0x64, Local1)
                        While (Local1)
                        {
                            Decrement (Local1)
                            Sleep (0x05)
                            Store (CMCD, Local0)
                            If (LEqual (Local0, Zero))
                            {
                                Store (Zero, Local1)
                            }
                        }

                        Store (DAT1, Local0)
                        Release (MUTX)
                        Return (Local0)
                    }

Perhaps the error is really a bug in the dsdt : Arg2 must be Arg1!

How can I know ?

>> Thx
>> Guillaume
>>
>>
>>> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2007-05-28 11:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-27 17:25 Bugs in my DSDT (aopen 1556/1557 ou keynux impact) giggz
2007-05-28  8:11 ` giggz
2007-05-28  9:48   ` Alexey Starikovskiy
2007-05-28 10:13     ` giggz
2007-05-28 10:45       ` giggz
2007-05-28 11:05         ` giggz [this message]
2007-05-28 12:25           ` Alexey Starikovskiy

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='f3ed49$kga$1@sea.gmane.org' \
    --to=giggzounet@gmail.com \
    --cc=linux-acpi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox