Commit Graph

3377 Commits

Author SHA1 Message Date
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
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
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
Richard Hughes
427e5cec7a trivial: Add new convenience API to make plugins simpler 2022-12-20 20:54:12 +00:00
Richard Hughes
47f537e005 wistron-dock: Add a new plugin to update several dock models 2022-12-20 14:51:40 +00:00
Denis Pynkin
4a1f9e8241 synaptics-cape: return false if version detection failed 2022-12-18 00:51:43 +03:00
Denis Pynkin
db57d9fe40 synaptics-cape: add the PID 0x0286
The device with PID=0x00298 has PID=0x0286 with the outdated FWre.
This change allows to recognize and update devices in the field to
the recent FWre version.
See: Google tracker issue 257197851

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
2022-12-18 00:51:43 +03:00
Mario Limonciello
8d97e2fa93 tpm: don't require event log to have all reconstructions 2022-12-17 13:00:51 -06:00
Mario Limonciello
99f36cb494 tpm: Add support for sha384 2022-12-17 08:18:48 -06:00
Richard Hughes
08e3eaafe0 uefi-dbx: Ignore failure to mount the ESP if unsupported
I think this is only possible when a raw partition with no filesystem has the
ESP or BDP UEFI GUID set in the partition table.
2022-12-16 14:58:03 +00:00
Richard Hughes
4cb7a20a68 superio: Return with failure if setting GError 2022-12-15 17:27:22 +00:00
Richard Hughes
a16d150ba9 superio: Do not set GError if not failing 2022-12-15 17:27:22 +00:00
Richard Hughes
4fc8685ca0 synaptics-cape: Prefix the GError correctly 2022-12-15 17:27:22 +00:00
Richard Hughes
a7c199bb59 elantp: Prefix the GError correctly 2022-12-15 17:27:22 +00:00
Richard Hughes
9f8f08e6bd trivial: Remove useless duplication 2022-12-15 17:27:22 +00:00
Vincent Huang
41dbc0292e synaptics-prometheus: add PIDs to quirk file 2022-12-15 08:05:06 +00:00
Richard Hughes
790b9023f7 ti-tps6598x: Use the TX identity to set the PD VID&PID to the correct values
This allows us to match the firmware stream to the dock model perfectly,
without relying on the oUID and CONFIG being set to specific OEM values.
2022-12-14 20:29:48 +00:00
Denis Pynkin
c446211b10 ti-tps6598x: remove the delay on write
Speed up the write by removing the delay after SFWd write:
- 100ms (current): 3m 16s
- no delays: 1m 45s
2022-12-14 23:23:21 +03:00
Mario Limonciello
9e22e9c12f iommu: Suggest to turn on ThunderboltAccess for Lenovo systems
Lenovo systems that offer a BIOS setting for ThunderboltAccess will
use this option to control whether the IOMMU is enabled by default
or not.

It may be counter-intuitive; but as there are other more physically
difficult to attack PCIe devices it's better to have the IOMMU
enabled pre-boot even if it enables access to Thunderbolt/USB4.

Fixes: #5314
2022-12-14 08:44:27 -06:00
Richard Hughes
02e3549f1a trivial: Fix build failure when /var/cache/fwupd is not writable
The fu_context_load_quirks(FU_QUIRKS_LOAD_FLAG_NO_CACHE) has to be done first,
otherwise fu_context_load_hwinfo() auto-loads the quirk db with the defaults.

Fixes a build failure in Fedora QA.
2022-12-14 14:12:17 +00:00
Richard Hughes
41314f3b3f ti-tps6598x: Add a new plugin to update some TI USB-4 docks 2022-12-14 12:50:25 +00:00
Jakub Kolakowski
45f5b50d6f Add needs-shutdown flag for Solidigm NVMe device 2022-12-13 08:37:17 +00:00
Richard Hughes
1d69bec346 trivial: Fix up a plugin method name 2022-12-10 14:42:30 +00:00
Mario Limonciello
308068e73b trivial: fix autopkgtest failure
Explicitly load_hwinfo at start of mtd self test
```
.# Start of mtd tests
.# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
.# XbSilo-DEBUG: attempting to load /tmp/.E94WW1
.# XbSilo-DEBUG: failed to load silo: blob too small
Bail out! FuContext-FATAL-CRITICAL: cannot use HWIDs before calling ->load_hwinfo()

(/usr/libexec/installed-tests/fwupd/mtd-self-test:1758): FuContext-CRITICAL **: 23:27:43.095: cannot use HWIDs before calling ->load_hwinfo()
```
2022-12-09 07:53:33 -06:00
Mario Limonciello
85a168206c trivial: uefi-capsule: decrease warning about missing header to debug
Plenty of vendors rely upon this behavior, so we don't need to be
making noise in everyone's logs for them.
2022-12-08 14:18:47 -06:00
Richard Hughes
291d2c116f intel-gsc: Use the new 'gpu' device icon 2022-12-07 17:08:53 +00:00
Richard Hughes
93d6d6b7f8 intel-gsc: Use measured progress steps on real hardware 2022-12-06 15:18:47 +00:00
Richard Hughes
7ad92a8eb9 intel-gsc: Wait for the GPU to come back after updating 2022-12-06 15:13:19 +00:00
Richard Hughes
118bef7666 intel-gsc: Mark GPU devices as internal 2022-12-06 15:11:52 +00:00
Richard Hughes
d74a4704c5 intel-gsc: Make the code match the comment to fix upgrading on real hardware 2022-12-06 14:41:24 +00:00
Richard Hughes
123fac737a trivial: Fix some g_prefix_error() calls to include the trailing space 2022-11-30 10:13:19 +00:00
Richard Hughes
3bf53fe35b intel-usb4: Ensure the device name is set with FuUsbDevice->setup 2022-11-29 09:01:29 +00:00
dx
30a726faee
elantp: Include 04F3:0400 (bootloader) as a valid i2c-hid touchpad (#5283)
* elantp: Include 04F3:0400 (bootloader) as a valid i2c-hid touchpad

ELAN Touchpads with product ids between 0x3000 and 0x4000 can sometimes
end up in bootloader mode (due to not having a valid firmware, for
example)

The bootloader has a product id outside of the range checked by
fu_elantp_hid_device_probe, resulting in the device disappearing from
get-devices when it's in that mode, which makes it seem dead.

This expands the range of that check to include 0x400 so that it is
possible to upload a valid firmware to it.
2022-11-28 13:37:42 +00:00
Daniel Schaefer
8b94080ca0 goodix-moc: Add quirk for 609C used on Framework
Framework Laptops use this device.

Output from `fwupdtool get-devices`:

```
├─Fingerprint Sensor:
│     Device ID:          4295296d98b3ba38c72f6baa33d24f03a1d428f6
│     Summary:            Match-On-Chip fingerprint sensor
│     Current version:    01000252
│     Vendor:             Goodix (USB:0x27C6)
│     Install Duration:   10 seconds
│     Serial Number:      UID2E43190D_XXXX_MOC_B0
│     GUIDs:              1e8c8470-a49c-571a-82fd-19c9fa32b8c3 ← USB\VID_27C6&PID_609C
│                         34def4c7-9461-5a32-a945-5dde0ca57d88 ← USB\VID_27C6&PID_609C&REV_0100
│     Device Flags:       • Updatable
│                         • Device can recover flash failures
│                         • Signed Payload
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2022-11-23 09:21:14 +00:00
Mario Limonciello
5b44de228e Add BIOS rollback protection support for Dell systems 2022-11-18 14:28:13 +00:00
Mario Limonciello
61cf08ef50 Add BIOS rollback protection support for Lenovo systems 2022-11-18 14:28:13 +00:00
Mario Limonciello
5d25661727 Add security attribute for OEM specific implementations of BIOS rollback protection 2022-11-18 14:28:13 +00:00
Vincent Huang
540043ffa2 synaptics-rmi: show correct bootloader version on V5 and V6 device 2022-11-18 08:03:54 +00:00
Vincent Huang
a66c4ccbd5 synaptics-rmi: Fix the issue when updating non-secure devices 2022-11-18 08:03:54 +00:00
Sanjay Sheth
8e32b6a353 New plugin for Logitech Whiteboard camera 2022-11-17 16:42:04 +00:00
Kevin Chen
a447fca101 qsi-dock: Create a new plugin to update docks from QSI 2022-11-11 07:58:35 +00:00
Richard Hughes
14ef2d17c6 trivial: Fix the tests on s390x 2022-11-10 12:22:45 +00:00
Richard Hughes
f445181580 dfu-csr: Fix a critical warning when deploying firmware
The last chunk of data has zero size, and so never copy from a NULL source.

Fixes https://github.com/fwupd/fwupd/issues/5251
2022-11-10 12:10:41 +00:00
Richard Hughes
72a84c5977 trivial: Fix capsule image generation for broken locales 2022-11-09 14:02:39 +00:00
Vitaly Lubart
f385762242 igsc: Fix README.md
Intel Arc products do not require the host CSME to update Arc firmware.
Firmware updates will work on both AMD and Intel platforms.
Arc products have their own Graphics Security Control for firmware updates and
leverage existing Intel technology like the MEI interface protocol to implement
the firmware update flow.

Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
2022-11-08 14:46:05 +00:00
jinglewu
f93f5ebffa
elantp: Add support for more haptic hardware
Support ic_type 0x12 & 0x13, iap_ver 0x3 & 0x5 iap flow.
2022-11-08 11:32:56 +00:00
Richard Hughes
be8fb81103 elantp: Use fu_device_retry_full() to avoid a Coverity warning 2022-11-07 14:19:20 +00:00
chenhong
58090ffc29 Add Goodix GF3258WNC support 2022-11-07 09:18:32 +00:00
Richard Hughes
c79e14d63d Flip around the FuDeviceInstanceFlags logic
Opt-ing 'in' to each both behaviours requires less mental gymnastics compared
to having one flag inverted.
2022-11-04 13:44:23 +00:00
Aaron Armstrong Skomra
6bc1ecd615 wacom-usb: remove the use-runtime-version flag from IPS
The use-runtime-version flag was initially used with the Intuos
Pro Small (2nd-gen USB v2) to force the use of the legacy code
path. The legacy code path was required because of a bug in the
identification of the Bluetooth (I6) firmware.

It has been decided that the bug will be fixed before any fimware
changes are released, removing the need to use the legacy code path.
2022-11-03 23:26:30 -05:00