* Using an external DSDT file with 2.4.19?
@ 2002-09-05 17:41 John M Trostel
[not found] ` <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: John M Trostel @ 2002-09-05 17:41 UTC (permalink / raw)
To: ACPI-list
I am now trying to use an external DSDT file (file.hex) to override what
was written in the BIOS. Unfortunately, I can't quite figure out how to
get this file read rather than BIOS. I see :
http://www.cpqlinux.com/acpi-howto.html
but don't see how this will apply against the current 2.4.19 stuff.
--
John M. Trostel
Senior Software Engineer
Quantum Corp.
john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org>]
* Re: Using an external DSDT file with 2.4.19? [not found] ` <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org> @ 2002-09-05 18:02 ` Troy Schultz 2002-09-05 18:06 ` KOCHI, Takayoshi 2002-09-05 18:07 ` Heiko Ettelbrück 2 siblings, 0 replies; 5+ messages in thread From: Troy Schultz @ 2002-09-05 18:02 UTC (permalink / raw) To: John M Trostel; +Cc: ACPI Development - Sourceforge I just went through this on the weekend, here is what I did. change the name of the newly compiled DSDT.hex file to acpi_dsdt.c and place it in the kernel tree under ../drivers/acpi/tables. Then apply the following patch: ***BEGIN*** --- /usr/src/linux-2.4.19-acpi-20020821/drivers/acpi/osl.c.orig Sun Sep 1 11:16:04 2002 +++ /usr/src/linux-2.4.19-acpi-20020821/drivers/acpi/osl.c Sun Sep 1 11:16:54 2002 @@ -70,6 +70,7 @@ static OSD_HANDLER acpi_irq_handler = NULL; static void *acpi_irq_context = NULL; +extern unsigned char AmlCode[]; acpi_status acpi_os_initialize(void) @@ -221,7 +222,10 @@ if (!existing_table || !new_table) return AE_BAD_PARAMETER; - *new_table = NULL; + if (strncmp(existing_table->signature, "DSDT", 4) == 0) + *new_table = (acpi_table_header*)AmlCode; + else + *new_table = NULL; return AE_OK; } ***END*** This worked very well for me with kernel 2.4.19. Best Regards - Troy On Thu, 2002-09-05 at 13:41, John M Trostel wrote: > I am now trying to use an external DSDT file (file.hex) to override what > was written in the BIOS. Unfortunately, I can't quite figure out how to > get this file read rather than BIOS. I see : > > http://www.cpqlinux.com/acpi-howto.html > > but don't see how this will apply against the current 2.4.19 stuff. > > -- > John M. Trostel > Senior Software Engineer > Quantum Corp. > john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using an external DSDT file with 2.4.19? [not found] ` <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org> 2002-09-05 18:02 ` Troy Schultz @ 2002-09-05 18:06 ` KOCHI, Takayoshi 2002-09-05 18:07 ` Heiko Ettelbrück 2 siblings, 0 replies; 5+ messages in thread From: KOCHI, Takayoshi @ 2002-09-05 18:06 UTC (permalink / raw) To: john.trostel-+vhbC7un7QRBDgjK7y7TUQ, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi, On Thu, 05 Sep 2002 13:41:47 -0400 John M Trostel <john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org> wrote: > I am now trying to use an external DSDT file (file.hex) to override what > was written in the BIOS. Unfortunately, I can't quite figure out how to > get this file read rather than BIOS. I see : > > http://www.cpqlinux.com/acpi-howto.html > > but don't see how this will apply against the current 2.4.19 stuff. The message below would help you. This is very concise guide to override your DSDT. http://sourceforge.net/mailarchive/message.php?msg_id=1890462 Thanks, -- KOCHI, Takayoshi <t-kouchi-f7IHDacdhdx8UrSeD/g0lQ@public.gmane.org/t-kouchi> ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using an external DSDT file with 2.4.19? [not found] ` <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org> 2002-09-05 18:02 ` Troy Schultz 2002-09-05 18:06 ` KOCHI, Takayoshi @ 2002-09-05 18:07 ` Heiko Ettelbrück 2 siblings, 0 replies; 5+ messages in thread From: Heiko Ettelbrück @ 2002-09-05 18:07 UTC (permalink / raw) To: John M Trostel; +Cc: ACPI-list Hi John, please have a look at http://developer.intel.com/technology/iapc/acpi/bios_override.htm It's part of Intel's ACPI how-to and describes how to extract the dsdt from the bios, edit it and finally get the acpi code in your kernel to use the edited dsdt instead of the one in the bios. Hope this helps! Heiko Am Don, 2002-09-05 um 19.41 schrieb John M Trostel: > I am now trying to use an external DSDT file (file.hex) to override what > was written in the BIOS. Unfortunately, I can't quite figure out how to > get this file read rather than BIOS. I see : > > http://www.cpqlinux.com/acpi-howto.html > > but don't see how this will apply against the current 2.4.19 stuff. > > -- > John M. Trostel > Senior Software Engineer > Quantum Corp. > john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Using an external DSDT file with 2.4.19? @ 2002-09-05 19:04 Black, Richard (Hou) 0 siblings, 0 replies; 5+ messages in thread From: Black, Richard (Hou) @ 2002-09-05 19:04 UTC (permalink / raw) To: ACPI-list; +Cc: John M Trostel I have now updated the ACPI howto instructions to include modifying a 2.4.19 kernel: http://www.cpqlinux.com/acpi-howto.html#2.4.19-acpi-dsdt Sincerely, Richard Black http://www.cpqlinux.com http://www.geocities.com/rlcomp_1999 http://www.compaq.com/linux -----Original Message----- From: John M Trostel [mailto:john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org] Sent: Thursday, September 05, 2002 12:42 PM To: ACPI-list Subject: [ACPI] Using an external DSDT file with 2.4.19? I am now trying to use an external DSDT file (file.hex) to override what was written in the BIOS. Unfortunately, I can't quite figure out how to get this file read rather than BIOS. I see : http://www.cpqlinux.com/acpi-howto.html but don't see how this will apply against the current 2.4.19 stuff. -- John M. Trostel Senior Software Engineer Quantum Corp. john.trostel-+vhbC7un7QRBDgjK7y7TUQ@public.gmane.org ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Acpi-devel mailing list Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/acpi-devel ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-09-05 19:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 17:41 Using an external DSDT file with 2.4.19? John M Trostel
[not found] ` <1031247708.3011.50.camel-gH4hS+xkl8U@public.gmane.org>
2002-09-05 18:02 ` Troy Schultz
2002-09-05 18:06 ` KOCHI, Takayoshi
2002-09-05 18:07 ` Heiko Ettelbrück
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 19:04 Black, Richard (Hou)
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.