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
9f8d75ad37
trivial: Disable the win32 msi install CI test
...
Wine 7.9 make installing and removing msi packages *intermittently*
fail, and that's now being shipped in Fedora updates. :/
2022-06-08 17:26:30 +01:00
Richard Hughes
fa1708e76f
Correctly set the progress steps when loading backends
2022-06-08 15:41:45 +01:00
Richard Hughes
314003df90
Correctly set the progress steps when loading plugins
2022-06-08 15:41:45 +01:00
Richard Hughes
0ef11aee0c
Add each USB device manually to correctly set the progress steps
2022-06-08 15:41:45 +01:00
Richard Hughes
4c3a35c842
trivial: Fix a weird win32 compile failure
...
Windows is defining `interface` as a keyword when including headers.
2022-06-08 15:41:11 +01:00
Richard Hughes
7ce625fddd
Fix windows CI using the latest meson version
2022-06-08 15:24:25 +01:00
Richard Hughes
3107bdc004
trivial: Remove no-longer-required msitools manual install step
2022-06-08 15:24:25 +01:00
Richard Hughes
114a08f0b6
Allow quirk entries to add multiple items
2022-06-08 15:15:53 +01:00
Richard Hughes
45f71b1ecc
trivial: Remove one layer of indirection when getting config keys
...
This makes it much easier to add new config keys in the future.
2022-06-08 13:41:38 +01:00
Richard Hughes
165ce50614
Revert "Speed up daemon startup by 650ms"
...
This reverts commit a7642a7b7e
.
I forgot that we need the TYPE, DRIVER and most importantly subsystem
for PossiblePlugin quirk matches. We need something more subtle.
2022-06-08 07:56:45 +01: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
Gaël PORTAY
407ce2655c
trivial: Add quirk definitions for CFI
...
This adds the missing definitions for the CFI quirks.
2022-06-08 07:56:07 +01:00
Andrii Dushko
04a1e56921
trivial: join Corsair KATAR PRO Wireles tests ( #4715 )
2022-06-07 19:05:35 +03: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
Andrii Dushko
f9781b4cb8
trivial: add device tests for Corsair devices ( #4708 )
2022-06-06 15:18:00 +03: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
Richard Hughes
09a37eedbc
Attempt to fix CircleCI build issues
2022-06-06 09:31:34 +01:00
naveen
ea395eff83
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-06 08:47:52 +01:00
dependabot[bot]
0a79a6e737
build(deps): bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:42:45 +01:00
dependabot[bot]
c58070a9b1
build(deps): bump jimschubert/query-tag-action from 1 to 2
...
Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action ) from 1 to 2.
- [Release notes](https://github.com/jimschubert/query-tag-action/releases )
- [Commits](https://github.com/jimschubert/query-tag-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: jimschubert/query-tag-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:42:25 +01:00
dependabot[bot]
77928fc4b3
build(deps): bump docker/build-push-action from 1 to 3
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 1 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:41:56 +01:00
dependabot[bot]
56201cc71d
build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.5...v0.1.6 )
---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:41:34 +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
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