Skip to content

Instantly share code, notes, and snippets.

@startergo
Last active Aug 15, 2021
Embed
What would you like to do?
Extract disassemble DSDT and SSDT from Linux
  • Installing acpica-tools:

  • The latest source code is available on either acpica.org or github as below, and it can be compiled and installed by “make” followed by “sudo make install“.

https://acpica.org/downloads

https://github.com/acpica/acpica

  • For compiling from source install:
sudo apt install flex bison gcc
sudo make && sudo make install

acpidump – collect tables from a running system

acpixtract – extract tables from an acpidump file

acpiexec – emulate ACPI tables from extracted tables

iasl – compile & disassemble ACPI tables

  • Extract and Disassemble Tables
  • Get all tables:
sudo acpidump > acpi.log
  • Extract DSDT and SSDT:
acpixtract acpi.log
  • Disassemble tables:
iasl -e ssdt1.dat ssdt2.dat ssdt3.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt8.dat -d dsdt.dat
iasl -e dsdt.dat ssdt2.dat ssdt3.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt8.dat -d ssdt1.dat
iasl -e ssdt1.dat dsdt.dat ssdt3.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt8.dat -d ssdt2.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt8.dat -d ssdt3.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt3.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt8.dat -d ssdt4.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt4.dat ssdt3.dat ssdt6.dat ssdt7.dat ssdt8.dat -d ssdt5.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt4.dat ssdt5.dat ssdt3.dat ssdt7.dat ssdt8.dat -d ssdt6.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt3.dat ssdt8.dat -d ssdt7.dat
iasl -e ssdt1.dat ssdt2.dat dsdt.dat ssdt4.dat ssdt5.dat ssdt6.dat ssdt7.dat ssdt3.dat -d ssdt8.dat


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment