ACPIDB(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… ACPIDB(8) β€” the ACPI DSDT debugger, bestie edition

okay so real talk, this is the acpidb page from the System Manager's Manual, and it's genuinely iconic β€” it's a whole debugger for the ACPI DSDT. It parses and executes various AML methods and shows you the result. That's the vibe. Let's get into it 🫢


✨ SYNOPSIS ✨

acpidb input-file

πŸ¦‹ DESCRIPTION πŸ¦‹

The acpidb utility is a debugger for the ACPI DSDT. It can parse and execute various AML methods and display the result. Like, it literally just does all that. No cap. 🌸


πŸŽ€ COMMANDS πŸŽ€

πŸ’– General-Purpose Commands πŸ’–

These are your everyday baddies. The main characters, honestly.

  • Allocations β€” display the list of current memory allocations.
  • Dump Address | Namepath [Byte | Word | Dword | Qword] β€” display ACPI objects or memory.
  • EnableAcpi β€” enable ACPI (hardware) mode.
  • Help β€” show the various help screens.
  • History β€” display the command history buffer.
  • Level DebugLevel [console] β€” get/set the debug level for file or console.
  • Locks β€” show the current status of internal mutexes.
  • Quit or Exit β€” exit the debugger. sad but necessary 😭
  • Stats [Allocations | Memory | Misc | Objects | Tables] β€” display namespace and memory statistics.
  • Tables β€” display info about the loaded ACPI tables.
  • Unload TableSig [Instance] β€” unload an ACPI table.
  • ! CommandNumber β€” execute a command from the history buffer.
  • !! β€” execute the last command again. the lazy girlboss classic ✨

🌈 Namespace Access Commands 🌈

All about poking around the namespace. peak main character energy.

  • Event F | G Value β€” generate an AcpiEvent (Fixed/GPE).
  • Find Name β€” find ACPI name(s) with wildcards ('?' is wildcard).
  • Method β€” display the list of loaded control methods.
  • Namespace [Addr | Path] [Depth] β€” display the loaded namespace tree/subtree.
  • Notify NamePath Value β€” send a notification.
  • Objects ObjectType β€” display all objects of the given type.
  • Owner OwnerId [Depth] β€” display the loaded namespace by object owner.
  • Prefix [NamePath] β€” set or get the current execution prefix.
  • References Addr β€” find all references to the object at addr.
  • Resources β€” get and display resources.
  • Terminate β€” delete the namespace and all internal objects. ruthless πŸ’€
  • Thread Threads Loops NamePath β€” spawn threads to execute method(s).

πŸ”₯ Control Method Execution Commands πŸ”₯

This is where it gets juicy β€” actually stepping through methods. step-by-step slay.

  • Arguments β€” (Args) display method arguments.
  • Breakpoint AmlOffset β€” set an AML execution breakpoint.
  • Call β€” run to the next control method invocation.
  • Debug Namepath [Arguments] β€” single step a control method.
  • Execute Namepath [Arguments] β€” execute a control method.
  • Go β€” allow the method to run to completion.
  • Information β€” display info about the current method.
  • Into β€” step into (not over) a method call.
  • List [OpcodeCount] β€” display method ASL statements.
  • Locals β€” display method local variables.
  • Results β€” display the method result stack.
  • Set A | L # Value β€” set method data (Arguments/Locals).
  • Stop β€” terminate the control method.
  • Tree β€” display the control method calling tree.
  • <Enter> β€” single step the next AML opcode (over calls).

πŸ“ File I/O Commands πŸ“

Filing, but make it cute.

  • Close β€” close the debug output file.
  • Open Filename β€” open a file for debug output.
  • Load Filename β€” load an ACPI table from a file.

πŸ‘‘ SEE ALSO πŸ‘‘

acpi(4), acpidump(8), iasl(8)


⭐ HISTORY ⭐

The acpidb utility first appeared in the acpicatools port. It was imported for FreeBSD 5.2. a true veteran, honestly πŸ’œ


🧚 AUTHORS 🧚

The acpidb utility was written by Mitsuru Iwasaki <iwasaki@FreeBSD.org> and uses Intel ACPI-CA for the backend. This manual page was written by Nate Lawson. absolute legends, both of them 🌟


Debian, August 7, 2003 β€” that's the source, the version era, and the date, bestie. she's been serving since forever and she still ate πŸ’…βœ¨
πŸ“¦ where this page comes from