Re: Bugs in my DSDT (aopen 1556/1557 ou keynux impact)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



giggz ?????:
> 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 ?
Ask AOpen technical support :)

Regards,
Alex.
> 
>>> Thx
>>> Guillaume
>>>

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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux