.\" $OpenBSD$ .\" .\" Copyright (c) 2021 Andrew Hewus Fresh .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd $Mdocdate: December 23 2021 $ .Dt FW_INSTALL 8 .Os .Sh NAME .Nm fw_install .Nd download and install non-free firmware packages .Sh SYNOPSIS .Nm .Op Fl d | D | L .Op Fl v .Op Ar driver | file ... .Sh DESCRIPTION The .Nm utility downloads and installs non-free firmware packages. It is designed as a version of .Xr fw_update 1 that can run in the limited environment of the installer. .Pp The options are as follows: .Bl -tag -width Ds .It Fl d Delete the specified firmware. Required additional arguments are a list of full package or driver names. .It Fl D Download firmware packages to the current working directory, without installing them. .It Fl L Install firmware from a local copy in the current directory. .It Fl v Enable verbose mode. .El .Pp Additional arguments are taken as device names for which filenames will be looked up or as filenames of firmware packages to be installed. If no additional arguments are given, .Nm searches .Xr dmesg 8 for .Pa firmware_patterns to find matching drivers. .Sh ENVIRONMENT .Bl -tag -width DESTDIRXXX .It Ev DESTDIR The root of the system to install into. .El .Sh FILES .Bl -tag -width Ds .It Pa ${DESTDIR}/usr/share/misc/firmware_patterns A list of patterns used to detect needed firmware from the .Xr dmesg 8 . .It Pa ${DESTDIR}/etc/signify/openbsd-XX-fw.pub Used with .Xr signify 1 to verify downloaded firmware files. .El .Sh EXIT STATUS .Ex -std .\" .Sh EXAMPLES .Sh SEE ALSO .Xr fw_update 1 , .Xr dmesg 8 .\" .Sh STANDARDS .Sh AUTHORS The .Nm program was designed and written by .An Andrew Hewus Fresh Aq Mt afresh1@openbsd.org as a limited version of .Xr fw_update 1 . .\" .Sh CAVEATS