public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Berthold Cogel <cogel-F8dkAKZEjLURtNtAH2Wc8g@public.gmane.org>
To: ACPI Development
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Acer Extensa 3002 WLMi: Help wanted fixing the DSDT
Date: Fri, 23 Sep 2005 23:50:18 +0200	[thread overview]
Message-ID: <4334789A.8020803@rrz.uni-koeln.de> (raw)

Hello!

I've exported the DSTD of my notebook (Acer Extensa 3002 WLMi) and tried
to recompile it:

--:<---

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20040715 [Sep 22 2004]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c

dsdt.dsl.orig   245:     Method (_WAK, 1, NotSerialized)
Warning  2026 -                     ^ Reserved method must return a
value (_WAK)

dsdt.dsl.orig  4901:                         Method (_STA, 0, NotSerialized)
Warning  2019 -    Not all control paths return a value ^  (_STA)

dsdt.dsl.orig  4901:                         Method (_STA, 0, NotSerialized)
Warning  2026 -     Reserved method must return a value ^  (_STA)
ASL Input:  dsdt.dsl.orig - 5430 lines, 203286 bytes, 2595 keywords
AML Output: DSDT.aml - 22082 bytes 643 named objects 1952 executable opcodes

Compilation complete. 0 Errors, 3 Warnings, 0 Remarks, 723 Optimizations

--:<---


I've fixed the errors according to information I found in the list and
other sources:


--:<---

diff -c orig/dsdt.dsl.orig fixed/dsdt.dsl
*** orig/dsdt.dsl.orig  2005-08-23 23:51:15.000000000 +0200
--- fixed/dsdt.dsl      2005-08-27 19:50:55.000000000 +0200
***************
*** 295,300 ****
--- 295,301 ----
          }

          Store (0x00, \_SB.SLEE)
+       Return(Package(0x02){0x00, 0x00})
      }

      Scope (_GPE)
***************
*** 4917,4922 ****
--- 4918,4927 ----
                                              Return (0x0F)
                                          }
                                      }
+                                     Else
+                                     {
+                                         Return (0x08)
+                                     }
                                  }
                                  Else
                                  {

--:<---


Then I patched the DSDT with the code from the sbs-linux project
(sbs-cm-20050328, acer-tm4xxx-sbs-cm.diff). Recompiling gives some
errors I haven't fixed yet:


--:<---

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20040715 [Sep 22 2004]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c

smbus-cm.asl    87:         Method (_SBI, 0, NotSerialized)
Warning  2033 -  Unknown reserved name ^  (_SBI)

smbus-cm.asl   147:         Method (_SBR, 3, NotSerialized)
Warning  2033 -  Unknown reserved name ^  (_SBR)

smbus-cm.asl   237:         Method (_SBW, 5, NotSerialized)
Warning  2033 -  Unknown reserved name ^  (_SBW)

smbus-cm.asl   314:         Method (_SBA, 0, NotSerialized)
Warning  2033 -  Unknown reserved name ^  (_SBA)

ASL Input:  dsdt.dsl - 5337 lines, 247867 bytes, 3171 keywords
AML Output: DSDT.aml - 25869 bytes 706 named objects 2465 executable opcodes

Compilation complete. 0 Errors, 4 Warnings, 0 Remarks, 921 Optimizations

--:<---


Does anybody know how to fix the DSDT?

Thanks,

Berthold




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

             reply	other threads:[~2005-09-23 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-23 21:50 Berthold Cogel [this message]
     [not found] ` <4334789A.8020803-F8dkAKZEjLURtNtAH2Wc8g@public.gmane.org>
2005-09-24  7:30   ` Acer Extensa 3002 WLMi: Help wanted fixing the DSDT Olaf Jansen-Olliges
     [not found]     ` <200509240930.30642.o.jansen-n+qsWun7DryELgA04lAiVw@public.gmane.org>
2005-09-25 12:15       ` Berthold Cogel
     [not found]         ` <433694FA.9040803-F8dkAKZEjLURtNtAH2Wc8g@public.gmane.org>
2005-09-25 13:14           ` john
2005-09-25 14:41           ` Olaf Jansen-Olliges

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=4334789A.8020803@rrz.uni-koeln.de \
    --to=cogel-f8dkakzejlurtntah2wc8g@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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