Commit Graph

6647 Commits

Author SHA1 Message Date
Richard Hughes
ec5d35ca8c trivial: post release version bump 2021-12-13 12:18:10 +00:00
Richard Hughes
054fb04860 Release fwupd 1.7.3 2021-12-13 12:15:42 +00:00
Richard Hughes
2d9d93ec76 trivial: Prevent critical warning when calling fu_chunk_array_new() on zero-sized data 2021-12-12 11:16:03 +00:00
Richard Hughes
179f250b9a trivial: Properly namespace _INTERNAL_FLAG_NO_AUTO_REMOVE 2021-12-10 17:25:54 +00:00
Richard Hughes
3822422b1e trivial: Workaround two false 'unused' warnings from clang 2021-12-10 16:00:07 +00:00
Richard Hughes
afb09fa2fa trivial: Add a missing error check when creating a stream 2021-12-10 16:00:07 +00:00
Richard Hughes
8fc8539146 trivial: Remove some unused variables 2021-12-10 16:00:07 +00:00
Richard Hughes
d7aeac4663 logitech-hidpp: Use endian-safe version functions 2021-12-10 15:59:57 +00:00
Richard Hughes
26bec76a8c synaptics-cape: Do not assume we can align uint8_t to uint32_t 2021-12-10 15:59:24 +00:00
Richard Hughes
1ba55f1045 parade-lspcon: Add a missing error check 2021-12-10 15:58:39 +00:00
Richard Hughes
44ec25d9d5 cfu: Add a missing version setter 2021-12-10 15:58:22 +00:00
Richard Hughes
a561b1a8ba Make the plugin startup order deterministic
At the moment only the order is considered, and the rest is unspecified
by the filesystem.
2021-12-10 15:58:11 +00:00
Richard Hughes
853b20ded4 tpm: Fix a tiny memory leak in the TPM self tests 2021-12-10 15:57:58 +00:00
Richard Hughes
eb4fa6dbf6 tpm: Fix a clang warning of a variable clash
Also, fix a memory leak as this is actually a `gchar **`.
2021-12-10 15:57:58 +00:00
Richard Hughes
346baab909 trivial: Fix CFI header to match reality 2021-12-10 15:00:10 +00:00
Richard Hughes
251f6348aa trivial: Add the missing plugin_cpu
I think using the plugin_uefi_pk option was probably a typo.
2021-12-10 12:00:33 +00:00
Richard Hughes
fbc7ad1adb trivial: Fix FreeBSD CI by pinning the macos version 2021-12-09 13:18:41 +00:00
Richard Hughes
f9a7bcae0a Add page and sector size properties to FuCfiDevice 2021-12-09 13:09:43 +00:00
Richard Hughes
58d36dcbe5 Check the value range when parsing the quirk keys
At the moment there isn't an error if you enter something like

    CfiDeviceCmdReadId = 0×12
2021-12-09 13:09:43 +00:00
Richard Hughes
f5f3e244c9 trivial: Allow quirking all CFI commands 2021-12-09 13:09:43 +00:00
Richard Hughes
ca221927ff trivial: Include the CfiDeviceCmdReadId value in the quirk data
If we're getting the flash ID out-of-band we might not have this set.
2021-12-09 13:09:43 +00:00
Richard Hughes
c877593803 Add the CFI JEDEC instance ID if using vendor-extended version
Setting a flash ID of `C84016` would then add `CFI\FLASHID_C84016` and
also `CFI\FLASHID_C840`. This makes it easier to write quirks.
2021-12-09 13:09:43 +00:00
Mario Limonciello
95e3a97212 trivial: synaptics-prometheus: add some other product IDs
These are used in some upcoming systems.

Referenced from:
128d809227
2021-12-07 14:05:07 -06:00
Richard Hughes
46d06bf42a Fixup the GLib error message when inotify/max_user_instances is too low
This can be reproduced using sysctl fs.inotify.max_user_instances=25
and then running the daemon.
2021-12-07 18:51:11 +00:00
Kranthi Kuntala
de1f971e14 thunderbolt: set ports offline on host controller
This change offline ports in the host controller
for retimers to enumerate in the NDA case.

-offline and rescan usb4 ports
-this enable enumeration of the retimers
-updates nvm to the enumerated retimers
-online usb4 port this will de-enumerate retimers

BUG=b:187506425
TEST=emerge-volteer fwupd

Signed-off-by: Kranthi Kuntala <kranthi.kuntala@intel.corp-partner.google.com>
2021-12-07 15:54:30 +00:00
Gaël PORTAY
acb4d6e2ce trivial: cfi: Fix up a typo 2021-12-07 10:17:54 +00:00
Denis Pynkin
4fbe1c58c7 plugins/nordic-hid: added initial version
The plugin is using Nordic Semiconductor HID config channel to perform
devices update directly atteched via USB and BLE.
Current implementation supports FW images compatible with the nRF Secure
Immutable Bootloader.
This version has been tested with nRF52840-DK board.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2021-12-07 08:19:29 +00:00
Richard Hughes
c47446c411 trivial: Add liblzma-dev the deps in case we're building a subproject 2021-12-06 17:57:23 +00:00
Richard Hughes
e0d59d82d5 trivial: Emit a critical warning if something finalizes the GUsbContext 2021-12-06 17:57:23 +00:00
Richard Hughes
058cfc6775 vli: Set up some more progress values correctly 2021-12-06 17:57:23 +00:00
Richard Hughes
eab72f8b6e trivial: Verify backends never add or remove from a thread 2021-12-06 17:57:23 +00:00
Richard Hughes
e9185ebd83 vli: Fix LV820Q7 detection
This was changed accidentally in 5d337e72a6
which broke installing USB hub firmware on the Lenovo WS dock G2.
2021-12-06 17:57:23 +00:00
Richard Hughes
2bd5380780 trivial: Use 0 for no limit on security attributes
This behaviour now matches the D-Bus interface document.
2021-12-03 13:42:06 +00:00
Richard Hughes
1784a0aca5 trivial: Do not check the device superclass when closing
The things we're closing is probably a FuUsbDevice subclass which has
the GUsbDevice as an instance variable, not a subclass of GUsbDevice.
2021-12-02 16:21:29 +00:00
Richard Hughes
ea5cae7c41 Enable the MOTD integration when using pam_motd
This has to be a file, not a file-in-a-directory.

Fixes https://github.com/fwupd/fwupd/issues/4047
2021-12-01 20:55:15 +00:00
Richard Hughes
20d57b9ae6 trivial: Update subproject versions to latest 2021-12-01 20:46:20 +00:00
Richard Hughes
211ad62623 trivial: add the motd ouptut when --verbose 2021-12-01 16:29:38 +00:00
Richard Hughes
2066b7603d trivial: Don't add the fallback FDE warning for all devices 2021-11-30 18:31:54 +00:00
Richard Hughes
61fe427d41 dell-dock: Fix a trivial clang-format issue
This was somehow missed when we reformatted the entire source tree.
2021-11-29 21:40:17 +00:00
Richard Hughes
8c94489b4a dfu: Fix unintentional regression when merging the FuProgress work
See https://github.com/fwupd/fwupd/pull/3678/files#r758752086
2021-11-29 21:38:19 +00:00
Richard Hughes
beb29ff698 Add a sync-bkc subcommand to ensure a known set of firmware versions
Install or downgrade firmware on all devices to make the system match
a well known set. This allows two things:

 * Factory recovery where a device in the field has been upgraded
 * Ensuring a consistent set of tested firmware for a specific workload

A tag is assigned either during upload or added post-upload on the LVFS
which is included in the metadata. A single firmware can be marked with
multiple tags, and tags can be duplicated for different firmwares.
2021-11-29 15:16:14 +00:00
Richard Hughes
dc9ee40ef7 trivial: Show multiple tags on one line in fwupdmgr 2021-11-29 15:02:31 +00:00
Richard Hughes
c9e58e2cd9 trivial: Fix a critical warning if compiled without HSI support 2021-11-29 15:02:31 +00:00
Richard Hughes
03f8238cf8 trivial: Actually add the tag namespace to the index 2021-11-29 15:02:31 +00:00
Richard Hughes
5d09600483 Don't install DBus introspection data when using -Dintrospection=false 2021-11-29 09:30:57 +00:00
Richard Hughes
02eac5c75f Make more plugins optional 2021-11-29 09:30:57 +00:00
Richard Hughes
dc1d5de057 Make the HSI tests optional for embedded targets
70% of the plugins installed on OpenBMC are not being used...
2021-11-29 09:30:57 +00:00
Richard Hughes
165c0278bb trivial: Fix a warning when compiling without USB support 2021-11-27 20:28:13 +00:00
Richard Hughes
3291bd40ce Make Upower and powerd support optional
In some cases you really know that the daemon is never going to exist.
2021-11-27 18:46:27 +00:00
Richard Hughes
3ad283fc50 system76-launch: Wait for the device to come back from DFU mode
Fixes https://github.com/fwupd/fwupd/issues/4028
2021-11-27 08:26:51 +00:00