Richard Hughes
3f8c3e04d0
trivial: Include the LVFS remotes for the standalone build too
2021-06-07 22:04:17 +01:00
Richard Hughes
694e774c2a
uefi-capsule: Make less Linux-specific
...
Based on patches by Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 19:54:12 +01:00
Richard Hughes
4c734c797a
trivial: Remove some more _WIN32 defines now we have an OS split
2021-06-07 19:54:12 +01:00
Sergii Dmytruk
080129fc43
Handle bsdisks' UDisks2 implementation on FreeBSD
...
There is no Manager object, so block devices must be discovered
manually.
Additionally, Type field contains FS name rather than its MBR ID in
hex form or a GPT GUID.
Signed-off-by: Richard Hughes <richard@hughsie.com>
2021-06-07 19:54:12 +01:00
Richard Hughes
49a69fd0a2
trivial: Be smarter when trying to get the list of fuzz targets
2021-06-07 19:54:12 +01:00
Richard Hughes
d783594ea5
Make fu_common_convert_to_gpt_type() FreeBSD compatible
...
Based on a patch by Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 19:54:12 +01:00
Sergii Dmytruk
1e5aec4eb1
Correct error msg in fu_common_get_block_devices
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 11:19:30 +01:00
Sergii Dmytruk
8d5784192f
Fix formatting in fu_common_get_block_devices ()
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 11:19:17 +01:00
Sergii Dmytruk
4558e5f317
Fix two off-by-one errors in uefi-capsule plugin
...
Data is accessed at offset 0x13, so the code must abort if size is
0x13 when you can access only offsets 0x00 through 0x12.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 11:18:57 +01:00
Sergii Dmytruk
cac4f98420
Improve error message in fu-uefi-backend-freebsd
...
"not supported" doesn't explain much.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-06-07 11:18:41 +01:00
Norbert Kamiński
dbece574ee
Add FreeBSD package to the CI matrix
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-06-05 11:05:33 -05:00
Norbert Kamiński
1b396215d9
meson.build: Change python version check order
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-06-05 11:05:33 -05:00
Crag Wang
9264dc1bca
dell-dock: Add initial support for USB4 module
2021-06-04 22:31:18 -05:00
Crag Wang
d46bdb3788
trivial: fixup runtime path for fwupdtool and libraries
2021-06-04 22:31:18 -05:00
Richard Hughes
bc84f0d98e
Switch some documentation from docbook to markdown
2021-06-04 15:09:44 -05:00
Mario Limonciello
3f016787ee
trivial: add gtkdoc for more of the defines
2021-06-04 13:21:41 -05:00
Mario Limonciello
d2dd986226
trivial: disable gusb doc generation in abi job
2021-06-04 13:21:41 -05:00
8BitDo
602bf45a23
Add N30 Pro 2 gamepad
2021-06-04 06:44:32 -05:00
8BitDo
20d969cd70
Add SN30 Pro for Android firmware v2.00
2021-06-03 07:09:22 -05:00
8BitDo
f4e8bec090
Add 8BitDo SN30 for Android ( #3310 )
...
Add 8BitDo SN30 Pro for Android
Co-authored-by: 8BitDo <xuxy@8bitdo.com>
2021-06-01 23:51:34 -05:00
Mario Limonciello
599b80f1dc
fu-engine: Add support for a sibling requirement
...
This allow setting 'other-device' requirements of depth=0 to find
devices only with a common parent.
2021-05-31 10:05:41 -05:00
8BitDo
ed663623db
Add 8BitDo SN30v2 gamepad
2021-05-31 08:45:10 -05:00
xtcui
5bf354976e
Set hub2.0 as subcomponent of hub3.0
2021-05-27 18:52:00 +08:00
Richard Hughes
37a0448a99
Add FreeBSD to the CI matrix
2021-05-26 16:00:32 +01:00
Richard Hughes
e1519f394e
trivial: Do not change ABI when -Dudev=false
2021-05-26 16:00:32 +01:00
Richard Hughes
66482687f7
trivial: Move the sys/mman.h include to the right #ifdef
2021-05-26 16:00:32 +01:00
Richard Hughes
82cb7acb13
trivial: The BSD define is dunder, e.g. two underscores
2021-05-26 16:00:32 +01:00
xtcui
36066ec822
Added VID PID for Minibons device
2021-05-26 10:22:29 +01:00
Richard Hughes
03726227b7
uefi-capsule: Add FreeBSD ESRT support
...
Based on a patch by Sergii Dmytruk <sergii.dmytruk@3mdeb.com>, many thanks.
2021-05-25 17:17:45 +01:00
Richard Hughes
6c07675558
uefi-capsule: Split out the Linux specific ESRT enumeration
...
This allows us to add the same functionality for FreeBSD and Windows.
2021-05-25 17:17:45 +01:00
Richard Hughes
1113a7aa11
trivial: Allow setting FuUefiDevice properties at construction
2021-05-25 17:17:45 +01:00
Richard Hughes
1b86f9836b
trivial: Automatically call PkBackend::setup() when required
...
This reduces the amount of boilerplate in the self tests.
2021-05-25 17:17:45 +01:00
Richard Hughes
dfb46d9b56
trivial: Add fu_backend_get_devices() for future use
2021-05-25 17:17:45 +01:00
Richard Hughes
76602389ff
Export FuBackend into libfwupdplugin for future use
2021-05-25 17:17:45 +01:00
Richard Hughes
560132b0d0
trivial: Fix typo preventing FreeBSD compile
2021-05-25 12:44:55 +01:00
Richard Hughes
79bbcd792a
Store the BSD kernel cmdline string in the failure report
...
Also split out a kenv helper into common code.
2021-05-25 06:31:46 +01:00
Richard Hughes
61a4185757
Add the KernelName to the report metadata
...
Now we can flash firmware on FreeBSD this is important to collect.
2021-05-24 13:37:12 +01:00
Richard Hughes
d9f4b89f1b
Update the subprojects to the latest released versions
...
This gets us FreeBSD support for all the deps.
2021-05-24 12:53:39 +01:00
Richard Hughes
69071e14e8
trivial: Use new 8BitDo name
2021-05-24 08:59:54 +01:00
Richard Hughes
d1bf0f439b
trivial: Do not show a warning when building the libfwupdplugin introspection
...
If new enough add Xmlb into the libfwupdplugin GIR includes.
2021-05-22 14:16:42 +01:00
Matthew Eaton
b5a1d65448
Add needs-shutdown flag for Kingston vendor ID, remove wrong Kingston OUI
2021-05-22 07:48:53 +01:00
Richard Hughes
f8c3ebcafc
trivial: Fix a compile warning when there is no polkit
2021-05-21 11:33:58 -05:00
Sergii Dmytruk
d01603c2f9
Don't fail if memfd_create() is not available
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2021-05-21 17:29:17 +01:00
Richard Hughes
d7ed64b536
trivial: Actually look for GNU tar for --xform support
...
This fixes the tests on FreeBSD.
2021-05-21 17:23:11 +01:00
Richard Hughes
18333da698
trivial: Add _BSD_VISIBLE to use memmem on FreeBSD
2021-05-21 17:23:11 +01:00
Richard Hughes
3cb08d81c5
trivial: Remove unused variable from self tests
2021-05-21 15:34:21 +01:00
Richard Hughes
aced9399da
Also use the FirmwareBaseURI for the detach and update images
...
If a company has mirrored the entire LVFS repo for privacy reasons
they'll certainly want to download the images from the same place.
2021-05-20 18:51:10 +01:00
Richard Hughes
177bd86353
trivial: Fix build failure of missing fu-hash.h
...
Fixes https://github.com/fwupd/fwupd/issues/3272
2021-05-20 11:12:20 +01:00
Lars Wendler
2427b87379
analogix plugin requires gusb
...
Otherwise the following build error happens:
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:54:10: error: ‘G_USB_DEVICE_DIRECTION_HOST_TO_DEVICE’ undeclared (first use in this function)
54 | G_USB_DEVICE_DIRECTION_HOST_TO_DEVICE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:54:10: note: each undeclared identifier is reported only once for each function it appears in
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:55:10: error: ‘G_USB_DEVICE_REQUEST_TYPE_VENDOR’ undeclared (first use in this function)
55 | G_USB_DEVICE_REQUEST_TYPE_VENDOR,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:56:10: error: ‘G_USB_DEVICE_RECIPIENT_DEVICE’ undeclared (first use in this function)
56 | G_USB_DEVICE_RECIPIENT_DEVICE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c: In function ‘fu_analogix_device_receive’:
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:96:10: error: ‘G_USB_DEVICE_DIRECTION_DEVICE_TO_HOST’ undeclared (first use in this function)
96 | G_USB_DEVICE_DIRECTION_DEVICE_TO_HOST,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:97:10: error: ‘G_USB_DEVICE_REQUEST_TYPE_VENDOR’ undeclared (first use in this function)
97 | G_USB_DEVICE_REQUEST_TYPE_VENDOR,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:98:10: error: ‘G_USB_DEVICE_RECIPIENT_DEVICE’ undeclared (first use in this function)
98 | G_USB_DEVICE_RECIPIENT_DEVICE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and more...
2021-05-20 10:18:05 +01:00
Jimmy Yu
3a3a394946
pixart-rf: Fix uuid naming way
2021-05-19 16:26:17 +01:00