All of lore.kernel.org
 help / color / mirror / Atom feed
* question of appropriateness
@ 2005-05-28  1:35 James Sparenberg
       [not found] ` <1117244104.21648.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: James Sparenberg @ 2005-05-28  1:35 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

All,

   Is this the correct list to receive some guidance on fixing a very
badly broken dsdt table for my laptop (37 errors 1 warning when trying
to compile it.) or should I use another list? 


James




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found] ` <1117244104.21648.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-05-28 10:14   ` Sebastian Henschel
  2005-05-29 20:18     ` James Sparenberg
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Henschel @ 2005-05-28 10:14 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

hello James...

* James Sparenberg <james-q+VOwRQyn90NJZHkBl2fuw@public.gmane.org> [2005-05-28 09:19 +0000]:
> 
>    Is this the correct list to receive some guidance on fixing a very
> badly broken dsdt table for my laptop (37 errors 1 warning when trying
> to compile it.) or should I use another list? 

yes, have a try.

cheers,
 Sebastian
-- 
Oo.....................
 wer ein ganzer mensch ist, braucht keine autoritaet zu sein.
 OpenPGP key ID: 0x4A1F5E81  Geekcode: GCSd-s:a-C++ULB+++W++M+PS+++
                                                ..................oO

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: question of appropriateness
  2005-05-28 10:14   ` Sebastian Henschel
@ 2005-05-29 20:18     ` James Sparenberg
       [not found]       ` <1117397912.24721.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: James Sparenberg @ 2005-05-29 20:18 UTC (permalink / raw)
  To: ACPI

After noticing that the reply to on this list doesn't work the way I expected... sorry..


On Sat, 2005-05-28 at 10:14 +0000, Sebastian Henschel wrote:
> hello James...
> 
> * James Sparenberg <james-q+VOwRQyn90NJZHkBl2fuw@public.gmane.org> [2005-05-28 09:19 +0000]:
> > 
> >    Is this the correct list to receive some guidance on fixing a very
> > badly broken dsdt table for my laptop (37 errors 1 warning when trying
> > to compile it.) or should I use another list? 
> 
> yes, have a try.
> 
> cheers,
>  Sebastian

Ok Laptop in question is an Acer Aspire 3000 which other than acpi
hardware is 100% (nice feeling)  Rather than put up all of the errors
I'll break them into 3 groups.

1.  1094 error (which I've a feeling if I fix others will follow) of
which there are 3 types. 

      dsdt.dsl   743:                     0x0100, 0x00,,)
      Error    1094 -                                   ^ Missing
ResourceSource string (required)

      dsdt.dsl   750:                     , AddressRangeMemory,
TypeStatic)
      Error    1094 -            Missing ResourceSource string
(required) ^

The second one I have about 20 of .... each time the Add........ line
appears so one fix style should get me.

2.  The other errors I'm not finding docs on are related to PPC 

      dsdt.dsl  2506:                             If (LNot (LEqual
(\_PR.CPU0._PPC, 0x00)))
      Error    1022 -                                      Object does
not exist ^               (\_PR.CPU0._PPC)

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

      dsdt.dsl  2516:                             If (LLess
(\_PR.CPU0._PPC, Local1))
      Error    1022 -                               Object does not
exist ^  (\_PR.CPU0._PPC)

There are about 10 of these.    I'd appreciate any tips/pointers/FM's
etc any one here can give.  I can't find any evidence of an ECTC on this
one but then again I've just made the decision to dive into this so I'm
in the process of learning where everything is.  Interesting side note.
WinXP on this box (keeping it for the warranty grrrr) also has troubles
with aspects of this DSDT as well.  

James






-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found]       ` <1117397912.24721.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-05-30 13:01         ` Bruno Ducrot
       [not found]           ` <20050530130147.GH32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  2005-06-05  7:21         ` acer aspire 3000 after a week. ACPI report James Sparenberg
  1 sibling, 1 reply; 11+ messages in thread
From: Bruno Ducrot @ 2005-05-30 13:01 UTC (permalink / raw)
  To: James Sparenberg; +Cc: ACPI

On Sun, May 29, 2005 at 01:18:32PM -0700, James Sparenberg wrote:
> Ok Laptop in question is an Acer Aspire 3000 which other than acpi
> hardware is 100% (nice feeling)  Rather than put up all of the errors
> I'll break them into 3 groups.
> 
> 1.  1094 error (which I've a feeling if I fix others will follow) of
> which there are 3 types. 
> 
>       dsdt.dsl   743:                     0x0100, 0x00,,)
>       Error    1094 -                                   ^ Missing
> ResourceSource string (required)
> 
>       dsdt.dsl   750:                     , AddressRangeMemory,
> TypeStatic)
>       Error    1094 -            Missing ResourceSource string
> (required) ^
> 
> The second one I have about 20 of .... each time the Add........ line
> appears so one fix style should get me.


I suspect your iasl is broken somehow: a ResourceSource string is optional.

> 2.  The other errors I'm not finding docs on are related to PPC 
> 
>       dsdt.dsl  2506:                             If (LNot (LEqual
> (\_PR.CPU0._PPC, 0x00)))
>       Error    1022 -                                      Object does
> not exist ^               (\_PR.CPU0._PPC)
> 
>       dsdt.dsl  2508:                                 Store (0x00,
> \_PR.CPU0._PPC)
>       Error    1022 -                                     Object does
> not exist ^  (\_PR.CPU0._PPC)
> 
>       dsdt.dsl  2516:                             If (LLess
> (\_PR.CPU0._PPC, Local1))
>       Error    1022 -                               Object does not
> exist ^  (\_PR.CPU0._PPC)
> 
> There are about 10 of these.

This node is likely defined under another ACPI table called SSDT.
Please get ACPI spec from www.acpi.info but only if you are curious
about SSDT and the like..

I will check this but I need a full ACPI dump.

Could you please send a web link or, if you can not, send to me
privately the output from acpidmp after doing something like that:

wget ftp://ftp.kernel.org//pub/linux/kernel/people/lenb/acpi/utils/pmtools-20031210.tar.bz2
tar xjvfp pmtools-20031210.tar.bz2
cd pmtools-20031210/acpidmp
make
sudo ./acpidmp > acpidmp.out
bzip2 acpidmp.out 

I will also check if I'm correct with point 1.

Cheers,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found]           ` <20050530130147.GH32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2005-05-30 16:48             ` James Sparenberg
       [not found]               ` <1117471738.398.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: James Sparenberg @ 2005-05-30 16:48 UTC (permalink / raw)
  To: ACPI

On Mon, 2005-05-30 at 15:01 +0200, Bruno Ducrot wrote:
> On Sun, May 29, 2005 at 01:18:32PM -0700, James Sparenberg wrote:
> > Ok Laptop in question is an Acer Aspire 3000 which other than acpi
> > hardware is 100% (nice feeling)  Rather than put up all of the errors
> > I'll break them into 3 groups.
> > 
> > 1.  1094 error (which I've a feeling if I fix others will follow) of
> > which there are 3 types. 
> > 
> >       dsdt.dsl   743:                     0x0100, 0x00,,)
> >       Error    1094 -                                   ^ Missing
> > ResourceSource string (required)
> > 
> >       dsdt.dsl   750:                     , AddressRangeMemory,
> > TypeStatic)
> >       Error    1094 -            Missing ResourceSource string
> > (required) ^
> > 
> > The second one I have about 20 of .... each time the Add........ line
> > appears so one fix style should get me.
> 
> 
> I suspect your iasl is broken somehow: a ResourceSource string is optional.
> 
> > 2.  The other errors I'm not finding docs on are related to PPC 
> > 
> >       dsdt.dsl  2506:                             If (LNot (LEqual
> > (\_PR.CPU0._PPC, 0x00)))
> >       Error    1022 -                                      Object does
> > not exist ^               (\_PR.CPU0._PPC)
> > 
> >       dsdt.dsl  2508:                                 Store (0x00,
> > \_PR.CPU0._PPC)
> >       Error    1022 -                                     Object does
> > not exist ^  (\_PR.CPU0._PPC)
> > 
> >       dsdt.dsl  2516:                             If (LLess
> > (\_PR.CPU0._PPC, Local1))
> >       Error    1022 -                               Object does not
> > exist ^  (\_PR.CPU0._PPC)
> > 
> > There are about 10 of these.
> 
> This node is likely defined under another ACPI table called SSDT.
> Please get ACPI spec from www.acpi.info but only if you are curious
> about SSDT and the like..
> 
> I will check this but I need a full ACPI dump.
> 
> Could you please send a web link or, if you can not, send to me
> privately the output from acpidmp after doing something like that:
> 
> wget ftp://ftp.kernel.org//pub/linux/kernel/people/lenb/acpi/utils/pmtools-20031210.tar.bz2
> tar xjvfp pmtools-20031210.tar.bz2
> cd pmtools-20031210/acpidmp
> make
> sudo ./acpidmp > acpidmp.out
> bzip2 acpidmp.out 
> 
> I will also check if I'm correct with point 1.
> 
> Cheers,
> 

Bruce,  

   First thanks for the offer of help and yes I'm starting to did into
the spec.  Shorter read than the LSB though not by much *grin*

I sent the outputs asked for via a direct mail as you asked.  But I
didn't want to post those links into a forum than gets publicly
archived.  If anyone else wants the data I'll be glad to let them see it
as well.  

The reason for starting this endevor is a set of acpi related error
messages that fill up my logs (at the rate of about 1 every 2 seconds) 

    ACPI-0352: *** Error: Looking up [Z007] in namespace, AE_NOT_FOUND
search_node cbec2e20 start_node cbec2e20 return_node 00000000
    ACPI-1138: *** Error: Method execution failed [\_SB_.BAT1._BST]
(Node cbec2d20), AE_NOT_FOUND


I've noticed 2 rather interesting things ...

1.  Windows is only slightly better on power management with this DSDT
than Linux.  
2.  This DSDT does have the "Windows Only" settings in it.  Surprisingly
it doesn't have an entry for WindowsXP.   (I've a feeling somebody cut
and pasted an older DSDT.)

I did file a bug so to speak with Acer a prompt "Thank you for the
information we are looking into the matter type letter", but somehow it
did have a feel about it that it did raise and eyebrow so maybe they can
help sometime in the next 6 months to a year.  *grin*

James




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found]               ` <1117471738.398.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-05-30 17:25                 ` Bruno Ducrot
       [not found]                   ` <20050530172536.GI32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Bruno Ducrot @ 2005-05-30 17:25 UTC (permalink / raw)
  To: James Sparenberg; +Cc: ACPI

On Mon, May 30, 2005 at 09:48:58AM -0700, James Sparenberg wrote:
>    First thanks for the offer of help and yes I'm starting to did into
> the spec.  Shorter read than the LSB though not by much *grin*
> 
> I sent the outputs asked for via a direct mail as you asked.

Got it.

> But I
> didn't want to post those links into a forum than gets publicly
> archived.  If anyone else wants the data I'll be glad to let them see it
> as well.  
> 
> The reason for starting this endevor is a set of acpi related error
> messages that fill up my logs (at the rate of about 1 every 2 seconds) 
> 
>     ACPI-0352: *** Error: Looking up [Z007] in namespace, AE_NOT_FOUND
> search_node cbec2e20 start_node cbec2e20 return_node 00000000
>     ACPI-1138: *** Error: Method execution failed [\_SB_.BAT1._BST]
> (Node cbec2d20), AE_NOT_FOUND

Again that one? Grrr.

> I've noticed 2 rather interesting things ...
> 
> 1.  Windows is only slightly better on power management with this DSDT
> than Linux.  
> 2.  This DSDT does have the "Windows Only" settings in it.  Surprisingly
> it doesn't have an entry for WindowsXP.   (I've a feeling somebody cut
> and pasted an older DSDT.)
> 
> I did file a bug so to speak with Acer a prompt "Thank you for the
> information we are looking into the matter type letter", but somehow it
> did have a feel about it that it did raise and eyebrow so maybe they can
> help sometime in the next 6 months to a year.  *grin*

>From your acpi dump, the dsdt compile without the first error, so I was
pretty right to think that your iasl is broken somehow.

In order to get rid off the _PPC things, I checked that the _PPC thing
was in a SSDT via something like this:

../pmtools/acpidmp/acpixtract SSDT < acpidmp.out > ssdt

Then:
iasl -d ssdt
in order to decompile it to ASL.

So you should not worry about those \_PR.CPU0._PPC (for example) by
defining an external one (see diff below).

Lastly, for the Z007 horror, replace them with Zero or Ones (or any
other integer values).

But I'm wondering what iasl are you using?  It seems totally broken
to me.


--- dsdt.dsl	2005/05/30 17:20:33	1.1
+++ dsdt.dsl	2005/05/30 17:22:51
@@ -6,6 +6,7 @@
  */
 DefinitionBlock ("DSDT.aml", "DSDT", 1, "PTLTD ", "755", 100925440)
 {
+
     OperationRegion (P80G, SystemIO, 0x80, 0x01)
     Field (P80G, ByteAcc, NoLock, Preserve)
     {
@@ -146,6 +147,7 @@
     {
         Processor (CPU0, 0x00, 0x00008010, 0x06) {}
     }
+    External (\_PR.CPU0._PPC)
 
     Scope (\_SB)
     {
@@ -3007,8 +3009,8 @@
             Name (PBST, Package (0x04)
             {
                 0x00, 
-                Z007, 
-                Z007, 
+                Ones, 
+                Ones, 
                 0x2710
             })
             Name (ERRC, 0x00)

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found]                   ` <20050530172536.GI32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2005-05-30 18:38                     ` Bruno Ducrot
       [not found]                       ` <20050530183858.GK32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Bruno Ducrot @ 2005-05-30 18:38 UTC (permalink / raw)
  To: James Sparenberg; +Cc: ACPI

On Mon, May 30, 2005 at 07:25:36PM +0200, Bruno Ducrot wrote:
> But I'm wondering what iasl are you using?  It seems totally broken
> to me.

Actually I am wrong here.  Later iasl (20050513) is now more
restrictive.  When the ResourceSourceIndex exist, then ResourceSource
must exist.

2 solutions if you want to compile:
1- patch iasl in order to restore old behaviour (but this is out of
spec somehow)
or
2- eliminate all the ResourceSourceIndex when there is no ResourceSource.

For point 2, here is an incremental patch to your asl:


--- dsdt.dsl	2005/05/30 17:20:33	1.1
+++ dsdt.dsl	2005/05/30 18:21:40
@@ -740,188 +742,188 @@
                     0x0000, // Address Range Minimum
                     0x00FF, // Address Range Maximum
                     0x0000, // Address Translation Offset
-                    0x0100, 0x00,,)
+                    0x0100, ,,)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000A0000, // Address Range Minimum
                     0x000BFFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00020000, 0x00,,
+                    0x00020000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000C0000, // Address Range Minimum
                     0x000C1FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000C2000, // Address Range Minimum
                     0x000C3FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000C4000, // Address Range Minimum
                     0x000C5FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000C6000, // Address Range Minimum
                     0x000C7FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000C8000, // Address Range Minimum
                     0x000C9FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000CA000, // Address Range Minimum
                     0x000CBFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000CC000, // Address Range Minimum
                     0x000CDFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000CE000, // Address Range Minimum
                     0x000CFFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000D0000, // Address Range Minimum
                     0x000D1FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000D2000, // Address Range Minimum
                     0x000D3FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000D4000, // Address Range Minimum
                     0x000D5FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000D6000, // Address Range Minimum
                     0x000D7FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000D8000, // Address Range Minimum
                     0x000D9FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000DA000, // Address Range Minimum
                     0x000DBFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000DC000, // Address Range Minimum
                     0x000DDFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000DE000, // Address Range Minimum
                     0x000DFFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000E0000, // Address Range Minimum
                     0x000E1FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000E2000, // Address Range Minimum
                     0x000E3FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000E4000, // Address Range Minimum
                     0x000E5FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000E6000, // Address Range Minimum
                     0x000E7FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000E8000, // Address Range Minimum
                     0x000E9FFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000EA000, // Address Range Minimum
                     0x000EBFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000EC000, // Address Range Minimum
                     0x000EDFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x000EE000, // Address Range Minimum
                     0x000EFFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00002000, 0x00,,
+                    0x00002000, ,,
                     , AddressRangeMemory, TypeStatic)
                 DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
                     0x00000000, // Address Space Granularity
                     0x00000000, // Address Range Minimum
                     0xFFFFFFFF, // Address Range Maximum
                     0x00000000, // Address Translation Offset
-                    0x00000000, 0x00,,
+                    0x00000000, ,,
                     , AddressRangeMemory, TypeStatic)
                 IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08)
                 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
@@ -929,14 +931,14 @@
                     0x0000, // Address Range Minimum
                     0x0CF7, // Address Range Maximum
                     0x0000, // Address Translation Offset
-                    0x0CF8, 0x00,,
+                    0x0CF8, ,,
                     , TypeStatic)
                 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                     0x0000, // Address Space Granularity
                     0x0D00, // Address Range Minimum
                     0xFFFF, // Address Range Maximum
                     0x0000, // Address Translation Offset
-                    0xF300, 0x00,,
+                    0xF300, ,,
                     , TypeStatic)
             })
             Method (_CRS, 0, Serialized)



BTW, I'm expecting now some strange iasl error output where it worked
before...

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: question of appropriateness
       [not found]                       ` <20050530183858.GK32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2005-05-30 22:58                         ` James Sparenberg
  0 siblings, 0 replies; 11+ messages in thread
From: James Sparenberg @ 2005-05-30 22:58 UTC (permalink / raw)
  To: ACPI

On Mon, 2005-05-30 at 20:38 +0200, Bruno Ducrot wrote:
> On Mon, May 30, 2005 at 07:25:36PM +0200, Bruno Ducrot wrote:
> > But I'm wondering what iasl are you using?  It seems totally broken
> > to me.
> 
> Actually I am wrong here.  Later iasl (20050513) is now more
> restrictive.  When the ResourceSourceIndex exist, then ResourceSource
> must exist.
> 
> 2 solutions if you want to compile:
> 1- patch iasl in order to restore old behaviour (but this is out of
> spec somehow)
> or
> 2- eliminate all the ResourceSourceIndex when there is no ResourceSource.
> 
> For point 2, here is an incremental patch to your asl:


Bruno,

    You sir are a genius!.... combining the two patches + another minor
fix  (WAK_1 not having Return(Package(0x02){0x00, 0x00}), and I am now
running at 100% of expected.    Additional things like suspend etc need
tweaking in the script arena but not in the DSDT.  

   Other than submitting this DSDT to the wiki at acpi.sourceforge.net
for others to use is there anywhere else that I should submit it.  (Note
it compiled without errors or warnings.)  Thanks again. Now to do some
reading so that I can fully understand just what it is you did.  

James




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* acer aspire 3000 after a week.  ACPI report.
       [not found]       ` <1117397912.24721.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  2005-05-30 13:01         ` Bruno Ducrot
@ 2005-06-05  7:21         ` James Sparenberg
       [not found]           ` <1117956090.18789.16.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  1 sibling, 1 reply; 11+ messages in thread
From: James Sparenberg @ 2005-06-05  7:21 UTC (permalink / raw)
  To: ACPI

To jump back in on my original thread (with a new title.) After a week
on the new DSDT all seemed to go well (running it as an addition to my
initrd without any problem at all)  I moved on to the next level.
Adding RAM.  This turned out to be a big mistake.  

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC0] (gpe 25)
    ACPI-0405: *** Error: Handler for [SystemMemory] returned
AE_NO_MEMORY
    ACPI-1138: *** Error: Method execution failed
[\_SB_.PCI0.LPCB.EC0_._REG] (Node c13f6e00), AE_NO_MEMORY

Is the related dmesg error.    With the new ram and DSDT ... nothing
works right that is associated with ACPI .... sound network therm fan
and bat are all messed up.  However the box does run better *grin* and
the ram is correctly detected.  (and matches the type the box requires
pc2700 200pin) 

If I drop the new DSDT table and boot .... I get a box with no battery
detection, Everything else works.  

I then tried just applying the patch I got from Bruno ... not related to
the over strict nature of the new compiler, and also applying the
compiler patch.  

This compiled and runs in exactly the same manor as the full on version.
So no change there.    In the dsdt there are 3 lines related to system
memory. But only one connected with \_SB as in the dmesg error.

Scope (\_SB)
        {
            Name (OSTB, Ones)
            OperationRegion (OSTY, SystemMemory, 0x0BEFADE4, 0x00000001)
            Field (OSTY, AnyAcc, NoLock, Preserve)
            {
                TPOS,   8
            }

So my question is should  0x0BEFADE4  be changed to 0x0BF395E4  or
should I go all the way (My max ram is 2G on this box) 0x7754D7E4  so
that in the future I don't have to adjust, or is it likely that I would
be best off adjusting it to match ram.  

The other chance... is that I'm so totally off base I'm lost *grin*

James




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

* Re: acer aspire 3000 after a week.  ACPI report.
       [not found]           ` <1117956090.18789.16.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-06-05  8:30             ` James Sparenberg
       [not found]               ` <1117960258.19210.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: James Sparenberg @ 2005-06-05  8:30 UTC (permalink / raw)
  To: ACPI

On Sun, 2005-06-05 at 00:21 -0700, James Sparenberg wrote:
> To jump back in on my original thread (with a new title.) After a week
> on the new DSDT all seemed to go well (running it as an addition to my
> initrd without any problem at all)  I moved on to the next level.
> Adding RAM.  This turned out to be a big mistake.  
> 
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: Embedded Controller [EC0] (gpe 25)
>     ACPI-0405: *** Error: Handler for [SystemMemory] returned
> AE_NO_MEMORY
>     ACPI-1138: *** Error: Method execution failed
> [\_SB_.PCI0.LPCB.EC0_._REG] (Node c13f6e00), AE_NO_MEMORY
> 
> Is the related dmesg error.    With the new ram and DSDT ... nothing
> works right that is associated with ACPI .... sound network therm fan
> and bat are all messed up.  However the box does run better *grin* and
> the ram is correctly detected.  (and matches the type the box requires
> pc2700 200pin) 
> 
> If I drop the new DSDT table and boot .... I get a box with no battery
> detection, Everything else works.  
> 
> I then tried just applying the patch I got from Bruno ... not related to
> the over strict nature of the new compiler, and also applying the
> compiler patch.  
> 
> This compiled and runs in exactly the same manor as the full on version.
> So no change there.    In the dsdt there are 3 lines related to system
> memory. But only one connected with \_SB as in the dmesg error.
> 
> Scope (\_SB)
>         {
>             Name (OSTB, Ones)
>             OperationRegion (OSTY, SystemMemory, 0x0BEFADE4, 0x00000001)
>             Field (OSTY, AnyAcc, NoLock, Preserve)
>             {
>                 TPOS,   8
>             }
> 
> So my question is should  0x0BEFADE4  be changed to 0x0BF395E4  or
> should I go all the way (My max ram is 2G on this box) 0x7754D7E4  so
> that in the future I don't have to adjust, or is it likely that I would
> be best off adjusting it to match ram.  
> 
> The other chance... is that I'm so totally off base I'm lost *grin*
> 
> James

Forget what I said above.... testing shows I'm wtfo....  back to the
drawing board.

James




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

* Re: acer aspire 3000 after a week.  ACPI report.
       [not found]               ` <1117960258.19210.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-06-05 18:16                 ` Stefan Seyfried
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Seyfried @ 2005-06-05 18:16 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sun, Jun 05, 2005 at 01:30:58AM -0700, James Sparenberg wrote:

> > So my question is should  0x0BEFADE4  be changed to 0x0BF395E4  or
> > should I go all the way (My max ram is 2G on this box) 0x7754D7E4  so
> > that in the future I don't have to adjust, or is it likely that I would
> > be best off adjusting it to match ram.  
> > 
> > The other chance... is that I'm so totally off base I'm lost *grin*
> > 
> > James
> 
> Forget what I said above.... testing shows I'm wtfo....  back to the
> drawing board.

Assuming you have a diff of the "originial" and the "fixed" DSDT, just
apply this diff to the "broken" DSDT you get from BIOS after upgrading
the RAM. The BIOS changes values in the DSDT depending on BIOS settings,
RAM size etc.pp and you always have to adopt your patched DSDT to those
changed settings. This is why it is such a pain in the ass when vendors
ship broken DSDTs: it is not a "fix it once and for all" but a "fix it
everytime you change your setup" scenario :-(

At least this is how i understood the issue.
Good luck.
-- 
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

end of thread, other threads:[~2005-06-05 18:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-28  1:35 question of appropriateness James Sparenberg
     [not found] ` <1117244104.21648.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-05-28 10:14   ` Sebastian Henschel
2005-05-29 20:18     ` James Sparenberg
     [not found]       ` <1117397912.24721.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-05-30 13:01         ` Bruno Ducrot
     [not found]           ` <20050530130147.GH32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-05-30 16:48             ` James Sparenberg
     [not found]               ` <1117471738.398.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-05-30 17:25                 ` Bruno Ducrot
     [not found]                   ` <20050530172536.GI32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-05-30 18:38                     ` Bruno Ducrot
     [not found]                       ` <20050530183858.GK32472-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-05-30 22:58                         ` James Sparenberg
2005-06-05  7:21         ` acer aspire 3000 after a week. ACPI report James Sparenberg
     [not found]           ` <1117956090.18789.16.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-06-05  8:30             ` James Sparenberg
     [not found]               ` <1117960258.19210.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-06-05 18:16                 ` Stefan Seyfried

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.