Skip to contentSkip to conversation

Linux/ACPI DSDT override page update

RFC Len Brown 1 participant 1 message Feb 7, 2008 ACPI

lore
Share & tools
lore

Len Brown

author reviewer
#0 lore raw

Here are my proposed updates for
http://www.lesswatts.org/projects/acpi/overridingDSDT.php

thanks,
-Len
---

Quoted 2 lines

iASL is part of the ACPICA release,
http://www.intel.com/technology/iapc/acpi/downloads.htm.

Please reference "http://acpica.org" instead.

Also, in the section titled "How to build a customer DSDT into an initrd", please replace all of the text with the following:

If you are unable to re-build the kernel,
or you'd like to run the same kernel binary
on multiple machines that require different DSDT overrides, then the initrd method should suite your needs.

For kernels before Linux-2.6.25, this method requires the out-of-tree patch found here: http://gaugusch.at/kernel.shtml (thanks to Markus Gaugusch and Eric Piel) Some distributors, such as SuSE and Ubuntu, included that patch,
and you can tell if it is present by finding the following line in the console log:

"Looking for DSDT in initramfs..."

In Linux-2.6.25 and later, this method is enabled via CONFIG_ACPI_CUSTOM_DSDT_INITRD, and you can tell if a kernel binary includes it by finding the following line in the console log:

"ACPI: Checking initramfs for custom DSDT"

The process for creating the DSDT image is the same as above. But note that
the format of the table included in the initramfs is binary (iasl -ta), while if you build a DSDT into the kernel, C-source code is used (iasl -tc).

In case your mkinitrd tool does not support this feature, a script is provided in the kernel source tree, Documentation/acpi/initramfs-add-dsdt.sh