summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-03-14 22:55:30 +0000
committernjl <njl@FreeBSD.org>2007-03-14 22:55:30 +0000
commite985b603abd442fab42660f5dbbd6f368fbd44a1 (patch)
tree99e9973ca152f5105fe639afa2eb56eda261bfa1 /usr.sbin/acpi
parent1f769530b3bf6e9a8b728d08281775a547e1fc02 (diff)
downloadFreeBSD-src-e985b603abd442fab42660f5dbbd6f368fbd44a1.zip
FreeBSD-src-e985b603abd442fab42660f5dbbd6f368fbd44a1.tar.gz
Document exact command preferred for sending ASL as part of bug reports.
Diffstat (limited to 'usr.sbin/acpi')
-rw-r--r--usr.sbin/acpi/acpidump/acpidump.86
-rw-r--r--usr.sbin/acpi/acpidump/acpidump.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/acpi/acpidump/acpidump.8 b/usr.sbin/acpi/acpidump/acpidump.8
index f2b0291..1401e38 100644
--- a/usr.sbin/acpi/acpidump/acpidump.8
+++ b/usr.sbin/acpi/acpidump/acpidump.8
@@ -145,6 +145,12 @@ Store the DSDT data block from physical memory into the specified file.
.It Pa /dev/mem
.El
.Sh EXAMPLES
+If a developer requests a copy of your ASL, please use the following
+command to dump all tables and compress the result.
+.Bd -literal -offset indent
+# acpidump -dt | gzip -c9 > my_computer.asl.gz
+.Ed
+.Pp
This example dumps the DSDT from physical memory to foo.dsdt.
It also prints the contents of various system tables and disassembles
the AML contained in the DSDT to stdout, redirecting the output
diff --git a/usr.sbin/acpi/acpidump/acpidump.c b/usr.sbin/acpi/acpidump/acpidump.c
index 3361038..a601ac2 100644
--- a/usr.sbin/acpi/acpidump/acpidump.c
+++ b/usr.sbin/acpi/acpidump/acpidump.c
@@ -46,6 +46,8 @@ usage(const char *progname)
fprintf(stderr, "usage: %s [-d] [-t] [-h] [-v] [-f dsdt_input] "
"[-o dsdt_output]\n", progname);
+ fprintf(stderr, "To send ASL:\n\t%s -dt | gzip -c9 > foo.asl.gz\n",
+ progname);
exit(1);
}
OpenPOWER on IntegriCloud