http://bugzilla.kernel.org/show_bug.cgi?id=3774





------- Comment #21 from [EMAIL PROTECTED]  2007-07-13 13:15 -------
Created an attachment (id=12032)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=12032&action=view)
2.6.22 patch adding "acpi_no_auto_ssdt" bootparam


see patch header for description.
also, updated the docs  like so:

Developing ACPI for Linux - July 13, 2007
------------------------------------------
Len Brown <[EMAIL PROTECTED]> (Intel Open Source Technology Center)

This is how you can be most effective improving Linux ACPI support.

Latest version of this file
---------------------------
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/README.ACPI
...
How to Build a custom DSDT into the kernel
------------------------------------------
Get original DSDT:
# cp /proc/acpi/dsdt DSDT
or
# acpidump > acpidump.out
$ acpixtract DSDT acpidump > DSDT

Disassemble it
$ iasl -d DSDT
Make your changes:
$ vi DSDT.dsl
Build it:
$ iasl -tc DSDT.dsl
Put it where the kernel build can include it:
$ cp DSDT.hex $SRC/include/

Add this to the kernel .config:

CONFIG_STANDALONE=n
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="DSDT.hex"

Make the kernel and off you go!
You should see in dmesg:
Table [DSDT] replaced by host OS

Note that with
CONFIG_ACPI_DEBUG=y
then ASL stores to the special object "Debug" will
come out in the dmesg.  eg

Store("hello world!", Debug)
Store(Local0, Debug)

[ACPI Debug]  String: [0x0C] "hello world!"
[ACPI Debug]  Integer: 0x00000042

As of linux-2.6.23, "acpi_no_auto_ssdt" if available
to prevent Linux from automatically loading all
the SSDTs listed in the RSDT/XSDT.  So with this option,
the SSDTs can be included in the DSDT override
to effectively create a DSDT+SSDT override.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to