Commit Graph

9606 Commits

Author SHA1 Message Date
Tatsunosuke Tobita
27daa7d7f8 plugins/wacom-raw: Add several Lenovo products
wacom-raw is required to support several Lenovo products.
Therefore, some items have been added to "wacom-raw.quirk".

Signed-off-by Tatsunosuke Tobita <tatsunosuke.tobita@wacommfg.corp-patner.google.com>
2022-04-25 20:32:48 -05:00
Richard Hughes
9a49a4f030 gpio: Return the correct error when there is no device to open 2022-04-25 20:32:48 -05:00
Richard Hughes
c5cd0e164a trivial: Actually open the GPIO device before querying the chipinfo
Set the GPIO open flags as without the fd is not opened.

Fixes https://github.com/fwupd/fwupd/issues/4388
2022-04-25 20:32:48 -05:00
Sean Rhodes
4cbb886158 plugin/flashrom: Add GUIDs for StarLite's (#4392)
* HwId for StarLite Mk IV
* coreboot GUID for StarLite Mk IV
* HwId for StarLite Mk II (under coreboot)
* coreboot GUID for StarLite Mk II

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-04-25 20:32:48 -05:00
Richard Hughes
91d9fd62df trivial: Remove some long dead docs about fu_plugin_device_add_delay() 2022-04-25 20:32:48 -05:00
Richard Hughes
cbeda4e39c Do not leak child processes when cancelling
See https://github.com/fwupd/fwupd/pull/4372
2022-04-25 20:32:48 -05:00
Mario Limonciello
4ee4197ecc trivial: dell-dock: set package version payload as unsigned
This payload is just 24 bytes with no signature.  It's used as a manifest
to verify that all firmware is installed.
2022-04-25 20:32:48 -05:00
Richard Hughes
21b89b6455 mtd: Allow the metadata to set the signed payload flag 2022-04-25 20:32:48 -05:00
Richard Hughes
155d4cd9b5 logitech-hidpp: Add support for M550, M650 and K650 2022-04-25 20:32:48 -05:00
Richard Hughes
dd63a2dcee trivial: Don't leak the string even on critical failure
Not totally sure this is worthwhile, but it triggered a failure in the
RHEL tests we do - and it's less work to fix it than argue.
2022-04-25 20:32:48 -05:00
Richard Hughes
329ae33d77 uefi-dbx: No not allow the DBX update for specific motherboards
This list of hardware is provided by Microsoft.
2022-04-25 20:32:48 -05:00
Sean Rhodes
5eec44b844 plugin/flashrom: Add MaxSize quirk for Lite II and III (#4362)
Add FirmwareSizeMax = 0x800000 for StarLite Mk II and Mk III to allow
switching from AMI to coreboot firmware.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-04-25 20:32:48 -05:00
Richard Hughes
7ec58ab299 Do not use /var/run for the socket
The FHS says to use /run everywhere now, so use that to avoid confusion.
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html
2022-04-25 20:32:48 -05:00
Richard Hughes
b02236e830 Do not hardcode the libexecdir to /usr/libexec
Fixes https://github.com/fwupd/fwupd/issues/4360
2022-04-25 20:32:48 -05:00
Richard Hughes
418dce105d usi-dock: Mark as signed payload 2022-04-25 20:32:48 -05:00
Richard Hughes
691c834a89 trivial: Make clear sizes are in hex 2022-04-25 20:32:48 -05:00
Richard Hughes
439147a31a trivial: Add signed flag for Samsung NVMe devices 2022-04-25 20:32:48 -05:00
Richard Hughes
21dff35576 goodix-moc: Mark as signed payload 2022-04-25 20:32:48 -05:00
Richard Hughes
341f87596f dfu: Mark various Poly products as signed and unsigned 2022-04-25 20:32:48 -05:00
Richard Hughes
bd1d10c73f cros-ec: Mark as signed payload 2022-04-25 20:32:48 -05:00
Richard Hughes
4835fd5257 trivial: Fix up branched RELEASE file 2022-04-25 20:32:48 -05:00
Richard Hughes
0c7f5d76c4 trivial: Disable snap and doc deployment for 1_7_X 2022-04-25 20:32:48 -05:00
Richard Hughes
a240a21bc2 trivial: Clarify the unit for the device remove delay 2022-04-25 20:32:48 -05:00
Richard Hughes
c9bbcfb71c vli: Do not probe devices with the firmware reference VID and PID
But, leave the products with the VIA VID, but a non-default PID.

Fixes https://github.com/fwupd/fwupd/issues/4352
2022-04-25 20:32:48 -05:00
Richard Hughes
43d8b235e7 Show devices that are updatable and payload signing is still unknown
But, ignore devices like UEFI, NVMe and Redfish as this is specified in
the firmware metadata.
2022-04-25 20:32:48 -05:00
Richard Hughes
f126d5d85c vli: Mark the MSP430 as unsigned-payload 2022-04-25 20:32:48 -05:00
Richard Hughes
5bd51f62dd synaptics-cxaudio: Use a more standard instance ID for the chip 2022-04-25 20:32:48 -05:00
Richard Hughes
db8de67024 intel-spi: Use a more standard instance ID for the chipset 2022-04-25 20:32:48 -05:00
Richard Hughes
6516aa556f intel-spi: Use a more standard instance ID for the IFD 2022-04-25 20:32:48 -05:00
Richard Hughes
5eb7fdd890 uefi: Do not add the Windows compat ID
This is just confusing vendors and doesn't match any of the other IDs.
2022-04-25 20:32:48 -05:00
Richard Hughes
0a4f29373a emmc: Use more standard Instance ID values 2022-04-25 20:32:48 -05:00
Richard Hughes
1330e259fa ccgx: Be more precise when adding the instance ID
All the existing quirks are luckily 4 digits already, but this might
not always be true in the future.
2022-04-25 20:32:48 -05:00
Mario Limonciello
e83928220d trivial: set makensis as mandatory for windows 2022-04-25 20:32:48 -05:00
Mario Limonciello
1787991200 trivial: simplify error message for gidocgen needing introspection 2022-04-25 20:32:48 -05:00
Mario Limonciello
bfcfe9de85 trivial: drop unnecessary HAVE_THUNDERBOLT config 2022-04-25 20:32:48 -05:00
Mario Limonciello
4f3cb4c84a trivial: add a CI target for openbmc
We want a build that does -Dauto_features=disabled to make sure
it works properly.
2022-04-25 20:32:48 -05:00
Mario Limonciello
c18f15aa67 trivial: Add libqrtr-glib-dev to build dependencies
It's needed in debian unstable now for Modem Manager plugin
2022-04-25 20:32:48 -05:00
Richard Hughes
221af0580a trivial: post release version bump 2022-04-25 20:32:48 -05:00
Mario Limonciello
f818404d81 trivial: debian: set up fwupd-refresh.service/fwupd-refresh.timer
Create a dedicated user account for these to use, and set the preset
to leave it as enabled by default.

Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Mario Limonciello
5d22db02ec trivial: Add a new configuration option systemd_unit_user
This option will control what user the fwupd-refresh.service unit
uses.
2022-04-25 14:06:04 -05:00
Mario Limonciello
0c9ac226c9 trivial: disable the preset for fwupd-refresh.timer as well
Until systemd fixes this issue we don't want the fwupd-refresh.timer
to be running unless a distro has disabled DynamicUser and made a
static user.

Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Richard Hughes
debe9a51a3 Make the security policy reflect reality 2022-04-25 18:14:14 +01:00
Richard Hughes
31907e6863 Add a sanity check when trying to refresh a non-download remote 2022-04-25 15:47:20 +01:00
Richard Hughes
97b33f3472 Use a more suitable icon for USB hubs 2022-04-25 14:49:30 +01:00
Richard Hughes
b7bf0a7611 Do not fallback to audio-card
Let the frontend choose the most appropriate icon if unspecified.
2022-04-25 14:49:30 +01:00
PatriciaJonsson
0570829981
dfu: Add support for FlatFrog devices 2022-04-25 10:36:27 +01:00
Richard Hughes
c1d67be0a5 genesys: Fix a potential buffer overread spotted by Coverity
overrun-buffer-arg: Overrunning array buf of 64 bytes by passing it to
a function which accesses it at byte offset 65 using argument len + 3UL
2022-04-25 07:03:26 +01:00
Wei-Luan Wang
a87b2c901a Install D-Bus introspection data even if introspection is disabled
According to the D-Bus API Design Guidelines, the D-Bus interface files
for public API should be installed so that other services can load them.
2022-04-24 18:39:29 +01:00
Richard Hughes
57af867fab trivial: Fix example downstream spec file 2022-04-23 11:35:33 +01:00
Richard Hughes
492563d5f2 trivial: Ignore the return value of g_strlcpy() when safe 2022-04-23 10:30:50 +01:00