1*54b807adSjmc.\" $OpenBSD: acpidump.8,v 1.19 2020/11/22 17:10:06 jmc Exp $ 27934d707Stholo.\" 37934d707Stholo.\" Copyright (c) 1999 Doug Rabson <dfr@FreeBSD.org> 47934d707Stholo.\" Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 57934d707Stholo.\" Copyright (c) 2000 Yasuo YOKOYAMA <yokoyama@jp.FreeBSD.org> 67934d707Stholo.\" Copyright (c) 2000 Hiroki Sato <hrs@FreeBSD.org> 77934d707Stholo.\" All rights reserved. 87934d707Stholo.\" 97934d707Stholo.\" Redistribution and use in source and binary forms, with or without 107934d707Stholo.\" modification, are permitted provided that the following conditions 117934d707Stholo.\" are met: 127934d707Stholo.\" 1. Redistributions of source code must retain the above copyright 137934d707Stholo.\" notice, this list of conditions and the following disclaimer. 147934d707Stholo.\" 2. Redistributions in binary form must reproduce the above copyright 157934d707Stholo.\" notice, this list of conditions and the following disclaimer in the 167934d707Stholo.\" documentation and/or other materials provided with the distribution. 177934d707Stholo.\" 187934d707Stholo.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 197934d707Stholo.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 207934d707Stholo.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 217934d707Stholo.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 227934d707Stholo.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 237934d707Stholo.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 247934d707Stholo.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 257934d707Stholo.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 267934d707Stholo.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 277934d707Stholo.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 287934d707Stholo.\" SUCH DAMAGE. 297934d707Stholo.\" 307934d707Stholo.\" $FreeBSD: src/usr.sbin/acpi/acpidump/acpidump.8,v 1.9 2001/09/05 19:21:25 dd Exp $ 317934d707Stholo.\" 32*54b807adSjmc.Dd $Mdocdate: November 22 2020 $ 337934d707Stholo.Dt ACPIDUMP 8 347934d707Stholo.Os 357934d707Stholo.Sh NAME 367934d707Stholo.Nm acpidump 377934d707Stholo.Nd dump ACPI tables 387934d707Stholo.Sh SYNOPSIS 397934d707Stholo.Nm 40c8dab64cSkettenis.Fl o Ar prefix 417934d707Stholo.Sh DESCRIPTION 4211cbb70cSjmcThe 4311cbb70cSjmc.Nm 4411cbb70cSjmccommand stores ACPI tables from physical memory into files specified by 45c8dab64cSkettenis.Ar prefix . 46c8dab64cSkettenisIf 47c8dab64cSkettenis.Ar prefix 48c8dab64cSkettenisspecifies a directory, the generated files will be of the form 49c8dab64cSkettenis<prefix>/<sig>.<id>. 50c8dab64cSkettenisOtherwise, they will be named <prefix>.<sig>.<id>. 519d92e627Ssobrado.Dq sig 529d92e627Ssobradois the signature of the ACPI Table; 539d92e627Ssobrado.Dq id 549d92e627Ssobradois unique for each table. 5511cbb70cSjmc.Pp 56c8dab64cSkettenisAdditionally a file called <prefix>/headers or <prefix>.headers will 57c8dab64cSkettenisbe created that contains additional human readable information 58c8dab64cSkettenispertaining to this specific dump. 597ad34fd6Sbrynet.Pp 607ad34fd6SbrynetThe ACPICA disassembler is available through the 617ad34fd6Sbrynet.Ox 627ad34fd6Sbrynetports tree or package system: 637ad34fd6Sbrynet.Bd -literal -offset indent 647ad34fd6Sbrynet# pkg_add acpica 65a863df83Sbrynet$ iasl -d <prefix>.<sig>.<id> 667ad34fd6Sbrynet.Ed 6719aedf23Sderaadt.Pp 6819aedf23Sderaadt.Nm 6919aedf23Sderaadtrequires the ability to open 70*54b807adSjmc.Pa /dev/kmem , 7119aedf23Sderaadtwhich may be restricted based upon the value of the 7219aedf23Sderaadt.Ar kern.allowkmem 7319aedf23Sderaadt.Xr sysctl 8 . 74c7ca4e58Sschwarze.Pp 75c7ca4e58Sschwarze.Nm 76c7ca4e58Sschwarzeis run at startup and stores the results in 77c7ca4e58Sschwarze.Pa /var/db/acpi . 787934d707Stholo.Sh FILES 797934d707Stholo.Bl -tag -width /dev/mem 807934d707Stholo.It Pa /dev/mem 81c7ca4e58Sschwarze.It Pa /var/db/acpi 827934d707Stholo.El 837934d707Stholo.Sh SEE ALSO 8419e304a2Sjmc.Xr pkg_add 1 , 857ad34fd6Sbrynet.Xr mem 4 , 867ad34fd6Sbrynet.Xr packages 7 , 8719e304a2Sjmc.Xr ports 7 888289f28bSjmc.Sh HISTORY 898289f28bSjmcThe 908289f28bSjmc.Nm 918289f28bSjmccommand first appeared in 928289f28bSjmc.Ox 3.8 . 93