fwupd/plugins
Mika Westerberg 511517ad88 thunderbolt: Use fu_plugin_thunderbolt_parse_version () everywhere
Currently we only parse the nvm_version attribute according fwupd
expectations when the device is initially added. Elsewhere we just use
the raw version as is which might be problematic as the version format
can change in the middle (for example "33.02" vs. "33.2"). Fix this so
that fu_plugin_thunderbolt_udev_get_version () always returns parsed
version string.

Update self tests accordingly to have "parsed" version to which we
compare against.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2018-08-12 10:58:16 +01:00
..
altos Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
amt Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
colorhug trivial: Ensure all source files include config.h 2018-08-09 14:21:23 +01:00
csr Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
dell Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
dell-esrt Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
dfu Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
ebitdo Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
nitrokey Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
redfish Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
steelseries Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
synapticsmst synapticsmst: Fix alignment issues (Closes: #207) 2018-08-11 08:34:38 +01:00
test Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
thunderbolt thunderbolt: Use fu_plugin_thunderbolt_parse_version () everywhere 2018-08-12 10:58:16 +01:00
thunderbolt-power Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
udev Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
uefi uefi: Handle /boot properly (Closes: #627) 2018-08-09 09:28:50 -05:00
unifying unifying: Set a display name on the bootloader device 2018-08-10 14:50:43 +01:00
upower Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
wacomhid Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
meson.build redfish: Add a plugin that uses the Redfish API 2018-06-29 20:17:45 +01:00
README.md trivial: Use the SSL www-less homepage URL everywhere 2018-03-14 18:15:17 +00: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.

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.