1.\" $OpenBSD: acpidump.8,v 1.19 2020/11/22 17:10:06 jmc Exp $ 2.\" 3.\" Copyright (c) 1999 Doug Rabson <dfr@FreeBSD.org> 4.\" Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 5.\" Copyright (c) 2000 Yasuo YOKOYAMA <yokoyama@jp.FreeBSD.org> 6.\" Copyright (c) 2000 Hiroki Sato <hrs@FreeBSD.org> 7.\" All rights reserved. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" $FreeBSD: src/usr.sbin/acpi/acpidump/acpidump.8,v 1.9 2001/09/05 19:21:25 dd Exp $ 31.\" 32.Dd $Mdocdate: November 22 2020 $ 33.Dt ACPIDUMP 8 34.Os 35.Sh NAME 36.Nm acpidump 37.Nd dump ACPI tables 38.Sh SYNOPSIS 39.Nm 40.Fl o Ar prefix 41.Sh DESCRIPTION 42The 43.Nm 44command stores ACPI tables from physical memory into files specified by 45.Ar prefix . 46If 47.Ar prefix 48specifies a directory, the generated files will be of the form 49<prefix>/<sig>.<id>. 50Otherwise, they will be named <prefix>.<sig>.<id>. 51.Dq sig 52is the signature of the ACPI Table; 53.Dq id 54is unique for each table. 55.Pp 56Additionally a file called <prefix>/headers or <prefix>.headers will 57be created that contains additional human readable information 58pertaining to this specific dump. 59.Pp 60The ACPICA disassembler is available through the 61.Ox 62ports tree or package system: 63.Bd -literal -offset indent 64# pkg_add acpica 65$ iasl -d <prefix>.<sig>.<id> 66.Ed 67.Pp 68.Nm 69requires the ability to open 70.Pa /dev/kmem , 71which may be restricted based upon the value of the 72.Ar kern.allowkmem 73.Xr sysctl 8 . 74.Pp 75.Nm 76is run at startup and stores the results in 77.Pa /var/db/acpi . 78.Sh FILES 79.Bl -tag -width /dev/mem 80.It Pa /dev/mem 81.It Pa /var/db/acpi 82.El 83.Sh SEE ALSO 84.Xr pkg_add 1 , 85.Xr mem 4 , 86.Xr packages 7 , 87.Xr ports 7 88.Sh HISTORY 89The 90.Nm 91command first appeared in 92.Ox 3.8 . 93