fwupd/plugins
Richard Hughes e48351e260 Set the alternate device ID, not the object itself
If the daemon either de-duplicates or replaces the object passed emitted from
device-added then the object set as the alternate may not be the same instance
as the daemon version. This causes weird things to happen.

To make this less fragile, specify the *ID* of the object that should be the
alternate device, which allows the daemon to do clever things, and then assign
the object from the ID as the last step.

Although fixing no bug, this makes implementing future functionality easier.
2018-06-22 13:28:27 +01:00
..
altos trivial: Convert FuAltosDevice to use G_DECLARE_FINAL_TYPE 2018-05-29 09:29:15 +01:00
amt Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
colorhug colorhug: Remove the bootloader flag when re-booting in runtime mode 2018-06-07 12:10:22 +01:00
csr trivial: Move the HID defines to a shared location 2018-05-29 20:15:47 +01:00
dell Set the alternate device ID, not the object itself 2018-06-22 13:28:27 +01:00
dfu trivial: Fix up some NULL/FALSE confusion 2018-05-29 09:33:44 +01:00
ebitdo trivial: Add a FuDevice flag to show the device is in bootloader mode 2018-05-31 18:50:19 +01:00
nitrokey Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
steelseries Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
synapticsmst trivial: synapticsmst: drop efivar dep 2018-06-04 20:00:07 -05:00
test Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
thunderbolt Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
thunderbolt-power Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
udev trivial: Convert FuRom to use G_DECLARE_FINAL_TYPE 2018-05-29 09:15:55 +01:00
uefi trivial: uefi: Don't return NULL matching devices 2018-05-30 19:57:13 +01:00
unifying trivial: Add a FuDevice flag to show the device is in bootloader mode 2018-05-31 18:50:19 +01:00
upower Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
wacomhid wacomhid: Set the device status when erasing and writing firmware 2018-06-15 13:42:52 +01:00
meson.build Add an experimental plugin to update some new Wacom tablets 2018-06-04 11:29:29 +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.