Richard Hughes
e21391f85d
trivial: Don't warn if the superclass is using custom flags
2022-02-22 13:28:48 +00:00
Richard Hughes
4cd8468722
trivial: Don't warn if overwriting with the same device name
2022-02-22 13:28:48 +00:00
Richard Hughes
7157ca79e4
Require libjcat 0.1.4
...
Although we can compile against older versions, we can't actually work
as current firmware.jcat metadata from the LVFS needs these commits:
109399e1f2
583df67e3e
If it helps, 0.1.4 was released in October *2020*.
2022-02-22 13:28:06 +00:00
Dylan Van Assche
96c1f9dba6
README: add Where to get help? section
...
People can get help through this repository or IRC/Matrix.
2022-02-22 11:12:58 +00:00
Richard Hughes
e71cb3c4c4
vli: Do not assume any VL82x reference firmware has shared PD
...
This should be harmless on an actual devboard, and not break products
using the default VID/PID *without* any shared PD chip.
2022-02-22 10:26:46 +00:00
Kranthi Kuntala
c77847b7ff
[thunderbolt] Add 5 secs delay after nvm update
...
- this is needed for the retimer to be accessible after update
- and to bring the port back to online
Signed-off-by: Kranthi Kuntala <kranthi.kuntala@intel.corp-partner.google.com>
Change-Id: I2234ebe23a55fc03f9ef30c1ea10febfe46a2003
2022-02-22 09:13:39 +00:00
Richard Hughes
c8e5f92f27
uefi-capsule: Add a private flag for devices that never want a header
2022-02-21 22:52:45 -06:00
Richard Hughes
da90fca348
trivial: Turn off GPIO support by default
...
We can swap the default to auto-detection once the auto-features branch
has landed.
2022-02-21 20:37:30 +00:00
Richard Hughes
bd02edcc43
trivial: Add missing API wrapper for future functionality
2022-02-21 18:57:20 +00:00
Mario Limonciello
7b3f3ccc65
trivial: genesys: fix some warnings about unused symbols on old gusb
2022-02-21 12:36:14 -06:00
Richard Hughes
fb4c3dfc9c
trivial: Remove one warning from -Wunused-variable
2022-02-21 09:30:47 +00:00
Ricardo Cañuelo
9466e778f5
Add a new plugin to handle HP M2xfd monitors
...
Added support for genesys logic devices.
2022-02-21 08:30:43 +00:00
Mario Limonciello
cc19be590a
trivial: allow fwupd.service to be run in containers for autopkgtest
...
Generally we don't want this - but for the autopkgtest case it's OK.
Fixes : #4299
2022-02-19 06:56:24 -06:00
Mario Limonciello
fbac66b964
Don't let stderr fail the fwupdmgr-p2p test
2022-02-18 11:36:24 -06:00
Mario Limonciello
f301aabd45
trivial: don't run systemd check when running as a socket
...
We don't want to be checking for a systemd daemon when we just told
you that it is a socketed daemon. (Fixes : #4299 )
2022-02-18 11:36:24 -06:00
Mario Limonciello
e5c00a8e98
trivial: quit fwupdmgr-p2p.sh on command failures
...
This will prevent a lingering daemon from influencing future tests
2022-02-18 11:36:24 -06:00
Richard Hughes
cda5879974
mtd: Parse the firmware version using the defined GType
2022-02-18 10:38:17 +00:00
Richard Hughes
f8d1a1606e
mtd: Add two more instance IDs to the MTD devices
2022-02-18 10:38:17 +00:00
Richard Hughes
308e03a6f4
Sanitize the instance ID parts more carefully
...
The only users of `SERIO\FWID` and `I2C\NAME` are already 'safe' and
the device GUIDs should all be unchanged.
There are no current users of the `MTD\NAME` instance IDs, and these
are the ones that may be more unpredictable and in need of sanity.
2022-02-18 08:23:39 +00:00
Mario Limonciello
53a49b4ac1
Restore AMD SME check
...
Starting with linux kernel 5.18 the SME flag will be removed from
/proc/cpuinfo when it's not activated.
Link: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=08f253ec3767bcfafc5d32617a92cee57c63968e
2022-02-17 10:08:33 -06:00
Richard Hughes
9f8f4ed107
intel-spi: Sync with the device list found in flashrom
2022-02-17 15:50:18 +00:00
Simon Deziel
f5da94c473
systemd: don't run fwupd/fwupd-refresh in containers
...
Signed-off-by: Simon Deziel <simon@sdeziel.info>
2022-02-17 15:23:33 +00:00
Richard Hughes
eb6ba4eafb
trivial: Show the firmware GType in the device ->to_string()
2022-02-17 06:15:30 +00:00
Richard Hughes
50b52aef0d
trivial: Do not install test data for -Dtests=false
2022-02-16 19:38:45 +00:00
Richard Hughes
675c5f41a6
modem-manager: Assign the FuUsbDevice to the FuMmDevice
...
This allows protocol code like Sahara to use GUsb.
2022-02-16 16:07:23 +00:00
Richard Hughes
9e7cc4dc97
trivial: post release version bump
...
This fixes the incomplete a436feb8a9
.
2022-02-16 15:52:21 +00:00
Mario Limonciello
66e3d99114
Don't show TSS2 error messages by default ( Fixes : #4291 )
2022-02-16 09:51:11 -06:00
Richard Hughes
e300e4ea1e
thunderbolt: Fix up some error handling when updating usb4 retimers
2022-02-16 14:51:03 +00:00
Richard Hughes
f63080fbe2
Allow assigning issues to devices
...
This allows us to show in the tools if a device is currently affected
by a specific CVE. For instance, we could inform the user that a device
requires a critical firmware update that is being actively exploited.
Note, this also means we can show the user a firmware update is now
required, even though the firmware may not be available on the LVFS.
Also show the issue in the `fwupdmgr security` output, e.g.
There are devices with issues:
Samsung — MZVLB2T0HALB-000L7:
• CVE-2022-12345
• CVE-2022-54321
2022-02-16 14:50:29 +00:00
Richard Hughes
cb9312744c
tpm: Do not show a warning if the TPM eventlog does not exist
...
Fixes https://github.com/fwupd/fwupd/issues/4290
2022-02-16 14:50:18 +00:00
Richard Hughes
b2bb76dbdd
Add X-BaseboardManagementController as an acceptable category
2022-02-16 14:08:01 +00:00
Richard Hughes
c71ca76235
Add a plugin to set GPIOs for the duration of an update
2022-02-16 14:01:07 +00:00
Richard Hughes
5014ed0da5
trivial: Don't use Ubuntu 16.04 in CircleCI
...
See https://circleci.com/docs/2.0/images/linux-vm/14.04-to-20.04-migration/
2022-02-16 12:33:41 +00:00
Sean Rhodes
f1f938dfd8
plugins/flashrom: Add Star Lite Mk III coreboot GUID
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-02-15 21:46:48 -06:00
Yuan-Chen Cheng
4642e7694e
fall back to signed EFI app as secure boot is off.
...
Some distribution hopes to not install the not-signed EFI app by default.
However, for the corner case, the user might still want to use not-signed
one (maybe to work around bugs or do testing). This implements
a logic that uses the not-signed EFI app as the secure boot is off, and
if it does not exist, then we fall back to using the signed one.
Also drop fwupd-unsigned from Recommends of fwupd in debian/control.
2022-02-15 08:15:56 -06:00
Richard Hughes
9d8d2744ca
ata: Correctly chain up to FuUdevDevice when debugging
2022-02-15 09:23:05 +00:00
Richard Hughes
f7c69d794b
Show the user when devices are updatable by inhibited
...
Fixes https://github.com/fwupd/fwupd/issues/4281
2022-02-14 16:03:12 +00:00
Richard Hughes
cfaf1d73c1
Do not include the vendor name in the AMT device
2022-02-14 12:35:44 +00:00
Richard Hughes
55bd4862d3
Try harder to convert to a version into a correct semver
...
This is really useful for the flashrom plugin.
2022-02-11 15:28:05 +00:00
Richard Hughes
ad0b274cec
trivial: Move the date_eol attribute to the component node
...
The LVFS has been changed to do the same, and no real vendors have
added EOL information yet.
2022-02-11 10:44:10 +00:00
Gaël PORTAY
73377b2a53
trivial: Add new category type for video display
2022-02-10 13:47:17 +00:00
Richard Hughes
b8da2f3200
ata: Add one more model name fuzzy match
2022-02-10 10:30:28 +00:00
Richard Hughes
5ffbc935cf
trivial: Use FuContext when creating FuIfdDevice children
2022-02-09 16:58:04 +00:00
Richard Hughes
b5e7a0be16
Do not use gettext before calling setlocale
2022-02-09 16:56:47 +00:00
Crag Wang
f7b6fa2e82
trivial: don't replug if thunderbolt device supports auth on disconnect
...
Fixes : #4262
2022-02-09 16:30:23 +00:00
Richard Hughes
b4fb6fa6aa
flashrom: Fix loading devices in coreboot mode
...
We were specifying _REQUIRE_HWID but the plugin list was not yet loaded when we were trying all the HwIds.
2022-02-09 14:21:03 +00:00
Richard Hughes
fd399da71b
tpm: Fix a critical warning when loading an empty TPM eventlog item
2022-02-09 14:20:55 +00:00
Richard Hughes
171ebda355
Check the IFD sections have non-zero data length
...
This fixes a critical warning when loading an invalid builder file.
2022-02-09 13:31:55 +00:00
Richard Hughes
8cec5d8686
Allow padding firmware sections in builder XML files
2022-02-09 13:31:55 +00:00
Richard Hughes
02f003a195
trivial: Build pcre when building static CI tools
2022-02-09 11:58:50 +00:00