Commit Graph

7316 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
Mario Limonciello
7ac253dbb8 Revert "build(deps): bump docker/build-push-action from 1 to 3"
This reverts commit 77928fc4b3.
2022-06-10 21:51:15 -05:00
Mario Limonciello
793aa9a365 Revert "build(deps): bump actions/upload-artifact from 2 to 3"
This reverts commit 0a79a6e737.
2022-06-10 21:50:45 -05: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
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