Commit Graph

3338 Commits

Author SHA1 Message Date
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
Richard Hughes
05e75fd87a analogix: Fix potential division by zero when writing 2022-11-03 18:18:34 +00:00
Richard Hughes
f4637db935 fpc: Remove some dead code
Spotted by Coverity.
2022-11-03 18:16:34 +00:00
Richard Hughes
1e7d741601 Check system integrity when installing UEFI updates
Recently we had an update that changed the system-defined Platform Key, and
we've certainly had updates in the past that changed the Boot#### variables.

Store some core ACPI and UEFI system integrity state from before and after the
update which can be used to mark (waivable) test failures on the LVFS.
2022-11-03 15:51:10 +00:00
Richard Hughes
e2371a5690 igsc: Add a plugin to update some Intel discrete graphics cards 2022-11-03 13:43:54 +00:00
Richard Hughes
63aa8a5eea analogix: Devices need to be removed and re-inserted after update has completed
The device needs to switch to the new firmware bank, and no automated way
currently exists to reboot the chip.
2022-11-01 16:19:42 +00:00
Richard Hughes
3add9e8cb7 flashrom: Only use the IFD when the system is Intel-based 2022-10-31 13:47:30 +00:00
Josh Chen
7dcb9e36d2 elantp: Updating the quirks of the ABS touchpad of Chromebook
Modify the matching method from I2C\MODALIAS_ to I2C\NAME_
2022-10-31 08:57:49 +00:00
Richard Hughes
93599e316c elantp: Derive from FuI2cDevice to allow a I2C\NAME_ quirk match 2022-10-31 08:57:03 +00:00
Richard Hughes
22928ac52a analogix: Be more accurate when reporting percentage progress 2022-10-27 15:30:01 +01:00
Richard Hughes
aeb7dfe6ba trivial: Fix a -Wunused-variable compile warning 2022-10-27 15:21:18 +01:00
Benson Leung
41c434ec20 ccgx: Add Anker Thunderbolt 4 Mini Hub
This hub is based on Godzilla Creek.
VID:PID is 291A:8398
2022-10-26 23:28:08 +01:00
Benson Leung
035f1b45c0 ccgx: Add QSI's Godzilla Creek Reference Hub
Quanta Storage Inc. QSI Thunderbolt4 Godzilla Hub
It's VID:PID is 2BEF:9065
2022-10-26 23:28:08 +01:00
Sean Rhodes
01fe8bdcb2
Add new GUIDs for Star Labs laptops (#5201)
* plugins/{flashrom,superio]: Add GUIDs for StarBook Mk VI - Intel

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

* plugins/{flashrom,superio]: Add GUIDs for StarBook Mk VI - AMD

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

* plugins/{flashrom,superio]: Add GUIDs for Byte Mk I - AMD

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

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-10-26 13:48:38 +01:00
Victor Cheng
d421d3db22 usi-dock: set correct chip type before update. 2022-10-25 20:52:06 +01:00
Richard Hughes
2c321ac29b Emit a critical warning if a plugin tries to use HWIDs in ->init()
The HWIDs are only available for ->setup() and ->coldplug().
2022-10-25 10:46:29 -05:00
Richard Hughes
0bf5afaa98 dell: Fix the GError setting when querying for a TPM 2022-10-25 10:46:29 -05:00
Mario Limonciello
7ea89eea62 trivial: drop libsmbios from synaptics-mst README 2022-10-24 09:46:24 -05:00
Richard Hughes
9adac67691 dell: Use fu_memread_xxx() to make buffer parsing less scary 2022-10-24 13:58:00 +01:00
Richard Hughes
d1c6acd752 trivial: Return an error from fu_context_get_smbios_data() 2022-10-24 13:58:00 +01:00
Richard Hughes
749eb49852 dell: Fix plugin startup
The fu_context_get_smbios_data() call will not work when creating the plugin
GType, so just create the SMI object when it is needed in ->startup().

Fixes https://github.com/fwupd/firmware-dell/issues/144
2022-10-24 13:58:00 +01:00
Richard Hughes
8eca325ae2
elantp: Add ELAN hapticpad support
Co-authored-by: jingle.wu <jingle.wu@emc.com.tw>
2022-10-22 17:20:46 +01:00
Richard Hughes
06800069d4 Split out FuUefiPkDevice as a device for future use
This does not serve much purpose now, but would be useful if we need to know
more about the installed PK from other plugins. If nothing else it makes the
`--verbose` output more helpful.
2022-10-20 13:52:22 +01:00
Richard Hughes
6f129a97de Fix a compile failure when compiling without efiboot
Fixes https://github.com/fwupd/fwupd/issues/5171
2022-10-19 12:50:12 +01:00
jim.zhang
31f481518b add FPC lenfy device support 2022-10-18 12:23:27 +01:00
Richard Hughes
3a0f187a16 Move the AMT functionality to the Intel MEI plugin 2022-10-13 18:34:00 +01:00
Richard Hughes
0f8ec55f46 Add a new plugin to get more Intel ME MCA data
This allows us to get the OEM Public Key BootGuard hashes.

Also add a new HSI test for leaked bootguard keys.
2022-10-13 18:34:00 +01:00
Richard Hughes
2dea742004 Match the MEI UUID in quirk files
This allows us to be more specific when matching devices, and also means we get
more attributes 'for free' from the FuUdevDevice->probe().

This would allow us to have multiple device GTypes handling multiple MEI
interfaces in the same plugin., for instance, PTHI and MKHI.

The slight fly in the ointment is that the kernel does not set the 'dev' for
the mei_me devices, but it's always going to be just /dev/mei0, so hardcode it.
2022-10-12 13:17:42 +01:00
Richard Hughes
366e3a5668 trivial: Define the HECI GUIDs in a central place 2022-10-11 16:17:20 +01:00
Richard Hughes
14e7e1b587 Use EFI-style GUIDs when connecting the MEI interface
This means the GUID matches what the kernel exports in sysfs.
2022-10-11 16:17:20 +01:00
Aaron Skomra
413e33748d wacom_usb: Update quirks with new PID for v2 of 2nd-gen Intuos Pro Small
Wacom has added a new PID for a change in the second gen IPS
2022-10-10 16:56:34 -05:00
Dylan Van Assche
8243034311 plugins: modem-manager: assume firmware is unsigned
fwupd does not know if the firmware is signed or unsigned unless
the Quectel secureboot commands set this flag. Assume that the firmware
is unsigned by default, which is the case for most firmware unless they
have they support the secureboot AT commands. If that's the case, the
right flag will be set anyway.
2022-10-10 12:44:10 +01:00
Richard Hughes
c621c72367 vli: Set auto-parent-children flag for all USB hubs 2022-10-07 16:25:27 -07:00
Richard Hughes
2a2dddfdf0 vli: Remove the incorrect ParentGuid to prevent confusion
The daemon wants to auto-add the parent relationship from the analogix device
to the VLI device automatically, which is arguably more correct anyway.

No behaviour change, but the tree output in fwupdmgr will be reversed now.
2022-10-07 16:25:27 -07:00
Mario Limonciello
15c9cac1b0 add an rpath to things not compiled into a library
A harmless error shows up in debian packages at build time:
```
dpkg-shlibdeps: warning: cannot find library libfwupdplugin.so needed by debian/fwupd/usr/lib/x86_64-linux-gnu/fwupd-1.8.6/libfu_plugin_flashrom.so (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '')
```

This doesn't cause a functional problem because libfwupdplugin has already
been loaded by the daemon by the time these libraries are loaded.

In case the `dpkg-shlibdeps` checker becomes more stringent in the future
fix the warning.
2022-10-07 14:16:37 -05:00
Richard Hughes
b244057d4f parade-lspcon: Add the AuxDeviceName for another ChromeBox 2022-10-07 16:24:55 +01:00
Richard Hughes
4e7f04b830 parade-lspcon: Fix a small memory leak when reloading the device 2022-10-07 16:24:55 +01:00
Richard Hughes
41973568a6 uefi-capsule: Try harder when trying to find the default ESP
Look for a plausible path existing, still continuing to the first entry on
failure as before. This makes it "work" for more people out-of-the-box.
2022-10-07 15:11:38 +01:00
Richard Hughes
617137922d Add some more profiling to debug custom device GType creation
It turns out using tss2_esys is slow (200ms) -- and now we know.
2022-10-07 14:41:48 +01:00
Richard Hughes
c87cbf835a modem-manager: Fix building with -Dgusb=disabled 2022-10-07 08:04:06 -05:00