fwupd/plugins/udev
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
..
fuzzing Move the Option ROM parsing to the Udev plugin 2016-12-15 17:09:38 +00:00
tests Move the Option ROM parsing to the Udev plugin 2016-12-15 17:09:38 +00:00
fu-plugin-udev.c Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
fu-rom-tool.c Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
fu-rom.c Add fu_device_add_instance_id() and prefer explicit conversion 2019-02-04 15:19:57 +00:00
fu-rom.h Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
fu-self-test.c trivial: Remove duplicate header includes 2018-09-04 08:22:39 -05:00
fuzzing.md Move the Option ROM parsing to the Udev plugin 2016-12-15 17:09:38 +00:00
meson.build fu-tool: Save device state to @LOCALSTATEDIR@/lib/fwupd/state.json on actions 2019-02-28 10:32:45 -06:00
README.md trivial: Document the GUID generation scheme 2018-11-08 20:39:46 +00:00

UDev Support

Introduction

This plugin reads the version numbers of PCI devices. It cannot deploy firmware onto devices but is used to list devices with known firmware updates that may require booting into another operating system to apply.

This plugin is also able to read and parse the firmware of some PCI devices which allows some host state verification to be done.

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • PCI\VEN_%04X&DEV_%04X

Additionally, GUIDs found in OptionROMs may also be added.