Commit Graph

3067 Commits

Author SHA1 Message Date
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
Gaël PORTAY
99f310e11a steelseries: Add datasz to fu_steelseries_device_cmd()
Additionaly, this:
 - removes the unused function fu_steelseries_device_get_transfer_size()
 - renames function fu_steelseries_device_command_error_to_error() to
  fu_steelseries_fizz_command_error_to_error()
2022-06-09 10:57:26 -04:00
Gaël PORTAY
40ba65ce28 steelseries: fizz: Fiz command size
The size of a command is 8bits long.
2022-06-09 10:57:26 -04:00
Richard Hughes
8a706b470a scsi: Call the ->probe superclass
I don't *think* it's going to add anything remarkable, but it's good to
match the other plugins.
2022-06-08 07:56:45 +01:00
Richard Hughes
79cbdd9395 scsi: Look for platform devices if there is no PCI parent 2022-06-08 07:56:45 +01: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
Gaël PORTAY
e5d489f680 genesys: Add M27fd AIM101 hardware 2022-06-07 05:42:44 -04:00
Gaël PORTAY
0fbd5e17fe genesys: scaler: Remove FuGenesysMtkFooter and XOR encryption 2022-06-06 16:32:17 -04:00
Richard Hughes
0c8079b13c redfish: Never manually modprobe ipmi-devintf
This produces startup failures on images that do not ship that exact
module, e.g. guest-images.

Just rely on the kernel driver to be auto-loaded when required.

Fixes https://github.com/fwupd/fwupd/issues/4550
2022-06-06 08:20:21 -05:00
Richard Hughes
43ed8ec7bc Remove platform-integrity plugin
The kernel module never made it upstream, and LKML has other ideas.
2022-06-06 10:03:04 +01:00
Gaël PORTAY
3063280ae8 genesys: Allow to force install even if public-key mismatch 2022-06-06 03:40:32 -04:00
Gaël PORTAY
882ab0812f genesys: scaler: Allow to specify Cfi
This allows to specify the Cfi device via the GenesysScalerCfiFlashId
quirk key.
2022-06-06 03:40:32 -04:00
Gaël PORTAY
6f7c4bb195 genesys: scaler: Check for firmware size 2022-06-06 03:40:32 -04:00
Gaël PORTAY
ace3f343fc genesys: scaler: Fix checking for CFI size 2022-06-06 03:40:32 -04:00
Gaël PORTAY
81f40da143 genesys: scaler: Increase retry timing after erase commands 2022-06-06 03:40:32 -04:00
Gaël PORTAY
0520411776 genesys: scaler: Get and set firmware address 2022-06-06 03:40:32 -04:00
Gaël PORTAY
7dca55a3fc genesys: Check for validity of public-key
The scaler may return invalid version or public-key.

This checks for the public-key by verifing if it starts with "N = " for
both devices usbhub and scaler; however, the scaler version cannot be
checked.

Note: Replug the USB-C cable is fixes the issue.
2022-06-06 03:40:32 -04:00
Gaël PORTAY
e6f049625e trivial: genesys: Several fixes and nitpicks 2022-06-06 03:40:32 -04:00
Andrii Dushko
e01abee3f4 corsair: Flush input endpoint before sending commands 2022-06-06 07:51:16 +01:00
Richard Hughes
e6b487e762 Add FuProgress to ->startup() and ->coldplug()
This allows us to profile the daemon startup so we can find any plugins
taking an inordinate amount of time to start.
2022-06-04 20:21:50 +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
Richard Hughes
f9e6aa16a3 Remove some deprecated API 2022-06-03 13:47:11 -05:00
Richard Hughes
4ee6cce9b8 Remove some duplicated unsafe API 2022-06-03 13:47:11 -05:00
Richard Hughes
d6fd08e3a5 Remove some deprecated API 2022-06-03 13:47:11 -05:00
Richard Hughes
0cbcac93cd Rename fu_udev_device_ioctl_full() as we broke ABI 2022-06-03 13:47:11 -05:00
Richard Hughes
029d2895bd Rename fu_udev_device_pread_full() as we broke ABI 2022-06-03 13:47:11 -05:00
Richard Hughes
7e62e5b0c9 Add a FuProgress to ->verify() 2022-06-03 13:47:11 -05:00
Richard Hughes
5ef0ae182d Add a 'name' attribute to each FuProgress step
This allows us to print better warning strings, and in the future
would allow us to profile each operation in a meaningful way.

Also, add context to some of the progress steps as required.
2022-06-01 15:05:43 +01:00
Richard Hughes
40aaeb384a trivial: Do not use the unset MSR ucode version
This happens in VirtualBox.
2022-06-01 14:30:33 +01:00
Gaël PORTAY
7dab90ff90 genesys: scaler: Dump the whole CFI device 2022-05-31 02:11:22 -04:00
Gaël PORTAY
46a6b74fe7 genesys: usbhub: Dump the whole CFI device 2022-05-31 02:11:22 -04:00
Gaël PORTAY
2e1b7c6438 steelseries: fizz: Rename command functions 2022-05-30 10:24:52 -04:00
Gaël PORTAY
fe3649ee6a steelseries: fizz: Add missing command definitions 2022-05-30 10:24:52 -04:00
Gaël PORTAY
87f2807dfb steelseries: fizz: Fix indentation violation 2022-05-30 10:24:52 -04:00
Gaël PORTAY
56a3632331 steelseries: fizz: Set firmware GType 2022-05-30 10:24:52 -04:00
Gaël PORTAY
4d820f0ddb steelseries: fizz-tunnel: Enable polling 2022-05-30 10:24:52 -04:00
Gaël PORTAY
0b8ff7196a steelseries: fizz-tunnel: Get battery level 2022-05-30 10:24:52 -04:00
Gaël PORTAY
8992698381 steelseries: fizz-tunnel: Wait for device connected 2022-05-30 10:24:52 -04:00
Gaël PORTAY
6190fc6830 steelseries: fizz-tunnel: Add sub-device if paired only 2022-05-30 10:24:52 -04:00
Gaël PORTAY
714983d82d steelseries: fizz: Add support for 2.4G connection 2022-05-30 10:24:52 -04:00
Gaël PORTAY
c5defa89e9 steelseries: sonic: Rewrite connect using fu_device_retry_full() 2022-05-27 11:19:51 -04:00