Mario Limonciello
0b56a58b65
trivial: win32: fix subprocess call
...
```
19:22:39:0430 FuCommon running 'curl.exe https://cdn.fwupd.org/downloads/firmware.xml.gz.jcat --output C:\Users\mlimonci\AppData\Local\Microsoft\Windows\INetCache\fwupd\firmware.xml.gz.jcat --cacert C:\Program Files (x86)\fwupd\bin\..\bin\ca-bundle.crt'
19:22:39:0515 GLib-GObject invalid cast from 'GWin32InputStream' to 'GPollableInputStream'
19:22:39:0515 GLib-GIO g_pollable_input_stream_create_source: assertion 'G_IS_POLLABLE_INPUT_STREAM (stream)' failed
19:22:39:0516 GLib g_source_attach: assertion 'source != NULL' failed
19:22:39:0516 GLib g_source_set_callback: assertion 'source != NULL' failed
```
2021-12-15 06:46:27 -06:00
Mario Limonciello
bba3cd79de
trivial: win32: include and enable curl support
...
This is needed for LVFS refreshes to work.
* Install curl binary
* Install ca-certs bundle
* Install gspawn helpers
* Reference ca-certs bundle on Win32
2021-12-15 06:46:27 -06:00
Mario Limonciello
12bdc7d3ad
trivial: win32: discover the running directory
...
This should allow launching fwupdtool.exe from anywhere outside
of PATH
2021-12-15 06:46:27 -06:00
Mario Limonciello
4960ae34ba
trivial: win32: discover user's profile directory
...
For anything that is normally in /var on Linux, write it
here so that users don't need admin rights.
2021-12-15 06:46:27 -06:00
Mario Limonciello
dabfac661e
trivial: win32: disable motd writing by default
2021-12-15 06:46:27 -06:00
Mario Limonciello
54b61c2027
trivial: win32: install the lvfs remote
2021-12-15 06:46:27 -06:00
Mario Limonciello
7188e5b335
Add support to show curl/wget output from fwupdmgr/fwupdtool
2021-12-15 06:46:27 -06:00
Dylan Van Assche
90baeaabbc
modem-manager: add Quectel EG25-G no response quirk
2021-12-14 22:46:04 +00:00
Dylan Van Assche
a489191c38
modem-manager: add support for AT fastboot detach commands without response
...
Normally each AT command is ended with either OK or ERROR,
but that's not the case for the Quectel EG25-G's AT command to enter fastboot.
As soon as AT+QFASTBOOT is sent, the modem switches to fastboot mode without replying OK.
2021-12-14 22:46:04 +00:00
Dylan Van Assche
3eead7aa60
modem-manager: add quirk for Quectel EG25-G
...
Allow fwupd to detect the switch between modem-manager and fastboot plugins
as it appears under a different vendor and device ID.
2021-12-14 22:46:04 +00:00
Dylan Van Assche
12282ca6bc
fastboot: add operation delay quirk for Quectel EG25-G
2021-12-14 22:46:04 +00:00
Dylan Van Assche
e6121ae3c7
fastboot: add quirk to delay operations
...
Some devices such as the Quectel EG25-G modem need some breathing room
between fastboot commands. This quirk allows to specify for such devices
a delay which is used after each read or write command.
Without this, the Quectel EG25-G modem's fastboot bootloader
cannot handle this and crashes.
2021-12-14 22:46:04 +00:00
Dylan Van Assche
c0ec63091d
fastboot: add quirk for Quectel EG25-G
...
The Quectel EG25-G modem must use a blocksize of 16384 bytes in fastboot mode.
Using a different blocksize makes the fastboot bootloader crash,
resulting in a failed update.
2021-12-14 22:46:04 +00:00
Richard Hughes
b2048820aa
Copy private flags from donor devices
2021-12-13 15:21:51 -06:00
Richard Hughes
e21fb7630a
modem-manager: Set the context when the device is constructed
2021-12-13 15:21:43 -06:00
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