Acpi-devel digest, Vol 1 #791 - 3 msgs
unsubscribe qwerty bburns-bjBJFzlPIWP2fBVCVOL8/[email protected]
Quoted 186 lines · On Saturday, February 1, 2003, at 03:24 PM…
Send Acpi-devel mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/acpi-devel
or, via email, send a message with subject or body 'help' to
acpi-devel-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.orgYou can reach the person managing the list at
acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.orgWhen replying, please edit your Subject line so it is more specific than "Re: Contents of Acpi-devel digest..."
Today's Topics:
1. How to add dsdt.hex to kernel ? ([email protected])
2. [FAQ?][ACPI] How to add dsdt.hex to kernel ? (Stefan Behnel)
3. Re: [FAQ?][ACPI] How to add dsdt.hex to kernel ?
(=?ISO-8859-1?Q?S=E9rgio?= Monteiro Basto)--__--__--
Message: 1
From: [email protected]
To: [email protected]
Date: Fri, 31 Jan 2003 14:34:39 -0800
Subject: [ACPI] How to add dsdt.hex to kernel ?Hi,
I created a custom dsdt.hex for my system for the kernel 2.5.55.
How am I able to add this new dsdt into the kernel?. I found some instructions on the web for kernel 2.4.18 to copy this file asdrivers/acpt/tables/acpi_dsdt.c. But when I do that in linux-2.5.55, it doesn't getcompiled( no acpi_dsdt.o is made). Is there any different procedure in linux-2.5.55 to add the dsdt to the kernel? Any help appreciated. Thanks,Reeja
Reeja John Software Research and Development,AMD (408) 749 - 3289--__--__--
Message: 2
Date: Sat, 01 Feb 2003 13:08:03 +0100
From: Stefan Behnel <[email protected]>
To: [email protected]
CC: [email protected]
Subject: [FAQ?][ACPI] How to add dsdt.hex to kernel ?Hi!
Quoted 2 lines · [email protected] wrote:
I created a custom dsdt.hex for my system for the kernel 2.5.55. How am I able to add this new dsdt into the kernel?
That one should really go into a FAQ somewhere (or rather replace the outdated description in the existing FAQ).
This simple patch allows you to include your DSDT.hex file. I called it "my-dsdt.hex" here, has to be in the directory [linux]/drivers/acpi/, where
osl.cis located.BTW: As this seems to be a common problem, would there be a way to add it as a standard kernel config option?
Have fun,
Stefan Behneldrivers/acpi/osl.c renamed from drivers/acpi/osl.c 2003-01-24 09:59:27.000000000 +0100 +8
-2@@ -201,6 +201,9 @@return AE_OK ; } +/**/static const +#include "my-dsdt.hex" +acpi_status acpi_os_table_override (struct acpi_table_header *existing_table,struct acpi_table_header **new_table)@@ -208,7 +211,11 @@if (!existing_table || !new_table)return AE_BAD_PARAMETER ; - *new_table =NULL ; +/**/ if (strncmp (existing_table->signature,"DSDT" ,4 )) + *new_table =NULL ; +/**/ else + *new_table = (struct acpi_table_header *)AmlCode; +return AE_OK ; } --__--__--Message: 3
Subject: Re: [FAQ?][ACPI] How to add dsdt.hex to kernel ?
From: =?ISO-8859-1?Q?S=E9rgio?= Monteiro Basto <[email protected]>
To: Stefan Behnel <[email protected]>
Cc: [email protected], acpi-devel <[email protected]>
Date: 01 Feb 2003 17:13:08 +0000like i write before , you can read this two messages
http://sourceforge.net/mailarchive/message.php?msg_id=2160477
or
http://sourceforge.net/mailarchive/message.php?msg_id=2062932
Quoted 50 lines · Stefan Behnel
Hi!
Quoted 2 lines · [email protected] wrote:
I created a custom dsdt.hex for my system for the kernel 2.5.55. How am I able to add this new dsdt into the kernel?
That one should really go into a FAQ somewhere (or rather replace the outdated description in the existing FAQ).
This simple patch allows you to include your DSDT.hex file. I called it "my-dsdt.hex" here, has to be in the directory [linux]/drivers/acpi/, where
osl.cis located.BTW: As this seems to be a common problem, would there be a way to add it as a standard kernel config option?
Have fun,
Stefan Behnel---
linux-2.4.21/drivers/acpi/osl.c2003-01-24 09:59:27.000000000 +0100
+++linux/drivers/acpi/osl.c2003-01-24 13:36:45.000000000 +0100(quoted diff) +8
-2@@ -201,6 +201,9 @@ return AE_OK; } +/**/static const +#include "my-dsdt.hex" + acpi_status acpi_os_table_override (struct acpi_table_header *existing_table, struct acpi_table_header **new_table)@@ -208,7 +211,11 @@ if (!existing_table || !new_table) return AE_BAD_PARAMETER; - *new_table = NULL; + /**/if (strncmp(existing_table->signature,"DSDT",4)) + *new_table = NULL; + /**/else + *new_table = (struct acpi_table_header *)AmlCode; + return AE_OK; } -------------------------------------------------------Quoted 7 lines
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel--__--__--
Quoted 7 lines
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-develEnd of Acpi-devel Digest
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com