Re: RV: differences between acpidump and disassembling

Sérgio Monteiro Basto
2004-04-19T21:16:35Z

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