HardwareEnableWithDSDT

Differences between revisions 1 and 2
Revision 1 as of 2010-01-27 03:22:18
Size: 345
Editor: 210
Comment:
Revision 2 as of 2010-01-27 06:28:17
Size: 2289
Editor: 210
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
This page is going to tell how to read DSDT/SSDT table and how it affect your system. This page is going to tell how to read DSDT/SSDT table and how it affects your system.

== Overview of ACPI ==
Line 8: Line 11:
There are many ways to dump ACPI tables. The most easy way is to select and read out tables file from /sys/firmware/acpi/tables
{{{
user@here:~$ tree /sys/firmware/acpi/tables/
/sys/firmware/acpi/tables/
|-- APIC
|-- ATKG
|-- BOOT
|-- DBGP
|-- DSDT
|-- ECDT
|-- FACP
|-- FACS
|-- HPET
|-- MCFG
|-- OEMB
|-- SLIC
|-- SSDT
`-- dynamic
    |-- SSDT2
    |-- SSDT3
    |-- SSDT4
    `-- SSDT5
Line 9: Line 34:
1 directory, 17 files
}}}
You can copy files out with root privilege and use iasl to decompile it
{{{
user@here:~$ sudo cp /sys/firmware/acpi/tables/DSDT ~/DSDT.bin
user@here:~$ sudo chown ikepanhc:ikepanhc /home/ikepanhc/DSDT.bin
user@here:~$ iasl -d ~/DSDT.bin
Line 10: Line 42:
Intel ACPI Component Architecture
AML Disassembler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file /home/user/DSDT.bin
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "/home/user/DSDT.dsl"
}}}

== Read DSDT/SSDT ==
Line 11: Line 59:


==

Summary

This page is going to tell how to read DSDT/SSDT table and how it affects your system.

Overview of ACPI

Dump DSDT/SSDT

There are many ways to dump ACPI tables. The most easy way is to select and read out tables file from /sys/firmware/acpi/tables

user@here:~$ tree /sys/firmware/acpi/tables/
/sys/firmware/acpi/tables/
|-- APIC
|-- ATKG
|-- BOOT
|-- DBGP
|-- DSDT
|-- ECDT
|-- FACP
|-- FACS
|-- HPET
|-- MCFG
|-- OEMB
|-- SLIC
|-- SSDT
`-- dynamic
    |-- SSDT2
    |-- SSDT3
    |-- SSDT4
    `-- SSDT5

1 directory, 17 files

You can copy files out with root privilege and use iasl to decompile it

user@here:~$ sudo cp /sys/firmware/acpi/tables/DSDT ~/DSDT.bin
user@here:~$ sudo chown ikepanhc:ikepanhc /home/ikepanhc/DSDT.bin
user@here:~$ iasl -d ~/DSDT.bin 

Intel ACPI Component Architecture
AML Disassembler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file /home/user/DSDT.bin
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "/home/user/DSDT.dsl"

Read DSDT/SSDT

Information from /sys

KernelTeam/HardwareEnableWithDSDT (last edited 2016-08-05 18:38:47 by dannf)