From Fedora Project Wiki
Description
This test case is intended to verify that the firmware updating service fwupd is working correctly.
Setup
- Install the
fwupd
package using the command:sudo dnf install fwupd
. - Enable and start the
fwupd
service:sudo systemctl enable --now fwupd.service
.
How to test
- Query available devices that can be updated:
fwupdmgr get-devices
. - Refresh the metadata from the LVFS:
fwupdmgr refresh
. - Check for available firmware updates:
fwupdmgr get-updates
. - Optionally, if an update is available, download and apply it (WARNING: Make sure you know what you are doing):
fwupdmgr update
.
Expected Results
- The command
fwupdmgr get-devices
should list all devices that can have their firmware updated. - The
fwupdmgr refresh
command should successfully refresh metadata. - The
fwupdmgr get-updates
should list available updates, or indicate that all devices are up to date. - If applied, the firmware update should complete successfully and the device should function normally after a reboot.
Optional
- You can perform additional tests by installing different versions of firmware and verifying device functionality.