Richard Hughes
56ac823af9
Set the protocol per-device not per-plugin
...
Some plugins have devices with more than one protocol. Logically the protocol
belongs to the device, not the plugin, and in the future we could use this to
further check firmware that's about to be deployed.
This is also not exported into libfwupd (yet?) as it's remains a debug-feature
only -- protocols are not actually required for devices to be added.
2019-11-25 18:01:54 +00:00
Mario Limonciello
6abe21efbd
trivial: stop including fu-hash.h as part of fu-plugin-vfuncs.h
...
Explicitly include it in all "in-tree" plugins.
If headers are exported out of tree we will likely explicitly not
export this header.
2019-11-25 09:29:46 +00:00
Richard Hughes
95c98a95b6
Allow fwupdtool to dump details of common firmware formats
...
To do this, the plugins have to register the GType(s) they are using for
firmware, along with a short 'id' that can be used in CLI scripts.
2019-10-22 12:36:15 -05:00
Richard Hughes
731875af86
Remove FU_PLUGIN_RULE_REQUIRES_QUIRK as all the plugins now use it
2019-10-09 20:02:16 +01:00
Richard Hughes
989acf12e7
Create the custom plugin GType in common code
...
This reduces the amount of boilerplate in plugins.
2019-10-07 12:37:21 +01:00
Richard Hughes
4b30380e78
Provide a default implementation of common FuDevice actions
...
This reduces the amount of boilerplate in each plugin.
32 files changed, 156 insertions(+), 584 deletions(-)
2019-10-04 14:57:32 +01:00
Richard Hughes
8a5df4dd32
synaptics-prometheus: Don't emit critial warning when updating config firmware
2019-05-28 17:24:50 +01:00
Richard Hughes
c7bdded2c6
Add a plugin to update Synaptics Prometheus fingerprint readers
2019-05-14 17:18:55 +01:00