fwupd

From Gentoo Wiki
Jump to: navigation, search

fwupd is a daemon that provides a safe, reliable way of applying firmware updates on Linux. Vendors can upload device firmware images to the Linux Vendor Firmware Service (LVFS) web portal. These firmware images are in turn distributed to devices running the firmware update daemon.

fwupd is colloquially referred to as Linux Vendor Firmware Service (LVFS), which is the name of the web portal used by vendors to upload device firmware.

Installation

Emerge

root #emerge --ask sys-apps/fwupd

USE flags

USE flags for sys-apps/fwupd Aims to make updating firmware on Linux automatic, safe and reliable

agent Enable update notification agent
amt Build and install Intel AMT plugin
dell Enable Dell-specific support.
elogind Enable session tracking via sys-auth/elogind
gtk-doc Build and install gtk-doc based developer documentation for dev-util/devhelp, IDE and offline use
introspection Add support for GObject based introspection
man Build and install man pages
minimal Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
nvme Build and install NVMe plugin
redfish Install redfish plugin
synaptics Install synaptics plugin
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
thunderbolt Install Thunderbolt plugin
tpm Install Trusted Platform Module plugin
uefi Enable UEFI support

The above list of USE flag is not comprehensive. Use equery (part of the app-portage/gentoolkit package) for a full list:

user $equery uses sys-apps/fwupd

Configuration

Service

OpenRC

Start fwupd:

root #rc-service fwupd start

Start fwupd at boot:

root #rc-update add fwupd default

systemd

fwupd.service is launched through systemd via D-Bus automatically whenever it is needed.

Usage

Get help on what fwupd can do:

user $fwupdmgr help

List detected and supported devices. When the device is listed but not displayed, a plugin (e.g. the uefi USE flag) is missing.

user $fwupdmgr get-devices

Refresh metadata from remote server:

user $fwupdmgr refresh

Check available updates for your devices:

user $fwupdmgr get-updates

Install updates:

user $fwupdmgr update

See also

  • Linux firmware — is a package distributed alongside the Linux kernel that contains firmware binary blobs necessary for partial or full functionality of certain hardware devices.
  • Kernel — the core of the operating system.