Commit Graph

3318 Commits

Author SHA1 Message Date
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
Richard Hughes
3043c1d68f ccgx: Fix building with -Dgusb=disabled 2022-10-07 08:04:06 -05:00
Haowei Lo
96e832bd02 FPC: Increase max firmware size to 400KB 2022-10-06 13:32:00 +01:00
Kai Michaelis
6054d09f35
redfish: Implement updates for Supermicro machines 2022-10-06 12:49:49 +01:00
Richard Hughes
3f6f35d8c6 trivial: Fix two more plugin names 2022-10-05 12:46:04 +01:00
Richard Hughes
1c3c5d9892 Allow optionally translating request messages
Also add two more request IDs to make these specific enough to be useful.
2022-10-03 20:54:24 +01:00
Richard Hughes
1f8d3b61bb linux-tainted: Fix a daemon warning if the daemon has disabled the plugin 2022-10-03 09:34:20 +01:00
Richard Hughes
1f261ba283 Rename the source file and private data of modular plugins
This would allow us to convert more easily to a built-in plugin in the future
and means we match the source style used in 97% of the other plugins.

No logic changes.
2022-09-30 15:20:23 +01:00
Richard Hughes
fc3cfbad92 Do not check the build hash of modular plugins
We removed the abilty to easily build modular plugins, and so we don't need to
worry so much about random 3rd party modules being loaded.
2022-09-30 14:19:56 +01:00
Richard Hughes
52e9885c87 Use a higher compression preset for the UEFI splash images
This reduces the size of the archive by ~500Kb at the expense of taking a few
seconds more to compress.
2022-09-30 12:48:20 +01:00
Richard Hughes
edcdd44795 trivial: Enable all the builtin plugins
Fixes https://github.com/fwupd/fwupd/pull/4836
2022-09-30 12:30:11 +01:00
Richard Hughes
842f32b209 trivial: Fix a few more plugin names 2022-09-30 12:28:20 +01:00
Richard Hughes
a484eb769f trivial: Remove unused source file 2022-09-30 12:07:41 +01:00
Ivan Mikhanchuk
b170bc348e modem-manager: check driver name instead of bus type
Firmware update mechanism depends on the bus and driver type.
Since USB devices can be sitting on the PCI bus, use driver names
comparison instead of physical ids.
2022-09-30 12:04:40 +01:00
Richard Hughes
e8de491030 trivial: Do not require fu-hash.h for builtin plugins 2022-09-30 10:36:12 +01:00
Mario Limonciello
23747cccbc trivial: fix dfu-tool linking 2022-09-29 11:04:38 -05:00
Richard Hughes
75e3c4e8ac trivial: Use the existing plugin objects in dbxtool 2022-09-29 12:32:53 +01:00
Richard Hughes
9648eac936 trivial: Use the existing plugin objects in fwupdtpmevlog 2022-09-29 12:32:53 +01:00
Richard Hughes
b85f36ceb3 trivial: Use the existing plugin objects in fwupdate 2022-09-29 12:32:53 +01:00
Haowei Lo
653b1b67e5 dfu: Ignore FPC fingerprint readers 2022-09-28 21:46:22 +01:00
Richard Hughes
c8e0f2c475 dfu: Use more standard string parsing for DfuForceVersion 2022-09-28 21:46:22 +01:00