All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sérgio Monteiro Basto" <sergiomb-hHo3WeeoaswVhHzd4jOs4w==@public.gmane.org>
To: emejia-EkmVulN54Sk=@public.gmane.org
Cc: acpi-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: RV: differences between acpidump and disassembling
Date: Mon, 19 Apr 2004 22:16:35 +0100	[thread overview]
Message-ID: <1082409395.11663.63.camel@darkstar> (raw)
In-Reply-To: <200404191309.45870.emejia-EkmVulN54Sk=@public.gmane.org>

On Mon, 2004-04-19 at 12:09, Emilio Mejia Fernandez de Velasco wrote:

you should work with pmtools that have acpidump
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
and 
http://developer.intel.com/technology/iapc/acpi/downloads.htm
get last ACPI CA - Unix Build Environment - .TAR.GZ file, 530k
after untar cd complier ; make


> > grep -i ACPI
> 
> I guess you mean grep -i acpi, with lower-case. don't you?

grep -i , is for ignore lower or uppercases .


> > cat /proc/acpi/dsdt > acpi_dsdt.dat
> > ./iasl  -d acpi_dsdt.dat
> > ./iasl -on -tc acpi_dsdt.dsl
> 
> Attached is the file acpi_dsdt.dsl which gives no errors and no warnings. 
> Anyway, in this case, the WAK function includes the modification that I 
> added, returning a package with two zeros. This is different when I get the 
> asl file from acpidump. Do you think this can be the cause of the blockings?

No,

> >
> > don't need Looking for DSDT in initrd ... found customized DSDT with
> > 15240 byte
> I don't know what you mean by this. I thought that it finds the customized 
> DSDT because I applied a patch from http://gaugusch.at/kernel.shtml
> in order to get the the customized dsdt from initrd. Otherwise it would use 
> the default one.

you can override your DSDT without this customize dsdt from initrd,

http://acpi.sourceforge.net/wiki/index.php/HowToOverrideTable
with this patch 
--- linux/drivers/acpi/osl.c.orig
+++ linux/drivers/acpi/osl.c
@@ -215,13 +215,18 @@
       return AE_OK;
 }

+/**/static const
+#include "/tmp/dsdt.hex"
+
 acpi_status
 acpi_os_table_override (acpi_table_header *existing_table,
       acpi_table_header **new_table)
 {
       if (!existing_table || !new_table)
               return AE_BAD_PARAMETER;

+/**/if (strncmp(existing_table->signature,"DSDT",4))
       *new_table = NULL;
+/**/else *new_table = (struct acpi_table_header *)AmlCode;
       return AE_OK;
}

let me know what computer we are talking about ?
and send me the binary in a gz (acpidmp DSDT )

regards,
-- 
Sérgio M. B.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

  parent reply	other threads:[~2004-04-19 21:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000701c425f8$6157aef0$0301a8c0@portatil>
     [not found] ` <000701c425f8$6157aef0$0301a8c0-qXvZZVhXUsA@public.gmane.org>
2004-04-19 11:09   ` RV: differences between acpidump and disassembling Emilio Mejia Fernandez de Velasco
     [not found]     ` <200404191309.45870.emejia-EkmVulN54Sk=@public.gmane.org>
2004-04-19 21:16       ` Sérgio Monteiro Basto [this message]
     [not found]         ` <1082409395.11663.63.camel-4/PLUo9XfK8@public.gmane.org>
2004-04-19 22:24           ` Emilio Mejia Fernandez de Velasco
     [not found]             ` <200404200024.18432.emejia-EkmVulN54Sk@public.gmane.org>
2004-04-20 19:09               ` Sérgio Monteiro Basto
     [not found]                 ` <1082488182.28680.14.camel-4/PLUo9XfK8@public.gmane.org>
2004-04-20 21:05                   ` Emilio Mejía Fernández de Velasco
     [not found]                     ` <000201c4271b$37662da0$0301a8c0-qXvZZVhXUsA@public.gmane.org>
2004-04-20 21:15                       ` Luca Capello
     [not found] ` <200404192343.11269.emejia@ieee.org>
     [not found]   ` <1082487806.28680.8.camel@darkstar>
     [not found]     ` <1082487806.28680.8.camel-4/PLUo9XfK8@public.gmane.org>
2004-04-20 23:18       ` Emilio Mejia Fernandez de Velasco
     [not found]         ` <200404210118.17337.emejia-EkmVulN54Sk@public.gmane.org>
2004-04-20 23:54           ` Sérgio Monteiro Basto
2004-04-21  0:15           ` Sérgio Monteiro Basto
     [not found] <20040420235602.2A6361D1CEC@sc8-sf-uberspam1.sourceforge.net>
     [not found] ` <20040420235602.2A6361D1CEC-OzNnu8isf6tmn0lPF+B0o2Y9YhHS9GKTCHO06yS12DY@public.gmane.org>
2004-04-21  0:45   ` Emilio Mejía Fernández de Velasco

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=1082409395.11663.63.camel@darkstar \
    --to=sergiomb-hho3weeoaswvhhzd4jos4w==@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=emejia-EkmVulN54Sk=@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 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.