Class
FwupdPluginPlugin
Description [src]
class FwupdPlugin.Plugin : Fwupd.Plugin {
parent_instance: FwupdPlugin
}
A plugin which is used by fwupd to enumerate and update devices.
See also: FuDevice
, FwupdPlugin
Instance methods
fu_plugin_add_firmware_gtype
Adds a firmware GType
which is used when creating devices. If id
is not
specified then it is guessed using the GType
name.
since: 1.3.3
fu_plugin_add_report_metadata
Sets any additional metadata to be included in the firmware report to aid debugging problems.
since: 1.0.4
fu_plugin_add_rule
If the plugin name is found, the rule will be used to sort the plugin list,
for example the plugin specified by name
will be ordered after this plugin
when FU_PLUGIN_RULE_RUN_AFTER
is used.
since: 1.0.0
fu_plugin_device_add
Asks the daemon to add a device to the exported list. If this device ID has already been added by a different plugin then this request will be ignored.
since: 0.8.0
fu_plugin_device_register
Registers the device with other plugins so they can set metadata.
since: 0.9.7
fu_plugin_get_config_value_boolean
Return the boolean value of a key if it’s been configured.
since: 1.4.0
fu_plugin_get_data
Gets the per-plugin allocated private data. This will return NULL
unless
fu_plugin_alloc_data()
has been called by the plugin.
since: 0.8.0
fu_plugin_get_devices
Returns all devices added by the plugin using fu_plugin_device_add()
and
not yet removed with fu_plugin_device_remove()
.
since: 1.5.6
fu_plugin_get_order
Gets the plugin order, where higher numbers are run after lower numbers.
since: 1.0.0
fu_plugin_get_report_metadata
Returns the list of additional metadata to be added when filing a report.
since: 1.0.4
fu_plugin_order_compare
Compares two plugins by their depsolved order, and then by name.
since: 1.0.8
fu_plugin_runner_add_security_attrs
Runs the add_security_attrs()
routine for the plugin.
since: 1.5.0
fu_plugin_runner_backend_device_added
Call the backend_device_added routine for the plugin.
since: 1.5.6
fu_plugin_runner_backend_device_changed
Call the backend_device_changed routine for the plugin.
since: 1.5.6
fu_plugin_set_order
Sets the plugin order, where higher numbers are run after lower numbers.
since: 1.0.0
Methods inherited from FwupdPlugin (10)
Signals
FwupdPlugin.Plugin::check-supported
The ::check-supported signal is emitted when a plugin wants to ask the daemon if a specific device GUID is supported in the existing system metadata.
since: 1.0.0
FwupdPlugin.Plugin::config-changed
The ::config-changed signal is emitted when one or more config files have changed which may affect how the daemon should be run.
since: 1.7.0
FwupdPlugin.Plugin::device-added
The ::device-added signal is emitted when a device has been added by the plugin.
since: 0.8.0
FwupdPlugin.Plugin::device-register
The ::device-register signal is emitted when another plugin has added the device.
since: 0.9.7
FwupdPlugin.Plugin::device-removed
The ::device-removed signal is emitted when a device has been removed by the plugin.
since: 0.8.0