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
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
a4906010d6
Add a way to read the device firmware in fwupdtool
...
In most cases 'fwupdtool firmware-dump' and 'fwupdtool firmware-read'
are going to be the same. This isn't true in all cases, especially when
dealing with composite firmware like archives.
See https://github.com/fwupd/fwupd/pull/4623#issuecomment-1129227133
2022-05-19 09:29:44 +01:00
Richard Hughes
09c703638f
trivial: Pass the FwupdClient to fu_util_device_to_string()
...
This will be useful for future code that needs the system state for
translated messages, e.g. system battery level.
2022-05-18 15:03:00 -05:00
Richard Hughes
714a87771d
trivial: Use FwupdClient in fu_util_print_tree()
...
This allows us to print the tree title without generating it from the caller.
2022-05-18 15:03:00 -05:00
Richard Hughes
c9dd8cb256
trivial: Make the FwupdClient host properties RW
...
We'll need this for future functionality when using client in fwupdtool.
2022-05-18 15:03:00 -05:00
Richard Hughes
31c1d03ebc
trivial: Fix a gi-docgen warning with the latest version
2022-05-18 13:20:47 +01:00
Richard Hughes
21774cb228
trivial: Remove some dead code in the scsi plugin
2022-05-18 13:19:18 +01:00
Lukas Märdian
8702600928
debian: debci: don't stderr-fail the autopkgtest on modprobe error
...
it's optional as tests can be skipped, if mtdram module isn't there
Signed-off-by: Lukas Märdian <slyon@ubuntu.com>
2022-05-18 06:56:02 -05:00
Ryan Lee
a0ba6a612e
ccgx: add Lenovo USB-C dock to the quirk file
2022-05-18 01:43:48 -05:00
Gaël PORTAY
d7ffd821ff
bluetooth: Set version if REV has been set
2022-05-18 02:23:59 -04:00
Richard Hughes
91f23d67ab
Export the system battery levels on the D-Bus interface
2022-05-18 07:16:07 +01: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
Richard Hughes
f06061701c
Allow setting the quirk ID from the quirk entry
...
Allow the admin to override the inhibit(s) on devices using a similar
format to the other kvs. For instance, setting two different quirks and
clearing another could be done using:
Quirk = usb-blocked:Device defective,needs-reboot:Reboot system,not-authorized:
This also allows unsetting the quirk, which was impossible before as
`@value` was always non-NULL.
2022-05-17 16:54:01 +01:00
Lukas Märdian
16ef6a3a4a
debian: debci: load the 'mtdram' module, to make it execute the mtd-self-test
2022-05-17 08:57:05 -05: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
788d26cc72
trivial: Add device-test for Steelseries Rival 3 Wireless
2022-05-17 09:49:17 -04:00
Gaël PORTAY
508922c20c
steelseries: Add support for Rival 3 Wireless
2022-05-17 05:17:35 -04:00
Richard Hughes
3c30072b77
trivial: Use the packaged version of gi-docgen in Fedora CI
2022-05-17 09:46:17 +01:00
Richard Hughes
4a46376137
Always be arch-explicit for OS deps, harder
...
This fixes d8ba0bd178
to also add the
variant when the package name is not specfied.
Fixes https://github.com/fwupd/fwupd/issues/4636
2022-05-17 09:46:17 +01: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
7b806dbb2a
Pass the socket address when setting up the daemon
2022-05-14 20:47:50 +01:00
Richard Hughes
065b2a33f4
Use StartServiceCtrlDispatcherA for the daemon on Windows
2022-05-14 20:47:50 +01:00
Richard Hughes
0f89c48556
Build a dummy event message file for Windows
...
This means we don't get the 'No description found, please repair'
message when viewing messages in the Windows Event Viewer.
2022-05-13 15:08:39 +01:00
Richard Hughes
7ce3820b07
Use exe_wrapper = '/usr/bin/wine' when cross-compiling
...
This should probably move to /usr/share/mingw/toolchain-mingw64.meson
and this patch can be reverted when that happens.
2022-05-13 14:50:03 +01:00
Richard Hughes
e185475fd4
Log errors and warnings to the win32 eventlog
2022-05-12 14:13:43 -05:00