public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: ASL fixing questions
@ 2004-02-13  4:08 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AF-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 25+ messages in thread
From: Yu, Luming @ 2004-02-13  4:08 UTC (permalink / raw)
  To: Bruno Ducrot, Martijn Pieters; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> >         Name (_PSS, Package (0x03) // 102 (206)
> >         {
> >             Package (0x06)
> >             {
> >                 0x08070000,
> >                 0xB36A0000,
> >                 0x7D000000,
> >                 0x09000000,
> >                 0x8A2920E0,
> >                 0x8A010000
>                   ^^^^^^^^^^
> 		  I think that all of those
> 		  values are broken, because
> 		  they are stored in a little bit
> 		  order.
> 		  It should be in fact, at least for the that
> 		  first package:

I'm curious how you can get such conclusion. ACPI spec
just state there should be 6 DWordConst for each Performance
State Definition Package.  

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: ASL fixing questions
@ 2004-02-13  3:43 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AE-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 25+ messages in thread
From: Yu, Luming @ 2004-02-13  3:43 UTC (permalink / raw)
  To: Martijn Pieters, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> Okay, so I have a nice new eMachines M6805, but ACPI support 
> is screwed. 

I want to know the error messages that give you impression that
ACPI support is screwed. Or some expected functionality has 
broken.  It's very important to judge whether we need to hack 
ASL , and give you a hint to hack which part of ASL.


> I am trying fix the AML the bios provided me, and iron out all the 
> errors and warnings. Attached my DSDT.dsl, as fixed so far.
> 
> So far I got rid of the warnings (_WAK didn't return anything; fixed 
> with examples from working DSTS-es, _BTS method didn't return 
> anything 
> on some control paths; move return out of if statement down).

I'm not sure this kind of hack could solve the problem you have.

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 25+ messages in thread
* ASL fixing questions
@ 2004-02-12  3:58 Martijn Pieters
       [not found] ` <402AF9FF.3020706-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
  0 siblings, 1 reply; 25+ messages in thread
From: Martijn Pieters @ 2004-02-12  3:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1807 bytes --]

Hi list,

Okay, so I have a nice new eMachines M6805, but ACPI support is screwed. 
I am trying fix the AML the bios provided me, and iron out all the 
errors and warnings. Attached my DSDT.dsl, as fixed so far.

So far I got rid of the warnings (_WAK didn't return anything; fixed 
with examples from working DSTS-es, _BTS method didn't return anything 
on some control paths; move return out of if statement down).

However, I am still stuck with 3 different error classes I have trouble 
figuring out.

First of all, there are 7 references to a _PPC field on the CPU0 
Processor object:

dsdt.dsl  2035: Store (Zero, \_PR.CPU0._PPC)
Error    1022 -     Object does not exist ^  (\_PR.CPU0._PPC)

Now, _PPC is a ACPI 2.0 *Method*, not a field, and this ASL states it 
adheres to ACPI _version 1.0_. My question: Is this a Microsoft-only 
extension to the ACPI 1.0 spec and can I safely remove these _PPC lines 
for Linux? They appear to set the CPU power states, but I am not sure 
how to correctly set these from ASL otherwise.

The second error is that there are 3 Field declarations that seem to 
want to address more information than the OperationRegions they are 
attached to:

dsdt.dsl  2953: PWST,   2,
Error    1051 -    ^ Access width of Field Unit extends beyond region limit

I am not sure how to go about fixing these yet; I am not entirely sure 
what the syntax means yet.

Last but not least, tehre is one Field declaration that wants to define 
AnyAcc to a OperationRegion, something that apparently isn't possible:

dsdt.dsl  3235: Field (ERAM, AnyAcc, NoLock, Preserve)
Error    1048 -           ^ Host Operation Region requires ByteAcc access

Again, I have no clue yet how to go about fixing this error, if at all 
possible.

Any help or hints is greatly appreciated!

Martijn Pieters


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

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

end of thread, other threads:[~2004-02-21 17:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13  4:08 ASL fixing questions Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AF-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-13  4:40   ` Bruno Ducrot
     [not found]     ` <20040213044014.GG13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-21 17:15       ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-02-13  3:43 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AE-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-13 14:20   ` Martijn Pieters
2004-02-12  3:58 Martijn Pieters
     [not found] ` <402AF9FF.3020706-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12  4:48   ` Martijn Pieters
2004-02-12  6:45   ` Martijn Pieters
2004-02-12  9:37   ` Bruno Ducrot
     [not found]     ` <20040212093732.GP13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 14:52       ` Martijn Pieters
     [not found]         ` <402B9313.9000701-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 16:33           ` Martijn Pieters
     [not found]             ` <402BAABC.5040706-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 17:24               ` Martijn Pieters
2004-02-12 20:43               ` Bruno Ducrot
     [not found]                 ` <20040212204335.GU13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 20:56                   ` Martijn Pieters
     [not found]                     ` <402BE889.5090502-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:18                       ` Bruno Ducrot
     [not found]                         ` <20040212211803.GW13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:25                           ` Martijn Pieters
     [not found]                             ` <402BEF3A.3080702-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-13  2:00                               ` Martijn Pieters
2004-02-12 21:20                       ` Martijn Pieters
     [not found]                         ` <402BEE34.9050908-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:26                           ` Bruno Ducrot
     [not found]                             ` <20040212212649.GX13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:35                               ` Martijn Pieters
     [not found]                                 ` <402BF19C.9050803-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 22:06                                   ` Bruno Ducrot
     [not found]     ` <402B7917.2090505@zopatista.com>
     [not found]       ` <402B7917.2090505-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:16         ` Bruno Ducrot
     [not found]           ` <20040212211615.GV13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:34             ` Martijn Pieters
     [not found]               ` <402BF14A.8040406-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 22:11                 ` Bruno Ducrot
     [not found]                   ` <20040212221108.GZ13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 23:35                     ` Martijn Pieters

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