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
Richard Hughes
91dc36cba7
trivial: Don't reset the status when calling fu_progress_finished()
2021-11-27 07:22:50 +00:00
Richard Hughes
dd6ae09e80
nvme: Hide some verbose debugging by default
2021-11-27 07:22:40 +00:00
Richard Hughes
a4a0872727
dfu: Fix a progress warning when attaching AVR32
2021-11-27 07:22:37 +00:00
Richard Hughes
cadb2af031
trivial: Never print NULL in the FuFirmware flag output
2021-11-26 15:33:32 +00:00
Richard Hughes
3ffc3fa774
Add fu_common_sum8() common functionality
...
We now have 9 different plugins all using this functionality, and we're
about to add one more. Move this into common code so that all the
plugins are using the same endian and bufsz-safe versions.
2021-11-26 18:33:11 +03:00
Richard Hughes
5f88043c4f
trivial: Fix HSI swapped value descriptions
...
Fixes https://github.com/fwupd/fwupd/issues/4034
2021-11-26 14:25:49 +00:00
Richard Hughes
7143e04852
Add FuArchiveFirmware
...
Add a FuFirmware superclass that allows us to parse an new archive in the archive. We already do this for fastboot and we're about to add another.
2021-11-26 13:47:04 +00:00
Richard Hughes
4fe8a36729
Add support for LVFS component tags
...
These allow us to tag components as being part of a set, e.g. a BKC.
2021-11-25 10:36:26 +00:00
Richard Hughes
677c80eb64
trivial: Use string comparisons for new libjcat versions
...
This regressed in 7b865f213c
2021-11-24 22:18:17 +00:00
Richard Hughes
b26ecb00e0
triival: Be consistent when refering to Secure Boot
2021-11-24 17:43:33 +00:00
Richard Hughes
e121332c97
dfu: Do not wait for a USB runtime if will-disappear is set
...
Fixes https://github.com/fwupd/fwupd/issues/4000
2021-11-24 15:47:53 +00:00
Richard Hughes
d62d281871
dfu: Ignore a USB error for STM32 attach when the device goes away
2021-11-24 15:47:53 +00:00
Richard Hughes
0e175181ea
Do not leak when calling fu_firmware_parse() multiple times
2021-11-24 15:46:18 +00:00
Richard Hughes
019a210c94
Show an error when loading XML with multiple <component> tags
...
Fixes https://github.com/fwupd/fwupd/issues/4022 , but requires a newer
libxmlb to be installed.
2021-11-24 15:44:56 +00:00
Richard Hughes
8c4a9547a8
trivial: Allow using fwupdmgr get-releases --json for QA
2021-11-24 15:39:40 +00:00
Richard Hughes
503a1633e6
trivial: Allow using fwupdmgr get-history --json for QA
2021-11-24 15:39:40 +00:00
Richard Hughes
6e651269ba
Fix running the tests when fwupd is not installed
...
This probably regressed in 70f9124545
as
the callers actually expect an error in the GDBusError domain, rather
than one fixed up in the FwupdError domain.
Fixes https://github.com/fwupd/fwupd/issues/4014
2021-11-23 15:18:41 +00:00
Richard Hughes
7b865f213c
trivial: Only install files that are going to be used
2021-11-23 15:14:14 +00:00
Richard Hughes
71d93a65fb
Make sqlite optional
...
This isn't required when fwupd is installed on targets like a BMC.
2021-11-23 15:09:05 +00:00