Commit Graph

6821 Commits

Author SHA1 Message Date
Richard Hughes
171ecdf3ef Release fwupd 1.7.6 2022-02-25 13:38:35 +00:00
Daniel Campello
bcaeda34ad Backfill SHA256 when generating metadata from cab files
This change allows for the computation of SHA256 checksum when
generating metadata from cabinet file. This is particularly used when
working with the directory type of remote config.

Change-Id: I1a6e90a76b79cdae97d68d799a5cea81430da03f
2022-02-25 10:31:03 +00:00
Daniel Campello
6eb1cef881 Use multiple checksums when no <artifacts>
Current behavior is that only first checksum is used from metadata if no
<artifacts> section is present. Change this to process all checksums
available.

Change-Id: I03771971bee0fb7960460094bf0790d29bf11e0a
2022-02-25 10:31:03 +00:00
Richard Hughes
9c77e0bb2a trivial: Add more signed flags for NVMe devices 2022-02-25 09:19:44 +00:00
Richard Hughes
9a36f31fd6 vli: Make the quirk files per-vendor and don't add all of them 2022-02-24 19:59:34 +00:00
Richard Hughes
a3efbe51f6 scsi: Add a simple plugin to enumerate SCSI hardware
We might want this to tag insecure or broken SAS drives, cough.
2022-02-24 17:21:51 +00:00
Richard Hughes
adfef91731 trivial: Strip leading and trailing spaces from the vendor name 2022-02-24 17:07:44 +00:00
Richard Hughes
e3583793ed trivial: Fix two potential critical warnings when finding devices 2022-02-24 17:07:32 +00:00
Crag Wang
19ade34f0b trivial: Add flag dynamically for thunderbolt finish the authentication 2022-02-24 23:53:56 +08:00
Richard Hughes
52bb1babd1 trivial: Add unsigned flag for the CCGX devices 2022-02-24 12:31:48 +00:00
Richard Hughes
56902b246c ata: Fix trivial log title typo 2022-02-23 16:41:36 +00:00
Richard Hughes
a258461926 trivial: Add unsigned flag for the Nitrokey Storage 2022-02-23 14:42:39 +00:00
Richard Hughes
46848d3bef trivial: Fix a thinko when not using --json 2022-02-23 10:50:31 +00:00
Richard Hughes
46cf7e4f30 trivial: Fix thinko when there exists LVFS DeviceIntegrity metadata 2022-02-23 10:44:38 +00:00
Richard Hughes
6ef83d6cc0 trivial: Remove one more warning message on server systems 2022-02-23 10:26:04 +00:00
Richard Hughes
15cefb0d95 trivial: Fix KH08P device test 2022-02-23 10:25:46 +00:00
Richard Hughes
45fe26006a trivial: Add signing flags for rts54hid and rts54hub 2022-02-23 09:04:48 +00:00
Richard Hughes
ccc897e574 modem-manager: Copy the AT retry behaviour in ModemManager
Fixes https://github.com/fwupd/fwupd/issues/4319
2022-02-23 07:14:24 +00:00
Richard Hughes
6ec0646380 trivial: Do not output selected device when using --as-json 2022-02-22 21:51:01 +00:00
Mario Limonciello
f9ae630c5a trivial: Assume JSON means non-interactive
Don't show anything to a user that they need to interact with
when running in JSON mode.
2022-02-22 21:51:01 +00:00
Richard Hughes
b0ccd1f4e2 Add CLI support for disabling device prompting 2022-02-22 21:51:01 +00:00
Richard Hughes
f3a13f89dd Allow specifing the DeviceIntegrity flag from metadata 2022-02-22 19:12:06 +00:00
Richard Hughes
758d5d8c6f Add a flag to indicate the device is signed or unsigned
Devices without either flag are unknown.
2022-02-22 19:12:06 +00:00
Mario Limonciello
a0c9d6312c trivial: don't show probe errors for unsupported debices 2022-02-22 17:22:13 +00:00
Richard Hughes
7ef94d7a31 vli: Skip probing the Dell DA300 device
Although 2109:2820 and 2109:0820 is the generic reference firmware,
firmware revision 3003 is specific to this device.

Fixes https://github.com/fwupd/fwupd/issues/4305
2022-02-22 17:22:13 +00:00
Richard Hughes
2472b51b9e Add the JCat version to the built and runtime versions 2022-02-22 14:39:10 +00:00
Richard Hughes
196201af71 dell: Tone down some debug statements to be off by default 2022-02-22 13:28:48 +00:00
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