Richard Hughes
f4c0c7fe01
corsair: Fix two g_prefix_error() typos
2022-07-21 15:28:24 +01:00
Richard Hughes
b8a5f4945f
corsair: trivial: Do not set the physical ID, as it's also set by _add_child()
2022-07-21 15:28:24 +01:00
Richard Hughes
b507f3af59
corsair: trivial: Style fix
2022-07-21 15:28:24 +01:00
Richard Hughes
470258ac24
corsair: Use hex format constants
...
This means it's easier to match up with the verbose logs.
2022-07-21 15:28:24 +01:00
Richard Hughes
ab9f27e6db
Add a precommit script to check for missing GObject finalizers
2022-07-11 11:16:47 +01:00
Richard Hughes
3391845660
corsair: Fix trivial -Wformat issue
2022-07-11 09:53:36 +01:00
Richard Hughes
726a85d5d9
corsair: Fix trivial -Wunused-variable issue
2022-07-11 09:52:46 +01:00
Richard Hughes
a61bb37881
Build the quirk files into the daemon as a GResource
...
Interestingly, this increases the `fwupd` binary size by ~30kb but
reduces the installed size of /usr/share/fwupd/quirks.d by ~330kb.
2022-06-30 18:52:24 +01:00
Andrii Dushko
8cb70497ac
corsair: remove support for some devices
...
Vendor has decided to remove these devices from the initial supported
device list:
* SABRE RGB PRO WIRELESS Gaming Mouse
* SLIPSTREAM WIRELESS USB Receiver
2022-06-23 20:05:43 +01:00
Andrii Dushko
802105af7f
corsair: add HARPOON RGB Wireless mouse
2022-06-22 15:58:12 +01:00
Gaël PORTAY
299b42fe96
trivial: Make meson.build indentation consistent
2022-06-21 03:27:38 -04:00
Richard Hughes
b3800609b6
Ensure FuDevice->set_progress() always sets 4 steps
2022-06-16 19:54:46 +01:00
Richard Hughes
fc2da47b69
Remove fu_strtoull_full()
2022-06-14 14:36:52 -05:00
Richard Hughes
4105768a01
Remove the 'common' prefix when parsing version numbers
2022-06-14 14:36:52 -05:00
Richard Hughes
3e0a4dc1c3
Be smarter and include less header files per source file
2022-06-14 14:36:52 -05:00
Richard Hughes
7f86ffab6f
Split out the dump helpers to a new source file
2022-06-14 14:36:52 -05:00
Richard Hughes
ed1b13da28
Split out the memory helpers to a new source file
2022-06-14 14:36:52 -05:00
Richard Hughes
4b1313b406
Split out the GByte helpers to a new source file
2022-06-14 14:36:52 -05:00
Richard Hughes
9d33c29e92
Split out the string helpers to a new source file
2022-06-14 14:36:52 -05:00
Andrii Dushko
4b242efe91
corsair: improve subdevice handling
...
* add IN endpoint flushing for a subdevice
* don't check for a subdevice if in bootloader mode
* add delay for a first subdevice check to prevent unneeded polling
2022-06-07 17:09:26 +03:00
Andrii Dushko
e01abee3f4
corsair: Flush input endpoint before sending commands
2022-06-06 07:51:16 +01:00
Richard Hughes
dc91d59f8e
Remove the recently added fu_progress_add_step_full()
...
Just break API instead.
2022-06-03 13:47:11 -05: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
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
5ceabcda1a
trivial: Remove the class structs for types that use G_DECLARE_FINAL_TYPE
2022-05-21 12:19:50 +01: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
c38be3aca6
corsair: Use correct format specifier in error message
2022-04-23 10:28:16 +01:00
Andrii Dushko
47381ba54a
Add a plugin for Corsair devices
...
Supported devices:
* SABRE RGB PRO WIRELESS
* SLIPSTREAM WIRELESS USB Receiver
2022-04-08 12:52:08 +01:00