Commit Graph

9652 Commits

Author SHA1 Message Date
Mario Limonciello
c2a494e871 trivial: install dmi data into installed-tests
fixes: #5402
2023-01-11 07:45:58 -06:00
Richard Hughes
bd306179f2 Fix installing with -Doffline=false 2023-01-10 22:26:52 +00:00
Richard Hughes
91bf84f7a0 trivial: Reduce runtime RSS requirement for each device subclass
Remove the FuDeviceClass padding, as this library now loaded using an rpath
rather than a shared library with a static API. This matches what we did for
the FuFirmwareClass objects a while ago.
2023-01-10 20:43:31 +00:00
Richard Hughes
7cc725b918 vbe: Remove the stored VBE dir
This can be easily retrieved using LOCALSTATEDIR_PKG by the subclass.
2023-01-10 20:40:57 +00:00
Richard Hughes
61c6a11ec3 Do not show a warning when coldplugging an unsupported backend
This also fixes a critical warning about the child progress not being completed.
2023-01-10 20:36:48 +00:00
Richard Hughes
9f3a54488e trivial: Set the backend ID when added
This matches what the plugin does and means there's no critical warning when
adding to the hash table.
2023-01-10 20:34:52 +00:00
Mario Limonciello
e5e6067e22 trivial: fail setup script if dependencies are missing
This makes CI failures more predictable and obvious.
2023-01-10 14:34:40 -06:00
Mario Limonciello
ced9e0c934 trivial: drop docs from abi job
It's built with features=disabled, no need to include it.
2023-01-10 14:34:40 -06:00
Mario Limonciello
17d92d96be trivial: clarify documentation on PSP security processor (Fixes: #5394) 2023-01-10 12:33:05 -06:00
Vincent Huang
8d365e84de synaptics-rmi: add support to write signature 2023-01-10 14:59:11 +00:00
Richard Hughes
b1ea3fab8c dfu: Add some wisdom for vendors implementing devices 2023-01-10 14:58:57 +00:00
Richard Hughes
058dc2301a Include the plugin README text in the generated docs 2023-01-10 14:58:30 +00:00
Richard Hughes
2c20ade1db emmc: Add back a legacy GUID to fix a regression
I had no idea anyone was using this, so apologies. The instance ID is completely
wrong, but it is effectively D-Bus ABI and we need to support old firmware in
the field.
2023-01-09 15:39:36 +00:00
Richard Hughes
1ca3cdd4d9 Add a pefile firmware parser
This will eventually allow us to reconstruct a SBoM using a UEFI file volume.

This can be used like this `fwupdtool firmware-parse efi/fwupdx64.efi pefile`
to produce:

    <firmware gtype="FuPefileFirmware">
      <data size="0xef59">MZ.</data>
      <firmware>
        <id>.text</id>
        <offset>0x2d0</offset>
        <size>0x7bab</size>
        <data size="0x7bab">H...QRH.=....H.5</data>
      </firmware>
      ...
      <firmware gtype="FuCoswidFirmware">
        <id>fwupd-efi:fwupdx64</id>
        <idx>0x7</idx>
        <version>1.4</version>
        <offset>0xc4e0</offset>
        <size>0xce</size>
        <data size="0xce">..een-US</data>
        <version_scheme>semver</version_scheme>
        <product>fwupdx64</product>
        <summary>EFI helpers to install system firmware</summary>
        <colloquial_version>1.3-7-g881a508</colloquial_version>
        <link>
          <href>https://spdx.org/licenses/LGPL-2.0.html</href>
          <rel>license</rel>
        </link>
        <entity>
          <name>Richard Hughes</name>
          <regid>hughsie.com</regid>
          <role>maintainer</role>
          <role>tag-creator</role>
        </entity>
      </firmware>
    </firmware>
2023-01-06 17:32:59 +00:00
Richard Hughes
10e8f0559b Always search for uSWID data in the image 2023-01-06 14:23:13 +00:00
Vincent Huang
1ef407968e synaptics-rmi: add support to more firmware partitions 2023-01-06 11:45:55 +00:00
Sean Rhodes
d83007e1c8
plugins/flashrom: Allow 32MiB images for the StarBook Mk VI (#5383)
Also allow 32MiB images for the coreboot firmware

Signed-off-by: Sean Rhodes <sean@starlabs.systems>

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2023-01-06 10:12:36 +00:00
Vincent Huang
716a98e70a synaptics-rmi: add support to USBHID devices 2023-01-06 07:55:02 +00:00
Ivan Mikhanchuk
ed6011fc4d modem-manager: add quirk for Quectel RM520 modem
Quectel RM520 is based on Qualcomm SDX6x chipset and requires different
firehose programmer file.
2023-01-05 17:39:13 +00:00
Ivan Mikhanchuk
d1fc1d1f93 modem-manager: add firehose prog name quirk
Adds FirehoseProgFile quirk to determine the correct filename for the
firehose prog depending on the device VID:PID.
2023-01-05 17:39:13 +00:00
Sean Rhodes
b20737fe4a plugins/flashrom: Allow 32MiB images for the StarBook Mk VI
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2023-01-05 14:57:58 +00:00
Mario Limonciello
c939db9296 trivial: skip self tests that fail with G_IO_ERROR_NOT_DIRECTORY
fixes: #5370
2023-01-05 09:20:35 +00:00
Mario Limonciello
a3734ba3a4 Backport a patch to fix FTBFS on s390x. 2023-01-04 10:23:37 -06:00
Martin Fernandez
7b6770061c trivial: fix error message on reading IA32_TME_ACTIVATION 2023-01-04 16:16:20 +00:00
Richard Hughes
e73f7d019c Do not allow LZX compressed cabinet archives
The GCab decompression code is *scary* low level C that has not had any security
auditing other than by the fuzzer (which found plenty of memory-safety bugs).

Supporting LZX is useless at best, and could be a security exploit at worst.
2023-01-04 16:06:00 +00:00
Richard Hughes
2aca445360 trivial: Ensure that G_TEST_SRCDIR is set for all self tests
This means that we don't get hard-to-debug failures later in time.
2023-01-04 07:24:01 -06:00
Richard Hughes
6c18cc0f66 mtd: Use dummy SMBIOS data to fix self test on s390x 2023-01-04 07:24:01 -06:00
Mario Limonciello
3b38582c8b refresh changelog 2023-01-03 08:38:16 -06:00
Mario Limonciello
49c1fcaefd drop patches upstream 2023-01-03 08:35:07 -06:00
Mario Limonciello
1cc9569288 Release fwupd 1.8.9
-----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAmO0HHYUHHJpY2hhcmRA
 aHVnaHNpZS5jb20ACgkQF6y6jfqXDhfrbwf/ZYTzj+lFym7x15+iVYusvRf3xB4y
 skhSwlutozjj8vPUxtNDPYGZ8EZUpZizk/emQ5Fk8pLjqrGeDdMbKutaDTj+964f
 Ylqjut5xamKbrrA1CnxUCbb9bEOsUIB1AZWW8OXJJdnIUnf/JkoQGAp6inIOpmZJ
 qPR6feF2HKaJRFhYgnc5CKr8CV6I4GvMcru9KA1UUh8OWiSLuWptvz33b9w0glQM
 GNNcT+zTFo6/yvGYfGrubMFu0iUlbDXYWdqkJczdPgEdqW9BZy2ttXjjOEcLa3zh
 IqQU5py2JyZBjU9pk96AWj1wgMBSakOipxKbx2nIp9EbR/tbrGeJ5QuqqQ==
 =L0ad
 -----END PGP SIGNATURE-----

Merge tag '1.8.9' into debian

Release fwupd 1.8.9
2023-01-03 08:34:41 -06:00
Richard Hughes
42b29d076e trivial: post release version bump 2023-01-03 12:23:13 +00:00
Richard Hughes
faeefb66d0 Release fwupd 1.8.9 2023-01-03 12:15:50 +00:00
Richard Hughes
8066794c14 Show the get-plugins failures in red text 2022-12-30 18:34:52 +00:00
Richard Hughes
2a448c326c Show the get-plugins secure-config text in green 2022-12-30 18:34:52 +00:00
Richard Hughes
0b754727f2 Show the get-plugins system-integrity text in green 2022-12-30 18:34:52 +00:00
Richard Hughes
0eee4d7faa Add support for W25X10CL SPI flash chip 2022-12-30 10:24:00 +00:00
Richard Hughes
542014ebe3 Use 'check' when calling run_command() to avoid a warning
New versions of meson [correctly] warn when this parameter is not specified.
2022-12-29 15:49:02 +00:00
Richard Hughes
de71ebcc58 trivial: Use meson features to disable functionality 2022-12-29 15:49:02 +00:00
Richard Hughes
02d17592b2 Fix deprecated meson commands 2022-12-29 15:49:02 +00:00
Josh Soref
67deecde31
Lots of spelling fixes
Fixes:

* activate
* active
* additional
* and
* approaches
* attestation
* bootloader
* calculate
* capability
* children
* close
* compatible
* continuous
* convenience
* critical
* data
* delivery
* disabled
* disambiguate
* documented
* elapse
* emergency
* erasable
* expectations
* filesystem
* from
* haptic
* ignorable
* images
* infinity
* information
* information
* inhibited
* insufficient
* interrupt
* into
* limited
* management
* manifest
* maximum
* memory
* metadata
* mismatch
* model
* nonexistent
* not
* objects
* offset
* omissions
* ota
* past
* perform
* peripherals
* predictable
* product
* quarterly
* quirk
* quirks
* recognize
* release
* requests
* revocation
* sanitized
* sector
* status
* the
* the update
* timeout
* transfer
* transfers
* typically
* unspecified
* upgrade
* which
* will
* wireless
2022-12-29 13:57:31 +00:00
Richard Hughes
de5b2adaab Never allow using SHA-1 for checksum validation 2022-12-29 10:55:08 +00:00
Aaron Skomra
513bad1e93 wacom-usb: add scaler support to wacom-usb
Support for updating Wacom scalar firmware is being introduced
with the Cintiq Pro 27.
2022-12-23 10:50:54 +00:00
Mario Limonciello
43969a584a Update changelog 2022-12-22 09:43:31 -06:00
Mario Limonciello
b587f62a1b Backport another patch to fix another autopkgtest failure 2022-12-22 09:42:49 -06:00
Richard Hughes
427e5cec7a trivial: Add new convenience API to make plugins simpler 2022-12-20 20:54:12 +00:00
Richard Hughes
eb1711bc22 Add X-GraphicsTablet category 2022-12-20 15:48:15 +00:00
Richard Hughes
9a5e18d573 Add X-FingerprintReader category 2022-12-20 15:48:15 +00:00
Richard Hughes
47f537e005 wistron-dock: Add a new plugin to update several dock models 2022-12-20 14:51:40 +00:00
Richard Hughes
3cbfbe1e09 Skip the fwupdx64.efi BootXXXX entry when measuring system integrity
This is created before the UEFI capsule plugin adds the new BootXXXX entry on
NVRAM systems.
2022-12-20 12:34:48 +00:00
Richard Hughes
d4bfb0e53c Add a request ID for re-inserting the USB cable 2022-12-20 12:33:47 +00:00