X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Received: from hdsmsx404.amr.corp.intel.com ([10.127.2.66]) by hdsmsx403.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 19 Jul 2004 02:11:16 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C46D57.3317DA00" Received: from fmsmsx311.amr.corp.intel.com ([132.233.42.214]) by hdsmsx404.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 19 Jul 2004 02:11:16 -0400 Received: from scsmsx401.amr.corp.intel.com ([10.3.90.12]) by fmsmsx311.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.0); Sun, 18 Jul 2004 23:11:15 -0700 Received: from scsmsx332.amr.corp.intel.com ([10.3.90.6]) by scsmsx401.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.0); Sun, 18 Jul 2004 23:11:15 -0700 Received: from scsmsxvs041.sc.intel.com ([10.3.90.10]) by scsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.0); Sun, 18 Jul 2004 23:11:15 -0700 Received: from petasus.sc.intel.com ([10.3.253.4]) by scsmsxvs041.sc.intel.com (SAVSMTP 3.1.2.35) with SMTP id M2004071823111415384 for ; Sun, 18 Jul 2004 23:11:14 -0700 Received: from hermes.sc.intel.com (hermes.sc.intel.com [10.3.252.3]) by petasus.sc.intel.com (8.12.9-20030918-01/8.12.9/d: major-inner.mc,v 1.10 2004/03/01 19:21:36 root Exp $) with ESMTP id i6J6DgA2000711 for ; Mon, 19 Jul 2004 06:13:42 GMT Received: from tabla.groveronline.com (216-99-218-29.dsl.aracnet.com [216.99.218.29]) by hermes.sc.intel.com (8.12.9-20030918-01/8.12.9/d: major-outer.mc,v 1.15 2004/01/30 18:16:28 root Exp $) with ESMTP id i6J6CYXL017363 for ; Mon, 19 Jul 2004 06:12:36 GMT Received: from [192.168.1.100] ([192.168.1.100]) by tabla.groveronline.com (8.12.11/8.12.11/Debian-5) with ESMTP id i6J6B5Vm030359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 18 Jul 2004 23:11:05 -0700 content-class: urn:content-classes:message Subject: [Fwd: patch to include a custom dsdt] Date: Mon, 19 Jul 2004 02:11:08 -0400 Message-ID: <40FB65FC.8090105-qb8aLOKklSjp4P8CbLYnNQ@public.gmane.org> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [Fwd: patch to include a custom dsdt] Thread-Index: AcRtVzOhZTWUR00rR3KbBtalb/mVPQ== From: "Andy Grover" To: "Brown, Len" ------_=_NextPart_001_01C46D57.3317DA00 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit [Fwd: patch to include a custom dsdt]

--
andy grover email: andy-qb8aLOKklSjp4P8CbLYnNQ@public.gmane.org

------_=_NextPart_001_01C46D57.3317DA00 Content-Transfer-Encoding: 7bit Content-Type: message/rfc822 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Received: by hdsmsx403.hd.intel.com id <01C46D4F.6D7D7900-N2PTB0HCzHJviC08c4yzC1DQ4js95KgL@public.gmane.org>; Mon, 19 Jul 2004 01:15:38 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_002_01C46D4F.6D7D7900" content-class: urn:content-classes:message Subject: patch to include a custom dsdt Date: Mon, 19 Jul 2004 01:15:17 -0400 Message-ID: <200407190715.17979.ulf.dambacher-S0/GAf8tV78@public.gmane.org> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: From: "Ulf Dambacher" To: Reply-To: ------_=_NextPart_002_01C46D4F.6D7D7900 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit patch to include a custom dsdt

Hi Andy

enclosed is a patch for kernel 2.6.7 to include a custom dsdt into osl.c
It comes handy if you want to patch your dsdt, like i did for my DELL inspiron
5100.

Can you put it to the dsdt-part of your acpi-page?

Greetings
Ulf
 
--
Dipl.-Ing Ulf Dambacher

Paul Dambacher GERTUS Werkzeugfabrik GmbH&Co.KG
Zeppelinstr. 17
79331 Teningen - Nimburg
Tel: +49 7663 912 448
Fax: +49 7663 912 445
u.dambacher-J66wkCJCAlezQB+pC5nmwQ@public.gmane.org

------_=_NextPart_002_01C46D4F.6D7D7900 Content-Description: acpi_custom_table-2.6.7.patch Content-Disposition: attachment; filename="acpi_custom_table-2.6.7.patch" Content-Type: text/x-diff; name=acpi_custom_table-2.6.7.patch Content-Transfer-Encoding: 7bit --- linux-2.6.7/drivers/acpi/Kconfig.orig 2004-07-17 10:34:39.000000000 +0200 +++ linux-2.6.7/drivers/acpi/Kconfig 2004-07-17 10:28:11.000000000 +0200 @@ -204,6 +204,23 @@ If you have a legacy free Toshiba laptop (such as the Libretto L1 series), say Y. +config ACPI_CUSTOM_TABLE + bool "Include Custom ACPI Table" + depends on X86 + depends on ACPI_INTERPRETER + default "" + help + Thist option is to load a custom acpi dsdt table, e.g. for buggy acpi + implementations like on DELL inspiron 5100 + +config ACPI_CUSTOM_TABLE_FILE + string "Custom ACPI Table file to include" + depends on ACPI_CUSTOM_TABLE + default "" + help + please enter the full path name to the file wich includes the AmlCode delclaration + + config ACPI_DEBUG bool "Debug Statements" depends on ACPI_INTERPRETER --- linux-2.6.7/drivers/acpi/osl.c.orig 2004-07-17 08:39:55.000000000 +0200 +++ linux-2.6.7/drivers/acpi/osl.c 2004-07-17 10:31:51.000000000 +0200 @@ -55,6 +55,9 @@ void *context; }; +#ifdef CONFIG_ACPI_CUSTOM_TABLE +#include CONFIG_ACPI_CUSTOM_TABLE_FILE +#endif #ifdef ENABLE_DEBUGGER #include @@ -235,7 +238,14 @@ if (!existing_table || !new_table) return AE_BAD_PARAMETER; +#ifdef CONFIG_ACPI_CUSTOM_TABLE + if (strncmp(existing_table->signature, "DSDT", 4) == 0) + *new_table = (struct acpi_table_header*)AmlCode; + else + *new_table = NULL; +#else *new_table = NULL; +#endif return AE_OK; } ------_=_NextPart_002_01C46D4F.6D7D7900-- ------_=_NextPart_001_01C46D57.3317DA00--