public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Strange interpreter behaviour
@ 2006-01-09  5:58 Yu, Luming
  2006-01-09  7:16 ` Janosch Machowinski
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2006-01-09  5:58 UTC (permalink / raw)
  To: Janosch Machowinski, linux-acpi-u79uwXL29TY76Z2rM5mHXA

>I got an ASUS M6, which contains some strange _CST related ASL code.
>In the _CST method there is a check, if \_SB.INV7 is set :
>                 If (\_SB.INV7)
>                 {
>                     Return (NOC3)
>                 }
>This seems to always return true. There is also the method \_GPE:_L17 
>which just inverts \_SB.INV7 and sends a signal to refetch the 
>CST Object :
>           Method (_L17, 0, NotSerialized)
>         {
>             If (\_SB.INV7)
>             {
>                 Store (0x00, \_SB.INV7)
>             }
>             Else
>             {
>                 Store (0x01, \_SB.INV7)
>             }
>
>             Notify (\_PR.CPU1, 0x81)
>         }
>
>Now I called the _L17 method manually :
>echo "0:\\_GPE:_L17:\\_GPE:_L17:10001:1" > 
>/proc/acpi/hotkey/poll_config
>echo "10001:0:1:0" > /proc/acpi/hotkey/action
>
>What I noticed is that every time I call the action, my C-State usage 
>counter gets reset to zero. From that behaviour I would 

Please show  /proc/acpi/processor/power .

>follow, that the 
>L17 method was executed and the CST Object was refetched. 
>there seems 
>to be an error in setting the \_SB.INV7 bit/register/whatever. 
>(I assume 
>0 is false an 1 is true in ASL if-clauses ?)

Don't understand what is wrong.
Please clearly point it out.

Thanks,
Luming

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: Strange interpreter behaviour
@ 2006-01-16  2:27 Yu, Luming
  2006-01-16 19:22 ` Janosch Machowinski
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2006-01-16  2:27 UTC (permalink / raw)
  To: Janosch Machowinski; +Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA

>
>Sorry, seems I missed the main plot ;-)
>In case \_SB.INV7 is 0, the _CST method returns a CST object with a C3 
>and C4 State. If it is 1 I only get the "NOC3" (see above) CST object.
>I can call the _L17 method as often as I want and it seems I 
>allways get 
>a clean fresh CST with only C1 and C2. That's why I assume that 
>something with setting the \_SB.INV7 register is not right. I 
>mentioned 
>this a while ago in a bug : 
>http://bugzilla.kernel.org/show_bug.cgi?id=4485

Not sure, but I think you need to do further investigation.
Are you sure _CST always exits with Return (NOC3).

ACST contains C3 state?


                If (\_SB.INV7) 
                { 
                    Return (NOC3) 
                } 
 
                If (\_SB.BATO) 
                { 
                    Return (BCST) 
                } 
                Else 
                { 
                    Return (ACST) 
                } 
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Strange interpreter behaviour
@ 2006-01-07 17:18 Janosch Machowinski
       [not found] ` <43BFF7DE.1000909-cGBD8117FJM@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Janosch Machowinski @ 2006-01-07 17:18 UTC (permalink / raw)
  To: linux-acpi-u79uwXL29TY76Z2rM5mHXA

Hey,
I got an ASUS M6, which contains some strange _CST related ASL code.
In the _CST method there is a check, if \_SB.INV7 is set :
                 If (\_SB.INV7)
                 {
                     Return (NOC3)
                 }
This seems to always return true. There is also the method \_GPE:_L17 
which just inverts \_SB.INV7 and sends a signal to refetch the CST Object :
           Method (_L17, 0, NotSerialized)
         {
             If (\_SB.INV7)
             {
                 Store (0x00, \_SB.INV7)
             }
             Else
             {
                 Store (0x01, \_SB.INV7)
             }

             Notify (\_PR.CPU1, 0x81)
         }

Now I called the _L17 method manually :
echo "0:\\_GPE:_L17:\\_GPE:_L17:10001:1" > /proc/acpi/hotkey/poll_config
echo "10001:0:1:0" > /proc/acpi/hotkey/action

What I noticed is that every time I call the action, my C-State usage 
counter gets reset to zero. From that behaviour I would follow, that the 
L17 method was executed and the CST Object was refetched. So there seems 
to be an error in setting the \_SB.INV7 bit/register/whatever. (I assume 
0 is false an 1 is true in ASL if-clauses ?)
Greets
    Janosch
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-01-21 18:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-09  5:58 Strange interpreter behaviour Yu, Luming
2006-01-09  7:16 ` Janosch Machowinski
  -- strict thread matches above, loose matches on Subject: below --
2006-01-16  2:27 Yu, Luming
2006-01-16 19:22 ` Janosch Machowinski
2006-01-07 17:18 Janosch Machowinski
     [not found] ` <43BFF7DE.1000909-cGBD8117FJM@public.gmane.org>
2006-01-16 17:19   ` Bruno Ducrot
     [not found]     ` <20060116171932.GF25115-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2006-01-16 21:27       ` Janosch Machowinski
     [not found]         ` <43CC0FC0.9090806-cGBD8117FJM@public.gmane.org>
2006-01-17 10:30           ` Bruno Ducrot
     [not found]             ` <20060117103043.GA2154-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2006-01-17 12:41               ` Janosch Machowinski
     [not found]                 ` <43CCE603.3010600-cGBD8117FJM@public.gmane.org>
2006-01-17 13:24                   ` Bruno Ducrot
     [not found]                     ` <20060117132435.GB2154-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2006-01-17 14:28                       ` Janosch Machowinski
     [not found]                         ` <43CCFF1C.4000309-cGBD8117FJM@public.gmane.org>
2006-01-17 15:47                           ` Bruno Ducrot
2006-01-20 15:27                             ` Janosch Machowinski
2006-01-20 19:32                               ` Bruno Ducrot
2006-01-21 18:55                                 ` Janosch Machowinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox