Richard Hughes
2ca843b75c
trivial: Fix self test failure on ppc64be
2022-06-26 17:28:04 -05:00
Richard Hughes
722360d468
synaptics-cape: Fix a big endian compile warning
...
The cmd_id is 16 bits wide.
2022-06-26 17:28:04 -05:00
Mario Limonciello
fb701a0426
Fix running fwupdtool security with a plugin allowlist
...
A number of plugins make assumptions that ->init() was called, but
when an allowlist is used this won't have been called.
2022-06-26 13:57:53 -05:00
Richard Hughes
b8be6daf1f
trivial: Use 'priv' for plugin private data to be consistent
2022-06-26 13:57:53 -05:00
Richard Hughes
a70d005ea3
trivial: Use a better error message disambiguate an error message
2022-06-23 21:56:06 +01:00
Mario Limonciello
030a0d51c1
trivial: quiet the modem manager error about unable to probe
...
We don't show messages in the logs about unable to probe other
device types by default, MM should be no different.
This gets rid of this message coming up every fwupd startup on a
EM05-G:
"failed to probe MM device: modem cannot be put in programming mode"
2022-06-23 14:53:58 -05: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
daniil-lunev
ab8a0533d8
Add eMMC guids to include FW version
...
Those are required if we need to re-map FW versions with quirks. Some
devices physical version number are not consecutively mapped to logical
version number.
2022-06-22 15:58:57 +01:00
Andrii Dushko
802105af7f
corsair: add HARPOON RGB Wireless mouse
2022-06-22 15:58:12 +01:00
Richard Hughes
dc1730c439
trivial: Some clang-format fixups
2022-06-22 15:55:32 +01:00
Jeremy Soller
751de3f4d2
Add System76 launch_2
2022-06-21 09:58:51 -05:00
Gaël PORTAY
299b42fe96
trivial: Make meson.build indentation consistent
2022-06-21 03:27:38 -04:00
Richard Hughes
5e899535d4
amt: Modernize the plugin and split out common functionality
...
The MEI code is soon going to be used by a new plugin, so split it
out into libfwupdplugin like we did i2c.
2022-06-21 08:10:04 +01:00
Richard Hughes
b3800609b6
Ensure FuDevice->set_progress() always sets 4 steps
2022-06-16 19:54:46 +01:00
Richard Hughes
faa7871b08
Remove duplicate ->probe() calls to speed up startup by 150ms
...
Now incorporate is fixed to copy across the properties we need in the
superclass, we don't need to do the subclass ->probe().
Note, we still need to do the subclassed ->probe() when using
FU_UDEV_DEVICE_FLAG_VENDOR_FROM_PARENT or when looking at properties
on the parent device.
This also removes the spurious 'already set GType to FuVliUsbhubDevice,
ignoring FuVliUsbhubDevice' messages when running the daemon.
2022-06-14 21:01:57 +01:00
Richard Hughes
21e3ef4347
optionrom: Reorder plugins FuDevice->probe() to speed up daemon startup
...
There's no point scanning the baseclass again if we can quickly check
if the device is valid.
2022-06-14 21:01:57 +01:00
Richard Hughes
2dc6a7ef73
Remove fu_i2c_device_read_full()
...
Just use the version with the length specified.
2022-06-14 14:36:52 -05:00
Richard Hughes
fc2da47b69
Remove fu_strtoull_full()
2022-06-14 14:36:52 -05:00
Richard Hughes
377bcb718f
Remove the 'common' prefix from the volume creation methods
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
1d9d82ebc5
Use a common prefix for CPU-specific methods
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
067d7d8088
Split out the path helpers to a new source file
2022-06-14 14:36:52 -05:00
Richard Hughes
14cc9b2064
Unexport fu_common_reverse_uint8()
...
It's only used in one little-used plugin.
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
3f77af3cd4
Split out the kernel helpers to a new source file
2022-06-14 14:36:52 -05:00
Richard Hughes
425fedcca1
trivial: Remove fu_byte_array_set_size_full()
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
Richard Hughes
3fe9c0de34
Split out the CRC and sum functions to new source files
2022-06-14 14:36:52 -05:00
Richard Hughes
0d1ba6667f
trivial: Remove a few ctags headers that snuck in
2022-06-14 17:57:38 +01:00
Richard Hughes
e60a877c46
uefi-capsule: Do not generate a capsule header for the FMP GUID
...
In theory, hardware with FMP should have fw_type=0x4 in the ESRT which
sets `_NO_CAPSULE_HEADER_FIXUP` -- but in reality that is not always
the case.
2022-06-14 14:11:26 +01:00
Sean Rhodes
6a1ceebd4c
plugins/intel-spi: Correct BIOS Control Device ( #4742 )
...
Correct the BIOS Control Device, which is should be 31.
This can be found on Intel doc numbers:
* 334819 (APL)
* 336561 (GLK)
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-06-14 09:07:48 +00:00
Gaël PORTAY
88db2a3f9e
genesys: scaler: Fix calling to parent's vfunc close()
...
This uses the internal flag FU_DEVICE_INTERNAL_FLAG_USE_PARENT_FOR_OPEN,
to fix the calling to the parent's vfunc close() (it was calling the
parent's vfunc open() on close()).
2022-06-12 08:22:57 -04:00
Gaël PORTAY
d5b7206a3a
trivial: genesys: Another nitpick round
...
See commit e6f049625e .
2022-06-12 08:22:57 -04:00
Gaël PORTAY
58102313bc
genesys: usbhub: Do not claim interface
...
This removes the claim for interface 0; and removes both vfunc open()
and close() that become useless.
Fixes https://github.com/fwupd/fwupd/issues/4730
2022-06-12 07:02:49 -04:00
Gaël PORTAY
2e719aeb94
genesys: usbhub: Remove vfunc _probe()
...
This removes the vfunc _probe() that is not used anymore.
2022-06-12 07:02:49 -04:00
Richard Hughes
182c2c8445
scsi: Allow UFS disks to define the signed status in metadata
2022-06-11 11:06:01 +01:00
Richard Hughes
b3f69c1c47
scsi: Use the SCSI target to correctly set the physical ID
...
We don't want to include the SCSI LUN in the physical ID, as this is a
logical concept not relating to the hardware device.
Use the UDev devtype to find the 'correct' parent.
2022-06-11 11:06:01 +01:00
Richard Hughes
b9172ae5c5
logitech-bulkcontroller: Reset the progress counter when required
2022-06-11 11:05:08 +01:00
Richard Hughes
9a33c96b7c
logitech-bulkcontroller: Split up two distinct progress sections
2022-06-11 11:05:08 +01:00
Richard Hughes
31275cf89a
logitech-bulkcontroller: Use fu_progress_step_done() when writing chunks
2022-06-11 11:05:08 +01:00
Richard Hughes
2b10848e57
logitech-bulkcontroller: Only move the progressbar forwards when writing
2022-06-11 11:05:08 +01:00
Richard Hughes
46f4d9b993
genesys: Add a trivial missed quirk key
2022-06-10 19:00:23 +01:00
Gaël PORTAY
d15f0b1cca
steelseries: fizz: Use fu_common_strsafe()
2022-06-10 10:07:28 -04:00
Gaël PORTAY
8d4d2f2087
steelseries: Add hid support to detect Bluetooth devices
2022-06-10 10:07:28 -04:00
Richard Hughes
619677fc3f
redfish: Also reconnect the network during BMC re-coldplug
2022-06-10 13:15:08 +01:00
Richard Hughes
b75553cb49
redfish: Be more helpful when debugging connection failures
2022-06-10 13:15:08 +01:00
Richard Hughes
09f9ea7d06
redfish: Autoconnect the Redfish network device when rebooting the BMC
2022-06-10 11:09:26 +01:00