ACPIDUMP(8)

๐Ÿ“ฆ
this version ยท 3 versions
, in opensuse-leap 16.0

๐Ÿ’… ACPIDUMP โ€” like, the whole manual, bestie

okay so real quick, the vibe: this is acpidump, section 8 of the System Manager's Manual. sysadmin territory. buckle up ๐ŸŽ€


โœจ NAME โœจ

acpidump โ€” dump a system's ACPI tables to an ASCII file. yes. that's the whole thing. it's giving "one job and it does it" ๐Ÿ‘‘


๐ŸŒธ SYNOPSIS ๐ŸŒธ

acpidump [options]

that's it. that's the whole synopsis. no required args, no drama. iconic ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so acpidump dumps the system's ACPI tables to an ASCII file โ€” and the whole point is that the file is appropriate for attaching to a bug report ๐Ÿ›โœจ like, this is the file you hand to the devs when something's cursed and you need someone smarter than you (no offense) to look at it.

and then, subsequently, those dumped tables can be processed by utilities in the ACPICA package. that's the workflow bestie. dump, attach, extract, done ๐Ÿซถ


๐Ÿ’– OPTIONS ๐Ÿ’–

acpidump options are as follow:

โญ Options

  • -b โ€” dump tables to binary files ๐Ÿ’พ
  • -h, -? โ€” this help message. you know the drill ๐Ÿซถ
  • -o <File> โ€” redirect output to file. bye bye terminal, hello File ๐ŸŽ€
  • -r <Address> โ€” dump tables from the specified RSDP ๐Ÿ“
  • -s โ€” print table summaries only. just the vibes, not the full tea ๐Ÿต
  • -v โ€” display version information ๐Ÿท๏ธ
  • -z โ€” verbose mode. she talks more now ๐Ÿ—ฃ๏ธ

๐Ÿงš Table Options

  • -a <Address> โ€” get table via a physical address ๐Ÿ“Œ
  • -c <on|off> โ€” turning on/off customized table dumping. literally a toggle, <on|off>, that's the whole value set ๐Ÿ”˜
  • -f <BinaryFile> โ€” get table via a binary file ๐Ÿ“
  • -n <Signature> โ€” get table via a name/signature ๐Ÿ–Š๏ธ
  • -x โ€” do not use but dump XSDT
  • -x -x โ€” do not use or dump XSDT. yes, twice. that's how you say it. no cap ๐Ÿซ 
Invocation without parameters dumps all available tables. just raw-dogging the command with zero flags = everything, bestie.

Multiple mixed instances of -a, -f, and -n are supported ๐Ÿ’ซ like, you can stack em. mix em. go off.


๐ŸŒˆ EXAMPLES ๐ŸŒˆ

first, dump it out:

# acpidump > acpidump.out

then extract, and she'll narrate everything she pulls out:

$ acpixtract -a acpidump.out
        Acpi table [DSDT] -  15974 bytes written to DSDT.dat
        Acpi table [FACS] -     64 bytes written to FACS.dat
        Acpi table [FACP] -    116 bytes written to FACP.dat
        Acpi table [APIC] -    120 bytes written to APIC.dat
        Acpi table [MCFG] -     60 bytes written to MCFG.dat
        Acpi table [SSDT] -    444 bytes written to SSDT1.dat
        Acpi table [SSDT] -    439 bytes written to SSDT2.dat
        Acpi table [SSDT] -    439 bytes written to SSDT3.dat
        Acpi table [SSDT] -    439 bytes written to SSDT4.dat
        Acpi table [SSDT] -    439 bytes written to SSDT5.dat
        Acpi table [RSDT] -     76 bytes written to RSDT.dat
        Acpi table [RSDP] -     20 bytes written to RSDP.dat

and then this:

$ iasl -d *.dat

which creates *.dsl โ€” a human readable form which can be edited and compiled using iasl. oh she's readable now. we love a glow-up โœจ๐Ÿ“–


๐Ÿ’€ NOTES ๐Ÿ’€

acpidump must be run as root. like, that's not a suggestion, that's the law ๐Ÿ‘ฎโ€โ™€๏ธ๐Ÿ‘‘

๐Ÿ”ฅ REFERENCES ๐Ÿ”ฅ

ACPICA: https://acpica.org/ ๐ŸŒ


๐Ÿ“ FILES ๐Ÿ“

  • /dev/mem
  • /sys/firmware/acpi/tables/*
  • /sys/firmware/acpi/tables/dynamic/*
  • /sys/firmware/efi/systab

look at all these paths. the way that /sys/firmware/acpi/tables/dynamic/* is just sitting there being all dynamic. obsessed ๐Ÿฆ‹


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Original by:

  • Len Brown <len.brown@intel.com>

Written by:

  • Chao Guan <chao.guan@intel.com>

Updated by:

  • Bob Moore <robert.moore@intel.com>
  • Lv Zheng <lv.zheng@intel.com>

shoutout to the whole squad honestly ๐Ÿซถโœจ


๐Ÿ’œ SEE ALSO ๐Ÿ’œ

acpixtract(8), iasl(8).


COPYRIGHT (c) 2013, Intel Corporation.


and that's the page, bestie ๐ŸŽ€ no cap, you now know acpidump better than most people know their own wifi password. this was the System Manager's Manual, ACPIDUMP(8) โ€” copyright 2013, Intel Corporation โ€” mwah ๐Ÿ’‹ ๐ŸŒˆ

๐Ÿ“ฆ where this page comes from