Commit Graph

2994 Commits

Author SHA1 Message Date
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
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
f427a3e327 steelseries: sonic: Allow to read firmware 2022-05-21 16:09:09 -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
10f6f249b0 steelseries: Add support for Aerox 3 Wireless 2022-05-20 12:54:00 -04:00
Chang Po-Hung
9e0a647bb4 Add new device support pixart-rf 2022-05-20 09:53:48 +01:00
Richard Hughes
8ebad4ea75 Specify an enumerated problem when inhibiting devices
This allows us to make smarter policy decisions in the future on when
to show unavailable updates. It also means we can show translated
text in the frond-end clients.

Only problems the user can "fix" are enumerated. For example, opening
the laptop lid, or charging the device battery.
2022-05-19 13:09:03 -05:00
Richard Hughes
21774cb228 trivial: Remove some dead code in the scsi plugin 2022-05-18 13:19:18 +01:00
Ryan Lee
a0ba6a612e ccgx: add Lenovo USB-C dock to the quirk file 2022-05-18 01:43:48 -05:00
Richard Hughes
679628c091 Move the battery attributes down into libfwupd
This allows us to show the current value and the threshold on the CLI
and in tools like gnome-firmware.
2022-05-18 07:16:07 +01:00
Gaël PORTAY
3e00d0269e trivial: steelseries: Rename Proton to Status+ 2022-05-17 16:52:42 +03:00
Gaël PORTAY
d802f469e2 trivial: steelseries: gamepad: Remove duplicated local
The local and the parameter are duplicated variables for the same
object.
2022-05-17 16:52:42 +03:00
Gaël PORTAY
47a6341676 trivial: steelseries: Group quirks by device 2022-05-17 16:52:42 +03:00
Gaël PORTAY
efe0a1ef3f trivial: steelseries: Update README.md 2022-05-17 16:52:42 +03:00
Gaël PORTAY
508922c20c steelseries: Add support for Rival 3 Wireless 2022-05-17 05:17:35 -04:00
Mario Limonciello
48544bd2ac trivial: skip mtd tests if not working off mtdram test device
(LP: #1973598)
2022-05-16 11:22:30 -05:00
Richard Hughes
1846b36fb2 dfu: Fix a trivial memory leak introduced in the last commit 2022-05-12 11:58:22 +01:00
Richard Hughes
3047ed1517 dfu: Set the DfuDevice as a proxy to the DfuTarget
Set the alt_name_for_display as the target name and use the logical ID
as the target alt-name. This allows us to use the ->to_string() vfunc.
2022-05-12 08:38:18 +01:00
Chen HungNien
5bc1b60bf0 [fwupd:dfu] Update dfu quirk file for SPIT pccam's chips 2022-05-12 08:36:46 +01:00
Richard Hughes
909907455e colorhug: Add the bootloader VID/PID used for the first batch of devices 2022-05-11 12:34:59 +01:00
Richard Hughes
a826f0134a colorhug: Never set a NULL version when the FW inface data is NULL
This fixes updating from ColorHug(1) devices on old firmware versions,
but doesn't affect ColorHug2.
2022-05-11 12:34:59 +01:00
Richard Hughes
861881691e trivial: Fix -Wunused-variable compile warning 2022-05-10 13:12:10 +01:00
Richard Hughes
2870426958 trivial: Fix a critical warning when no flashrom devices are found 2022-05-10 10:39:04 +01:00
Richard Hughes
7d89e85de5 scsi: Support updating firmware on UFS devices
Change-Id: I5573b1890135d1fd3b2f0cb8f95f74cbb3e21abe
2022-05-10 08:20:06 +01:00
Mario Limonciello
118cfd285b trivial: disable bios plugin for Win32 2022-05-09 15:54:51 -05:00
Richard Hughes
d3d7cfa816 Add plugin quirk keys earlier in the startup process
This allows creating the silo when starting the engine with custom
plugin keys such as WacomI2cFlashBaseAddr.

If we move the plugin initialization earlier then we don't get the
HwID matches, so we really do have to split this into a 4-stage startup,
e.g. ->load(), ->init(), ->startup() and ->coldplug().
2022-05-09 11:13:52 +01:00
Richard Hughes
5aefc520b6 redfish: Poll less frequently during cleanup
The BMC can take more than 30 minutes to start (!) if lots of devices
are installed.
2022-05-09 11:00:18 +01:00
Richard Hughes
e90367d854 redfish: hardcode the filedata name to firmware.bin
Unbelievably, using a filename with spaces causes Lenovo XCC to return a message
with InternalError, 'The request failed due to an internal service error.
The service is still operational.'

As we're using a multipart update rather than a legacy HttpPushUriTargetsBusy
PATCHing, hardcoding should be quite safe.
2022-05-09 11:00:18 +01:00
Richard Hughes
fb93b6c51c redfish: Do not mark all updates as UPDATABLE 2022-05-09 11:00:18 +01:00
Richard Hughes
5ebcfa909c redfish: Use actual FuProgress steps for ->cleanup() 2022-05-09 11:00:18 +01:00
Richard Hughes
f0ef6ae05f scsi: Rearchitect the plugin to match a block device
This makes it match the eMMC and SATA plugins, and means we can more easily
walk up to the parent SCSI controller, rather than trying to find the correct
block child.

No functional changes, other than now we also read the disk serial number, and
use one less udev subsystem match.
2022-05-09 07:05:08 +01:00
Mario Limonciello
2232ba2c4c trivial: uefi-recovery: don't build on Windows 2022-05-05 15:38:43 -05:00
Mario Limonciello
1c38d02367 trivial: lenovo-thinklmi: disable plugin build outside linux 2022-05-05 11:51:22 -05:00
Richard Hughes
9f584a234a flashrom: Allow dumping firmware using fwupdtool 2022-05-04 14:10:18 +01:00
Richard Hughes
c0bdb8dd7a flashrom: Only set the BIOS size if not already quirked 2022-05-04 11:11:23 +01:00
Richard Hughes
5ac8594d92 flashrom: Use more ideomatic GLib style 2022-05-04 11:11:23 +01:00
Richard Hughes
539413ca51 parade-lspcon: Fix regression when probing PS175 devices
Fixes https://github.com/fwupd/fwupd/issues/4580
2022-05-02 22:19:38 +01:00
ChangHee (Ryan) Lee
310a513e35
ccgx: modify quirk for HP 2022-04-29 16:55:27 +01:00
Richard Hughes
f81a3e671e synaptics-mst: Read the fw-size in a more safe way 2022-04-28 14:20:13 +01:00
Richard Hughes
beb49d7ac0 trivial: Add fu_common_read_uint24() helper for future code 2022-04-28 14:18:30 +01:00
Richard Hughes
2b81290829 synaptics-prometheus: Add a sanity check to fix a fuzzing failure
Fixes https://oss-fuzz.com/testcase-detail/6232454836387840
2022-04-28 07:24:00 +01:00
Richard Hughes
f5bbd744f5 wacom-usb: Fix a timeout when parsing very corrupt firmware
Fixes https://oss-fuzz.com/testcase-detail/5797345020739584
2022-04-28 07:24:00 +01:00
ChangHee (Ryan) Lee
89cfe97625
ccgx: Fix failure to replug 2022-04-27 12:03:16 +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