fwupd/plugins
Richard Hughes 5079f26f0e Never guess the version format from the version string
This leads to madness, as some formats are supersets of the detected types,
e.g. 'intel-me' is detected as 'quad' and 'bcd' is detected as 'pair'.

Where the version format is defined in a specification or hardcoded in the
source use a hardcoded enum value, otherwise use a quirk override.

Additionally, warn if the version does not match the defined version format
2019-04-30 09:25:41 +01:00
..
altos Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
amt Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
ata Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
colorhug Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
csr Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
dell Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
dell-dock Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
dell-esrt Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
dfu Export the version-format to clients 2019-04-30 09:25:41 +01:00
ebitdo Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
fastboot Fix some typos spotted using codespell 2019-04-08 12:47:53 +01:00
flashrom Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
modem-manager Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
nitrokey Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
nvme Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
redfish Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
rts54hid Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
rts54hub Fix some typos spotted using codespell 2019-04-08 12:47:53 +01:00
steelseries Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
superio Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
synapticsmst Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
test Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
thunderbolt Never guess the version format from the version string 2019-04-30 09:25:41 +01: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 Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
unifying Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
upower trivial: upower: correct a logic error from ed021ab 2019-01-31 14:56:08 -06:00
wacom-raw Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
wacom-usb Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
meson.build Add a plugin to support ModemManager hardware 2019-02-27 16:09:13 +00:00
README.md trivial: Clarify our position on proprietary plugins 2019-01-18 12:21:46 -06: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.

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, 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/hughsie/fwupd/blob/master/src/fu-device-metadata.h

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