]> git.proxmox.com Git - fwupd.git/log
fwupd.git
20 months agoRemove unused API for setting backend tags
Richard Hughes [Mon, 30 Jan 2023 11:54:05 +0000 (11:54 +0000)]
Remove unused API for setting backend tags

It turns out we do not want to know the current phase of the device, and we can
achieve the same thing tagging the GUsbDevice manually and clearing the events
at exactly the correct time.

20 months agoti-tps6598x: Assign the DMC as the proxy rather than just the parent
Richard Hughes [Mon, 30 Jan 2023 11:05:03 +0000 (11:05 +0000)]
ti-tps6598x: Assign the DMC as the proxy rather than just the parent

We 'write through' the parent, and by telling fwupd this we can make better
decisions when emulating.

20 months agoCopy some flags from the proxy to the logical device
Richard Hughes [Mon, 30 Jan 2023 11:41:38 +0000 (11:41 +0000)]
Copy some flags from the proxy to the logical device

20 months agotrivial: update fwupd-efi to 1.4
Mario Limonciello [Fri, 27 Jan 2023 16:04:59 +0000 (10:04 -0600)]
trivial: update fwupd-efi to 1.4

fwupd-efi 1.4 enforces that NX bit is set by default.
This won't affect most users, it should only affect those that compile
by hand and don't have fwupd-efi installed already.

20 months agotrivial: Do not ask for polkit auth if the device is emulated
Richard Hughes [Fri, 27 Jan 2023 15:21:11 +0000 (15:21 +0000)]
trivial: Do not ask for polkit auth if the device is emulated

20 months agotrivial: Do not wait for the acquiesce delay if emulated
Richard Hughes [Fri, 27 Jan 2023 15:20:48 +0000 (15:20 +0000)]
trivial: Do not wait for the acquiesce delay if emulated

20 months agoPropagate device tag to parent device
Frédéric Danis [Fri, 20 Jan 2023 10:20:20 +0000 (11:20 +0100)]
Propagate device tag to parent device

20 months agotrivial: Correctly compress zip files in FuArchive
Richard Hughes [Thu, 26 Jan 2023 14:15:48 +0000 (14:15 +0000)]
trivial: Correctly compress zip files in FuArchive

20 months agoEnsure the new GUsbDevice is assigned in subclasses of FuUsbDevice
Richard Hughes [Wed, 25 Jan 2023 13:40:27 +0000 (13:40 +0000)]
Ensure the new GUsbDevice is assigned in subclasses of FuUsbDevice

Re-incorporate the emulated USB devices when the backend device changes.

20 months agotrivial: Fix critical warning in future code
Richard Hughes [Wed, 25 Jan 2023 13:38:12 +0000 (13:38 +0000)]
trivial: Fix critical warning in future code

Both types need to be FuUdevDevice to compare the sysfs paths.

20 months agoDo not return emulated devices from GetHistory
Richard Hughes [Thu, 26 Jan 2023 11:41:32 +0000 (11:41 +0000)]
Do not return emulated devices from GetHistory

20 months agotrivial: Add fu_device_has_problem() to be consistent and hide details
Richard Hughes [Thu, 26 Jan 2023 11:14:35 +0000 (11:14 +0000)]
trivial: Add fu_device_has_problem() to be consistent and hide details

20 months agoRemove duplicate calls to fu_device_list_wait_for_replug()
Richard Hughes [Thu, 26 Jan 2023 08:00:31 +0000 (08:00 +0000)]
Remove duplicate calls to fu_device_list_wait_for_replug()

The fu_engine_get_device() function is called at the start of each phase,
which calls fu_device_list_wait_for_replug() a second time.

Duplicate calls are at best confusing, and at worst could cause a 'device
failed to come back' failure.

20 months agoAdd a device problem for 'update-in-progress'
Richard Hughes [Thu, 26 Jan 2023 08:51:00 +0000 (08:51 +0000)]
Add a device problem for 'update-in-progress'

We already had this as an inhibit, but this was not translated client-side.

We also need to propagate the problem to the bootloader device if the device
replugs during firmware update.

20 months agocolorhug: Show the flash success value in debugging
Richard Hughes [Thu, 26 Jan 2023 08:55:49 +0000 (08:55 +0000)]
colorhug: Show the flash success value in debugging

20 months agoAdd python3-pefile/python-pefile to CI build deps
Mario Limonciello [Wed, 25 Jan 2023 22:56:15 +0000 (16:56 -0600)]
Add python3-pefile/python-pefile to CI build deps

This is so that it can be used by subproject fwupd-efi

20 months agoFix hotplug events when emulating devices
Richard Hughes [Wed, 25 Jan 2023 10:24:46 +0000 (10:24 +0000)]
Fix hotplug events when emulating devices

20 months agomodem-manager: remove improper use of assert
Ivan Mikhanchuk [Wed, 25 Jan 2023 01:06:09 +0000 (17:06 -0800)]
modem-manager: remove improper use of assert

FuSaharaLoader being NULL is normal for devices that only
support Firehose and don't use Sahara QDL port.

20 months agowacom-usb: Retry set_report on failure
Jason Gerecke [Tue, 17 Jan 2023 22:24:14 +0000 (14:24 -0800)]
wacom-usb: Retry set_report on failure

Sometimes the flash process will randomly hang and time-out when sending
data to the device. We currently do not use any retry logic, so if this
happens the flash attempt is treated as a failure. This can be a source
of worry or frustration, especially if subsequent manual retries fail
in a similar way.

Adding FU_HID_DEVICE_FLAG_RETRY_FAILURE to the list of flags used when
calling fu_hid_device_set_report allows fwupd to try sending a block
multiple times if such a time-out (or other error) occurs. This makes
the flash process less prone to failure.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
20 months agotrivial: Fix tests to include 'emulated'
Richard Hughes [Tue, 24 Jan 2023 15:41:01 +0000 (15:41 +0000)]
trivial: Fix tests to include 'emulated'

20 months agoAdd fu_device_remove_backend_tag() for future use
Richard Hughes [Tue, 24 Jan 2023 13:15:28 +0000 (13:15 +0000)]
Add fu_device_remove_backend_tag() for future use

20 months agotrivial: Proxy the _SAVE_EVENTS flag even if set at runtime
Richard Hughes [Mon, 23 Jan 2023 15:54:10 +0000 (15:54 +0000)]
trivial: Proxy the _SAVE_EVENTS flag even if set at runtime

20 months agoUse the new GUsb API for loading by tag
Richard Hughes [Mon, 23 Jan 2023 15:52:54 +0000 (15:52 +0000)]
Use the new GUsb API for loading by tag

Based on a patch by frederic.danis@collabora.com, many thanks.

20 months agoDo not make any of the HWIDs setup failures fatal
Richard Hughes [Tue, 24 Jan 2023 09:52:17 +0000 (09:52 +0000)]
Do not make any of the HWIDs setup failures fatal

It's perfectly okay to have no HWIDs defined.

Should help with https://github.com/fwupd/fwupd/issues/5402

20 months agotrivial: Add a device flag specifying it is emulated
Richard Hughes [Mon, 23 Jan 2023 17:30:11 +0000 (17:30 +0000)]
trivial: Add a device flag specifying it is emulated

20 months agotrivial: Fix fuzzing with libxmlb from main, harder
Richard Hughes [Mon, 23 Jan 2023 17:16:57 +0000 (17:16 +0000)]
trivial: Fix fuzzing with libxmlb from main, harder

20 months agotrivial: Force enums to be uint64, harder
Richard Hughes [Mon, 23 Jan 2023 17:11:23 +0000 (17:11 +0000)]
trivial: Force enums to be uint64, harder

20 months agotrivial: Fix fuzzing with libxmlb from main
Richard Hughes [Mon, 23 Jan 2023 16:46:13 +0000 (16:46 +0000)]
trivial: Fix fuzzing with libxmlb from main

20 months agoSave all the FwupdDeviceFlags in the pending database
Richard Hughes [Mon, 23 Jan 2023 15:43:37 +0000 (15:43 +0000)]
Save all the FwupdDeviceFlags in the pending database

Force the compiler to treat them as uint64_t so that bitwise operations work.
At the moment flags greater than 1<<32 are just being silently ignored...

20 months agoSupport unsetting specific device flags
Richard Hughes [Mon, 23 Jan 2023 16:05:00 +0000 (16:05 +0000)]
Support unsetting specific device flags

This makes it possible to 'undo' the notification, for example.

20 months agotrivial: Fix build fix when using ppc64le system
Richard Hughes [Mon, 23 Jan 2023 11:22:43 +0000 (11:22 +0000)]
trivial: Fix build fix when using ppc64le system

20 months agotrivial: Use %autochangelog in reference spec file
Richard Hughes [Mon, 23 Jan 2023 10:44:28 +0000 (10:44 +0000)]
trivial: Use %autochangelog in reference spec file

20 months agoAllow desktop software to inhibit the system to prevent all updates
Richard Hughes [Sat, 21 Jan 2023 13:37:49 +0000 (13:37 +0000)]
Allow desktop software to inhibit the system to prevent all  updates

On edge hardware a process may want to disable firmware updates as it might be
a bad time to allow an upgrade.

20 months agotrivial: post release version bump
Richard Hughes [Mon, 23 Jan 2023 10:19:17 +0000 (10:19 +0000)]
trivial: post release version bump

21 months agoreleasing package fwupd version 1.8.10-2
Mario Limonciello [Tue, 24 Jan 2023 15:13:05 +0000 (09:13 -0600)]
releasing package fwupd version 1.8.10-2

21 months agoBackport a patch to hopefully help with autopkgtest failures on !x86
Mario Limonciello [Tue, 24 Jan 2023 15:12:05 +0000 (09:12 -0600)]
Backport a patch to hopefully help with autopkgtest failures on !x86

21 months agoreleasing package fwupd version 1.8.10-1
Mario Limonciello [Mon, 23 Jan 2023 14:52:22 +0000 (08:52 -0600)]
releasing package fwupd version 1.8.10-1

21 months agoDrop patches, upstream
Mario Limonciello [Mon, 23 Jan 2023 14:33:50 +0000 (08:33 -0600)]
Drop patches, upstream

21 months agoMerge tag '1.8.10' into debian
Mario Limonciello [Mon, 23 Jan 2023 14:18:27 +0000 (08:18 -0600)]
Merge tag '1.8.10' into debian

Release fwupd 1.8.10

21 months agoRelease fwupd 1.8.10
Richard Hughes [Mon, 23 Jan 2023 10:17:45 +0000 (10:17 +0000)]
Release fwupd 1.8.10

22 months agoemmc: correct legacy GUID generation
Daniil Lunev [Sun, 22 Jan 2023 22:44:09 +0000 (09:44 +1100)]
emmc: correct legacy GUID generation

It used to be generated with decimal, not hexadecimal values.

Change-Id: I2a6a5bdea50e2d08a7de9f65a1f9a03de29e1591

22 months agotrivial: Fix bitwise operators in last commit
Richard Hughes [Sun, 22 Jan 2023 08:23:45 +0000 (08:23 +0000)]
trivial: Fix bitwise operators in last commit

22 months agoAdd fu_context_remove_flag() for future use
Richard Hughes [Sat, 21 Jan 2023 20:47:18 +0000 (20:47 +0000)]
Add fu_context_remove_flag() for future use

22 months agoSpeed up startup by a huge amount when using directory remotes
Richard Hughes [Sat, 21 Jan 2023 09:54:28 +0000 (09:54 +0000)]
Speed up startup by a huge amount when using directory remotes

By using libxmlb correctly we can avoid rebuilding the metadata if the directory
is unchanged. This means the initial 'generation' is unchanged in speed, but
subsequent loads are almost instant as the archives are not decompressed.

22 months agoShow some debugging when we ignore a release due to missing checksums
Richard Hughes [Sat, 21 Jan 2023 11:00:48 +0000 (11:00 +0000)]
Show some debugging when we ignore a release due to missing checksums

22 months agoFallback to the <checksum> if the <artifact> is invalid
Richard Hughes [Sat, 21 Jan 2023 10:59:22 +0000 (10:59 +0000)]
Fallback to the <checksum> if the <artifact> is invalid

In 62a62f8f0f707d815e65ca9d0634459edb6eed97 we started ignoring the artifact
when the type was 'binary' -- however, we need to fall back to the older tag
schema if the data was not set, rather than only if the <artifact> tag was not
found.

22 months agowacom-usb: prefix errors that occur when writing to the device
Aaron Skomra [Thu, 27 Oct 2022 02:11:50 +0000 (19:11 -0700)]
wacom-usb: prefix errors that occur when writing to the device

Make it easier to locate errors that occur when writing to the device.

22 months agoParse the DT chassis-type when parsing the FDT
Richard Hughes [Wed, 18 Jan 2023 15:10:22 +0000 (15:10 +0000)]
Parse the DT chassis-type when parsing the FDT

22 months agouefi-capsule: Do not call grub2-probe without arguments
Michal Suchanek [Wed, 18 Jan 2023 15:07:05 +0000 (16:07 +0100)]
uefi-capsule: Do not call grub2-probe without arguments

commit 684bc0381 ("trivial: fix various shellcheck warnings") adds call
to ${grub_probe} without any argument which causes grub2-probe to return
an error, and generating grub configuration fails.

Add --version argument to avoid the error, and redierct the output to
/dev/null so that it's not included in the grub configuration file.

The commit also adds superfluous single quotes causing another error:

/usr/sbin/grub2-probe: error: cannot find a GRUB drive for `${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/".  Check your device.map.

Fix the quoting to work at least for single device.

Fixes: #5424
Fixes: 684bc0381 ("trivial: fix various shellcheck warnings")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
22 months agoUpdate documentation to indicate that loading "OS Optimized Defaults"
Mario Limonciello [Wed, 11 Jan 2023 16:17:51 +0000 (10:17 -0600)]
Update documentation to indicate that loading "OS Optimized Defaults"
may enable security processor rollback protection on Lenovo systems.

fixes: #5394

22 months agoImprove FDT parsing compatibility
Richard Hughes [Fri, 13 Jan 2023 10:06:07 +0000 (10:06 +0000)]
Improve FDT parsing compatibility

Newer versions of dtc agressively pack the string table, using *any* matching
suffix rather than whole strings. This is specification compliant, but breaks
if you use the offset as a hash key as a [premature] optimization.

Just use the string table as a flat block of memory rather than pre-parsing it.

This fixes reading the system FDT on new OpenBMC builds.

22 months agoRefactor the hwids functionality
Richard Hughes [Mon, 16 Jan 2023 15:42:55 +0000 (15:42 +0000)]
Refactor the hwids functionality

This refactors the code as it was getting very confusing; before FuSmbios was
reading both SMBIOS and the kernel-provided DT -- and various things were
injecting overrides in three different place. To properly support FDT remove
one layer of indirection.

This also lets us use the compatible strings to enable plugins specifying the
flag _REQUIRE_HWID -- which means we only load the plugin if it's got a chance
of working. e.g.

    [aspeed,ast2500]

22 months agotrivial: Make the installed-tests redfish.conf secure to avoid a warning
Richard Hughes [Tue, 17 Jan 2023 11:25:19 +0000 (11:25 +0000)]
trivial: Make the installed-tests redfish.conf secure to avoid a warning

Also, don't attempt to change the permissions if the correct one is already
set.

22 months agotrivial: update supported cpu documentation to add more info for AMD
Mario Limonciello [Mon, 16 Jan 2023 18:02:29 +0000 (12:02 -0600)]
trivial: update supported cpu documentation to add more info for AMD

This should hopefully help disambiguate when information isn't available
what to do.

Fixes: #5415
22 months agosynaptics-rmi: add feature to verify signature (#5406)
Vincent Huang [Tue, 17 Jan 2023 09:33:49 +0000 (17:33 +0800)]
synaptics-rmi: add feature to verify signature (#5406)

22 months agoBackport a patch to fix the autopkgtest failure on s390x.
Mario Limonciello [Mon, 16 Jan 2023 20:36:42 +0000 (14:36 -0600)]
Backport a patch to fix the autopkgtest failure on s390x.

22 months agotrivial: Add FU_PATH_KIND_SYSFSDIR_DMI for future use
Richard Hughes [Mon, 16 Jan 2023 20:12:33 +0000 (20:12 +0000)]
trivial: Add FU_PATH_KIND_SYSFSDIR_DMI for future use

22 months agotrivial: Add fu_context_get_hwids() for future use
Richard Hughes [Mon, 16 Jan 2023 15:51:58 +0000 (15:51 +0000)]
trivial: Add fu_context_get_hwids() for future use

22 months agotrivial: Add fu_context_get_smbios() for future use
Richard Hughes [Mon, 16 Jan 2023 14:48:50 +0000 (14:48 +0000)]
trivial: Add fu_context_get_smbios() for future use

22 months agotrivial: Store the chassis kind in the context
Richard Hughes [Mon, 16 Jan 2023 14:39:08 +0000 (14:39 +0000)]
trivial: Store the chassis kind in the context

22 months agotrivial: Add FuContextHwidFlags for future usage
Richard Hughes [Mon, 16 Jan 2023 14:22:14 +0000 (14:22 +0000)]
trivial: Add FuContextHwidFlags for future usage

22 months agotrivial: Add a GError parameter to fu_context_get_smbios_string()
Richard Hughes [Fri, 13 Jan 2023 10:39:56 +0000 (10:39 +0000)]
trivial: Add a GError parameter to fu_context_get_smbios_string()

This matches the behaviour of fu_smbios_get_string() and was probably accidental.

22 months agotrivial: Fix the progress steps when dumping firmware
Richard Hughes [Thu, 12 Jan 2023 11:26:15 +0000 (11:26 +0000)]
trivial: Fix the progress steps when dumping firmware

In most cases the firmware dump is going to take a *lot* longer than the
engine startup.

22 months agoAllow dumping CFI devices using fwupdtool
Richard Hughes [Thu, 12 Jan 2023 11:23:11 +0000 (11:23 +0000)]
Allow dumping CFI devices using fwupdtool

This regressed with 7dc34ff02e.

22 months agotrivial: Show a better error when reading am empty CFI flash ID
Richard Hughes [Thu, 12 Jan 2023 11:19:54 +0000 (11:19 +0000)]
trivial: Show a better error when reading am empty CFI flash ID

22 months agotrivial: Add CFI data for W25Q256
Richard Hughes [Thu, 12 Jan 2023 11:18:50 +0000 (11:18 +0000)]
trivial: Add CFI data for W25Q256

22 months agoAdd System76 launch_heavy_1
Jeremy Soller [Wed, 11 Jan 2023 17:05:15 +0000 (10:05 -0700)]
Add System76 launch_heavy_1

22 months agoRespect user requested paths for ESP even if they aren't volumes
Mario Limonciello [Wed, 11 Jan 2023 04:23:08 +0000 (22:23 -0600)]
Respect user requested paths for ESP even if they aren't volumes

These paths may be used for bind mounts, which we can't accurately
discover. Leave a message in the logs accordingly, but allow these
paths.

fixes: #5185

22 months agoAdd fu_context_get_fdt() to get the Flat Device Tree
Richard Hughes [Wed, 11 Jan 2023 15:04:08 +0000 (15:04 +0000)]
Add fu_context_get_fdt() to get the Flat Device Tree

This is needed because multiple plugins will soon be consuming the system FDT,
and we don't want to either parse this multiple times, or duplicate the loading
logic.

22 months agotrivial: Create the parent directories when using fu_firmware_write_file()
Richard Hughes [Wed, 11 Jan 2023 15:03:11 +0000 (15:03 +0000)]
trivial: Create the parent directories when using fu_firmware_write_file()

22 months agotrivial: install dmi data into installed-tests
Mario Limonciello [Wed, 11 Jan 2023 03:17:18 +0000 (21:17 -0600)]
trivial: install dmi data into installed-tests

fixes: #5402

22 months agoFix installing with -Doffline=false
Richard Hughes [Tue, 10 Jan 2023 22:04:53 +0000 (22:04 +0000)]
Fix installing with -Doffline=false

22 months agotrivial: Reduce runtime RSS requirement for each device subclass
Richard Hughes [Tue, 10 Jan 2023 20:28:31 +0000 (20:28 +0000)]
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.

22 months agovbe: Remove the stored VBE dir
Richard Hughes [Tue, 10 Jan 2023 20:18:55 +0000 (20:18 +0000)]
vbe: Remove the stored VBE dir

This can be easily retrieved using LOCALSTATEDIR_PKG by the subclass.

22 months agoDo not show a warning when coldplugging an unsupported backend
Richard Hughes [Tue, 10 Jan 2023 20:23:27 +0000 (20:23 +0000)]
Do not show a warning when coldplugging an unsupported backend

This also fixes a critical warning about the child progress not being completed.

22 months agotrivial: Set the backend ID when added
Richard Hughes [Tue, 10 Jan 2023 20:14:40 +0000 (20:14 +0000)]
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.

22 months agotrivial: fail setup script if dependencies are missing
Mario Limonciello [Tue, 10 Jan 2023 17:38:21 +0000 (11:38 -0600)]
trivial: fail setup script if dependencies are missing

This makes CI failures more predictable and obvious.

22 months agotrivial: drop docs from abi job
Mario Limonciello [Tue, 10 Jan 2023 17:36:21 +0000 (11:36 -0600)]
trivial: drop docs from abi job

It's built with features=disabled, no need to include it.

22 months agotrivial: clarify documentation on PSP security processor (Fixes: #5394)
Mario Limonciello [Tue, 10 Jan 2023 17:14:33 +0000 (11:14 -0600)]
trivial: clarify documentation on PSP security processor (Fixes: #5394)

22 months agosynaptics-rmi: add support to write signature
Vincent Huang [Tue, 10 Jan 2023 06:17:07 +0000 (14:17 +0800)]
synaptics-rmi: add support to write signature

22 months agodfu: Add some wisdom for vendors implementing devices
Richard Hughes [Thu, 29 Dec 2022 14:52:13 +0000 (14:52 +0000)]
dfu: Add some wisdom for vendors implementing devices

22 months agoInclude the plugin README text in the generated docs
Richard Hughes [Tue, 10 Jan 2023 10:03:27 +0000 (10:03 +0000)]
Include the plugin README text in the generated docs

22 months agoemmc: Add back a legacy GUID to fix a regression
Richard Hughes [Mon, 9 Jan 2023 08:05:48 +0000 (08:05 +0000)]
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.

22 months agoAdd a pefile firmware parser
Richard Hughes [Fri, 6 Jan 2023 11:31:05 +0000 (11:31 +0000)]
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>

22 months agoAlways search for uSWID data in the image
Richard Hughes [Fri, 6 Jan 2023 10:05:32 +0000 (10:05 +0000)]
Always search for uSWID data in the image

22 months agosynaptics-rmi: add support to more firmware partitions
Vincent Huang [Fri, 6 Jan 2023 10:24:41 +0000 (18:24 +0800)]
synaptics-rmi: add support to more firmware partitions

22 months agoplugins/flashrom: Allow 32MiB images for the StarBook Mk VI (#5383)
Sean Rhodes [Fri, 6 Jan 2023 10:12:36 +0000 (10:12 +0000)]
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>
22 months agosynaptics-rmi: add support to USBHID devices
Vincent Huang [Fri, 6 Jan 2023 03:15:45 +0000 (11:15 +0800)]
synaptics-rmi: add support to USBHID devices

22 months agomodem-manager: add quirk for Quectel RM520 modem
Ivan Mikhanchuk [Fri, 30 Dec 2022 21:38:10 +0000 (13:38 -0800)]
modem-manager: add quirk for Quectel RM520 modem

Quectel RM520 is based on Qualcomm SDX6x chipset and requires different
firehose programmer file.

22 months agomodem-manager: add firehose prog name quirk
Ivan Mikhanchuk [Tue, 27 Dec 2022 19:20:22 +0000 (11:20 -0800)]
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.

22 months agoplugins/flashrom: Allow 32MiB images for the StarBook Mk VI
Sean Rhodes [Thu, 5 Jan 2023 14:44:01 +0000 (14:44 +0000)]
plugins/flashrom: Allow 32MiB images for the StarBook Mk VI

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
22 months agotrivial: skip self tests that fail with G_IO_ERROR_NOT_DIRECTORY
Mario Limonciello [Wed, 4 Jan 2023 02:19:39 +0000 (20:19 -0600)]
trivial: skip self tests that fail with G_IO_ERROR_NOT_DIRECTORY

fixes: #5370

22 months agoBackport a patch to fix FTBFS on s390x.
Mario Limonciello [Wed, 4 Jan 2023 16:23:37 +0000 (10:23 -0600)]
Backport a patch to fix FTBFS on s390x.

22 months agotrivial: fix error message on reading IA32_TME_ACTIVATION
Martin Fernandez [Tue, 3 Jan 2023 15:46:37 +0000 (12:46 -0300)]
trivial: fix error message on reading IA32_TME_ACTIVATION

22 months agoDo not allow LZX compressed cabinet archives
Richard Hughes [Wed, 4 Jan 2023 09:46:11 +0000 (09:46 +0000)]
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.

22 months agotrivial: Ensure that G_TEST_SRCDIR is set for all self tests
Richard Hughes [Wed, 4 Jan 2023 10:38:30 +0000 (10:38 +0000)]
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.

22 months agomtd: Use dummy SMBIOS data to fix self test on s390x
Richard Hughes [Tue, 3 Jan 2023 17:59:44 +0000 (17:59 +0000)]
mtd: Use dummy SMBIOS data to fix self test on s390x

22 months agorefresh changelog
Mario Limonciello [Tue, 3 Jan 2023 14:37:44 +0000 (08:37 -0600)]
refresh changelog

22 months agodrop patches upstream
Mario Limonciello [Tue, 3 Jan 2023 14:35:07 +0000 (08:35 -0600)]
drop patches upstream

22 months agoMerge tag '1.8.9' into debian
Mario Limonciello [Tue, 3 Jan 2023 14:34:41 +0000 (08:34 -0600)]
Merge tag '1.8.9' into debian

Release fwupd 1.8.9