fwupd/plugins
Mario Limonciello 01a7958cd1 uefi, dell-esrt: Show firmware version when capsule updates unavailable
When the system doesn't support UEFI capsule updates no firmware version
is displayed for the BIOS.  Fix this by creating a dummy device:
```
├─System Firmware:
│     Device ID:           123fd4143619569d8ddb6ea47d1d3911eb5ef07a
│     Current version:     1.7.0
│     Vendor:              Dell Inc.
│     Update Error:        UEFI Capsule updates not available or enabled
│     Flags:               internal|require-ac|registered|needs-reboot
```

If the dell-esrt plugin determines that capsule updates can be enabled
however, make the device it creates replace the dummy device:
```
├─Dell UEFI updates:
│     Device ID:           123fd4143619569d8ddb6ea47d1d3911eb5ef07a
│     Summary:             Enable UEFI Update Functionality
│     Current version:     0
│     Update Error:        Firmware updates disabled; run 'fwupdmgr unlock' to enable
│     Flags:               locked|supported|registered|needs-reboot
```

Fixes: #1366
2019-09-19 15:48:39 +01:00
..
altos Never use memcpy() in a possibly unsafe way 2019-08-12 09:22:09 -05:00
amt Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
ata Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
colorhug Never use memcpy() in a possibly unsafe way 2019-08-12 09:22:09 -05:00
csr Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
dell Try to only show DMI product name once 2019-09-05 11:22:39 -05:00
dell-dock trivial: dell-dock: correct an error preventing write_size from being set 2019-08-27 09:28:30 -05:00
dell-esrt uefi, dell-esrt: Show firmware version when capsule updates unavailable 2019-09-19 15:48:39 +01:00
dfu Never use memcpy() in a possibly unsafe way 2019-08-12 09:22:09 -05:00
ebitdo Never use memcpy() in a possibly unsafe way 2019-08-12 09:22:09 -05:00
fastboot Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
flashrom flashrom: Only show DEBUG and DEBUG2 output if using --plugin-verbose=flashrom 2019-07-12 09:22:38 -07:00
modem-manager modem-manager: Fix two build warnings on Fedora 30 2019-09-12 18:05:20 +01:00
nitrokey Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
nvme Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
redfish Fix a crash when stopping the fwupd service 2019-08-01 13:00:51 +01:00
rts54hid Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
rts54hub Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
solokey trivial: Add some helper functions for GByteArray 2019-08-15 09:50:37 +01:00
steelseries Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
superio Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
synaptics-prometheus trivial: Add some helper functions for GByteArray 2019-08-15 09:50:37 +01:00
synapticsmst synapticsmst: Add another name quirk for the ThinkPad USB-C Dock 2019-09-12 09:44:38 +01:00
test Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
thunderbolt Try to only show DMI product name once 2019-09-05 11:22:39 -05:00
thunderbolt-power Show a console warning if loading an out-of-tree plugin 2019-01-19 07:26:20 +00:00
udev Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
uefi uefi, dell-esrt: Show firmware version when capsule updates unavailable 2019-09-19 15:48:39 +01:00
uefi-recovery uefi-recovery: Add a plugin to add a fake ESRT entry for device recovery 2019-09-11 12:47:31 +01:00
unifying unifying: fix timeout metadata 2019-09-07 15:25:29 -05:00
upower Add a specific error code for the low battery case 2019-07-11 09:31:34 -07:00
wacom-raw Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
wacom-usb Use fu_common_string_append_kv() in subclassed device 2019-08-14 16:48:37 +01:00
meson.build uefi-recovery: Add a plugin to add a fake ESRT entry for device recovery 2019-09-11 12:47:31 +01:00
README.md trivial: plugins: clarify stance on afuefi.efi 2019-08-23 10:54:58 -05:00

Adding a new plugin

An extensible architecture allows for providing new plugin types (for reading and writing different firmware) as well as ways quirk their behavior.

You can find more information about the architecture in the developers section of the fwupd website.

You can use the fwupd developer documentation to assist with APIs available to write the plugin.

If you have a firmware specification and would like to see support in this project, please file an issue and share the spec. Patches are also welcome.

We will not accept plugins that upgrade hardware using a proprietary Linux executable, proprietary UEFI executable, proprietary library, or DBus interface.

Plugin interaction

Some plugins may be able to influence the behavior of other plugins. This includes things like one plugin turning on a device, or providing missing metadata to another plugin.

The ABI for these interactions is defined in: https://github.com/fwupd/fwupd/blob/master/src/fu-device-metadata.h

All interactions between plugins should have the interface defined in that file.