Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331723
b: refs/heads/master
c: 45e1424
h: refs/heads/master
i:
  331721: 0d4d829
  331719: 63db9fa
v: v3
  • Loading branch information
Len Brown committed Sep 25, 2012
1 parent 4edfbef commit bf04472
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7e1751278ce8f6d727e19832ecf6f6ef707233e
refs/heads/master: 45e1424be7cf0897f27adbd15936acab87199118
4 changes: 4 additions & 0 deletions trunk/tools/power/acpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ CLEANFILES= $(PROG)
clean :
rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~

install :
install acpidump /usr/bin/acpidump
install acpidump.8 /usr/share/man/man8

59 changes: 59 additions & 0 deletions trunk/tools/power/acpi/acpidump.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.TH ACPIDUMP 8
.SH NAME
acpidump \- Dump system's ACPI tables to an ASCII file.
.SH SYNOPSIS
.ft B
.B acpidump > acpidump.out
.SH DESCRIPTION
\fBacpidump \fP dumps the systems ACPI tables to an ASCII file
appropriate for attaching to a bug report.

Subsequently, they can be processed by utilities in the ACPICA package.
.SS Options
no options worth worrying about.
.PP
.SH EXAMPLE

.nf
# acpidump > acpidump.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

$ iasl -d *.dat
...
.fi
creates *.dsl, a human readable form which can be edited
and compiled using iasl.


.SH NOTES

.B "acpidump "
must be run as root.

.SH REFERENCES
ACPICA: https://acpica.org/

.SH FILES
.ta
.nf
/dev/mem
/sys/firmware/acpi/tables/dynamic/*
.fi

.PP
.SH AUTHOR
.nf
Written by Len Brown <len.brown@intel.com>

0 comments on commit bf04472

Please sign in to comment.