Commit Graph

7275 Commits

Author SHA1 Message Date
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
naveen
8e371c5ed3 chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-06 07:51:46 +01: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
cfd128a649 Break libfwupdplugin ABI so we can tidy up some vfuncs and symbols 2022-06-03 13:47:11 -05:00
Richard Hughes
106d45dede Make the API porting document more useful 2022-06-03 13:47:11 -05:00
Richard Hughes
a7642a7b7e Speed up daemon startup by 650ms
Reading properties from drm_dp_aux1 and drm_dp_aux2 took 700ms, and
we're never going to match any GUIDs as the vendor and model IDs are
both unset.
2022-06-01 15:50:13 +01:00
Richard Hughes
f14e4f8b8d trivial: Do not require an ID to finish a progress object
The function might have returned (possibly with an error set) before
fu_progress_set_id() was called.
2022-06-01 15:05:43 +01: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
Richard Hughes
65a220c718 trivial: Remove unused problem string 2022-05-30 16:27:03 +02: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
Gaël PORTAY
7bcae04650 trivial: Update Rival 3 Wireless steps to install 1.4 2022-05-27 11:19:51 -04:00
Gaël PORTAY
2f23489c6e trivial: steelseries: fizz: Add devices in bootloader mode 2022-05-27 11:19:51 -04:00
Gaël PORTAY
29ac547c43 trivial: steelseries: sonic: Adjust timings 2022-05-27 11:19:51 -04:00
Gaël PORTAY
c41c738327 trivial: steelseries: Fix progress status 2022-05-27 11:19:51 -04:00
Gaël PORTAY
41cbf8aa18 progress: Inherit status from parent 2022-05-27 11:19:51 -04:00
Klemens Nanni
9d67fecabb trivial: Typofix fwupdate(1) NAME 2022-05-27 08:54:11 -05:00
Richard Hughes
d3a371bf8e trivial: post release version bump 2022-05-27 12:16:46 +01:00
Richard Hughes
b5e7e01fc3 Release fwupd 1.8.1 2022-05-27 12:09:19 +01:00
Richard Hughes
4925fc3ba2 redfish: Fix a tiny leak when making requests 2022-05-27 11:59:28 +01:00
Richard Hughes
cc10990628 redfish: Fix a memory leak when running coldplug multiple times 2022-05-27 11:59:28 +01:00
Richard Hughes
a78f660363 Emit a critical warning when duplicating private flags 2022-05-26 11:55:32 +01:00
Richard Hughes
54a1ef4642 redfish: Do not show a warning when there is no post delay 2022-05-26 11:55:32 +01:00
Richard Hughes
15a0288141 redfish: Don't reboot the BMC for all updates
The WILDCARD_TARGETS private flag had the same value as MANAGER_RESET...
2022-05-26 11:55:32 +01:00
Richard Hughes
06e009297b Store the last-set status in the daemon
We emit to the client from the daemon, and also proxy the status from
the engine, i.e. we're setting the same property in two places.

When the client requests the last-set status, recover the value sent
from the lowest layer (the daemon) rather than the engine. The former
gets reset back to IDLE automatically, the latter does not.

Fixes https://github.com/fwupd/fwupd/issues/4649
2022-05-26 11:53:28 +01:00