Commit Graph

7831 Commits

Author SHA1 Message Date
Richard Hughes
4925fc3ba2 redfish: Fix a tiny leak when making requests 2022-05-27 11:59:28 +01:00
Richard Hughes
cc10990628 redfish: Fix a memory leak when running coldplug multiple times 2022-05-27 11:59:28 +01:00
Richard Hughes
a78f660363 Emit a critical warning when duplicating private flags 2022-05-26 11:55:32 +01:00
Richard Hughes
54a1ef4642 redfish: Do not show a warning when there is no post delay 2022-05-26 11:55:32 +01:00
Richard Hughes
15a0288141 redfish: Don't reboot the BMC for all updates
The WILDCARD_TARGETS private flag had the same value as MANAGER_RESET...
2022-05-26 11:55:32 +01:00
Richard Hughes
06e009297b Store the last-set status in the daemon
We emit to the client from the daemon, and also proxy the status from
the engine, i.e. we're setting the same property in two places.

When the client requests the last-set status, recover the value sent
from the lowest layer (the daemon) rather than the engine. The former
gets reset back to IDLE automatically, the latter does not.

Fixes https://github.com/fwupd/fwupd/issues/4649
2022-05-26 11:53:28 +01:00
Richard Hughes
6c93fe8b13 trivial: Fix a tiny leak when reading archives 2022-05-26 11:49:47 +01:00
Richard Hughes
2fff75b0ac trivial: Fix a tiny leak when setting the request locale 2022-05-26 11:49:47 +01:00
Richard Hughes
be271f8213 modem-manager: Fix a small leak and critical warning on failed update 2022-05-26 10:50:54 +01:00
Richard Hughes
061b377977 modem-manager: Fix one critical warning when updating 2022-05-26 10:50:54 +01:00
Andrii Dushko
41f5b7b563 corsair: add support for new devices
* KATAR PRO XT
* SABRE PRO
* KATAR PRO WIRELESS
2022-05-26 09:21:35 +01:00
Richard Hughes
67c77d7ec1 trivial: Fix a gtk-doc warning on build 2022-05-25 09:02:50 +01:00
Mario Limonciello
ef282b699f trivial: don't require libgusb when building as a subproject on Windows 2022-05-25 07:58:20 +01:00
Richard Hughes
2319f19306 Allow a plugin to only use the RemoveDelay when waiting for replug
Only opt-in plugins that have been tested -- unconditionally enabling
this may cause regressions on devices like docks.

Fixes https://github.com/fwupd/fwupd/issues/4378
2022-05-24 19:52:04 +01:00
Richard Hughes
0ad49b444e redfish: Be more resilient when restarting the BMC 2022-05-24 14:45:56 +01:00
Richard Hughes
317887cf85 redfish: Do not print unhelpful coldplug text 2022-05-24 14:45:56 +01:00
Gaël PORTAY
bc49afec7a fu-tool: Allow to request post actions from the end user 2022-05-24 08:36:30 -04:00
Gaël PORTAY
09de8dbc0c fu-tool: Allow to request immediate actions from the end user 2022-05-24 08:36:30 -04:00
Richard Hughes
353a772e1a redfish: Use the correct key name for BMC reboot 2022-05-24 13:01:12 +01:00
Gaël PORTAY
9bd8a327d8 trivial: steelseries: Fix indentation violation 2022-05-24 06:43:02 -04:00
Gaël PORTAY
391c85ae27 trivial: Fix segmentation faults if no error set 2022-05-24 06:43:02 -04:00
Gaël PORTAY
5a0fcf5933 trivial: engine: Fix typo
This removes the word udev from the warning message to stay consistant
with the side callback fu_engine_backend_device_added_cb() that does not
mention this word either.
2022-05-24 06:43:02 -04:00
Richard Hughes
5e6ed64f68 Add X-UsbReceiver as an update category 2022-05-24 11:09:18 +01:00
Richard Hughes
636786dd6a steelseries: Fix trivial typo spotted by Coverity 2022-05-24 08:53:30 +01:00
Richard Hughes
15add57746 Do not run some tests using -Db_sanitize=address 2022-05-24 08:24:24 +01:00
Richard Hughes
80faa87447 synaptics-cape: Don't use 'dongle' to describe hardware 2022-05-23 14:56:45 +01:00
Richard Hughes
4397e9d7e0 steelseries: Don't use 'dongle' to describe hardware 2022-05-23 14:56:45 +01:00
Richard Hughes
baed98edff logitech-hidpp: Don't use 'dongle' to describe hardware 2022-05-23 14:56:45 +01:00
Richard Hughes
06b9eb8294 dell: Don't use 'dongle' to describe hardware 2022-05-23 14:56:45 +01:00
Richard Hughes
6058f67d19 corsair: Don't use 'dongle' to describe hardware 2022-05-23 14:56:45 +01:00
Richard Hughes
f16560b705 Add device icon usb-receiver 2022-05-23 14:56:45 +01:00
Richard Hughes
4ffa70032f steelseries: Fix a trivial flag issue 2022-05-23 14:13:17 +01:00
Gaël PORTAY
7f7d2759a7 trivial: Update with recent steelseries changes
This fixes the commits 7eb053e97a and
9a5c69417a.
2022-05-23 14:09:03 +01:00
Richard Hughes
4df0d2176b trivial: Fix docstring for fu_archive_write() 2022-05-22 11:28:25 +01:00
Richard Hughes
9a5c69417a steelseries: Add is-dongle as a private flag
This allows us to remove quite a bit of code.
2022-05-22 10:43:34 +01:00
Richard Hughes
7068233bf9 steelseries: Add FuSteelseriesDevice as a shared baseclass
This deduplicates a lot of code.
2022-05-22 10:43:34 +01:00
Richard Hughes
7eb053e97a steelseries: Rename FuSteelseriesDevice to FuSteelseriesMouse
Also, convert it to a FINAL class.
2022-05-22 10:43:34 +01:00
Gaël PORTAY
12279b5165 trivial: util: Fix trailing space 2022-05-22 04:02:32 -04:00
Gaël PORTAY
f427a3e327 steelseries: sonic: Allow to read firmware 2022-05-21 16:09:09 -04:00
Gaël PORTAY
f862b8c9f3 trivial: Fix typos 2022-05-21 13:49:36 -04:00
Gaël PORTAY
f64783a75b trivial: Rename local that is not related to firmware 2022-05-21 13:49:36 -04:00
Gaël PORTAY
e6b01cbb18 archive: Add writing support 2022-05-21 08:21:55 -04:00
Richard Hughes
36176c5b07 trivial: Fix one -Wunused warning in some new code 2022-05-21 12:19:50 +01:00
Richard Hughes
5ceabcda1a trivial: Remove the class structs for types that use G_DECLARE_FINAL_TYPE 2022-05-21 12:19:50 +01:00
Gaël PORTAY
509010c10d trivial: Add device-test for Steelseries Aerox 3 Wireless 2022-05-20 12:54:00 -04:00
Gaël PORTAY
10f6f249b0 steelseries: Add support for Aerox 3 Wireless 2022-05-20 12:54:00 -04:00
Richard Hughes
2db224627c Do not leave the daemon in 'decompressing' state
Always return to IDLE even in event of an auth error.

Fixes https://github.com/fwupd/fwupd/issues/4649
2022-05-20 14:19:13 +01:00
Richard Hughes
519e80b1ee Allow clients to opt-in to showing updates with user-solvable problems
When typing 'fwupdmgr get-updates' show the updates that *could* be
installed if the problem was resolved.

Do not unconditionally do this, as some clients such as gnome-software
assume that all updates returned by GetUpdates() are updatable with
Install() -- and in a GUI we only want to show the updates we can apply
*right now*. When the problem is removed (e.g. AC power is connected)
the GUI client will notify the user as required, unlike a CLI tool.

Fixes https://github.com/fwupd/fwupd/issues/4629
2022-05-20 13:20:33 +01:00
Richard Hughes
aadf8c07c7 trivial: Watch the FwupdDevice problems in the engine
This ensures we refresh the UI when problems are added or removed.
2022-05-20 10:54:34 +01:00
Chang Po-Hung
9e0a647bb4 Add new device support pixart-rf 2022-05-20 09:53:48 +01:00