Richard Hughes
411fcbde43
trivial: Add a hardware test for the AIAIAI H05
2018-06-28 13:29:37 +01:00
Richard Hughes
e4ad057553
trivial: Add a hardware test for the 8Bitdo SF30 Pro hamepad
2018-06-28 13:29:37 +01:00
Richard Hughes
51345edf24
trivial: Rename the wacom quirk file
...
It's not Intuos specific at all.
2018-06-28 12:21:36 +01:00
Richard Hughes
a39d6a52b5
trivial: Skip plugins that require the 'Plugin' quirk is set
2018-06-28 12:17:15 +01:00
Richard Hughes
6dbe8fef34
Allow devices to assign a plugin from the quirk subsystem
...
Not calling dozens of ->probe() functions is dramatically more efficient when
there are a large number of USB devices attached.
This requires plugins to 'opt-in' to the new behaviour, and also to supply
quirks that match all devices.
2018-06-28 12:16:31 +01:00
Richard Hughes
5f3a56b0fa
Add fu_plugin_has_rule()
...
This allows us to check if a specific name exists for a given rule type.
2018-06-28 12:13:59 +01:00
Richard Hughes
9ecde4a38a
trivial: Allow setting standard FwupdDeviceFlags when getting quirk data
2018-06-28 12:08:01 +01:00
Richard Hughes
ac11be65f3
trivial: Add fu_device_has_custom_flag()
...
This splits the custom flags and checks if one of them exists.
2018-06-28 12:07:13 +01:00
Richard Hughes
63b173046d
trivial: Rename the 'plugin-hints' functionality to 'custom-flags'
...
They will be used as actual flags in the future.
2018-06-28 12:07:13 +01:00
Richard Hughes
e1d65f3f5d
trivial: Enable epel-testing for the Centos build
2018-06-27 16:48:35 +01:00
Richard Hughes
83d46b0579
Fix linker argument checks
...
Meson 0.46.0 adds has_link_argument to compiler objects, and we should use it
instead of has_argument when checking linker arguments.
2018-06-27 16:48:35 +01:00
Richard Hughes
7e43ed191d
trivial: Use the correct metainfo ID in the static metadata
...
This isn't important, but it makes it easier to understand in gnome-software.
2018-06-27 14:07:27 +01:00
Richard Hughes
83cd57f095
Fix downgrading older releases to devices
...
The requirement filter needs to be relaxed when getting the available releases
for a device when not used to install the firmware.
2018-06-27 14:07:23 +01:00
Richard Hughes
8848675f9b
trivial: Show supported device without using --show-all-devices
...
In the case of a device that is unlockable, but is not updatable we want to
show it by default.
2018-06-27 14:07:11 +01:00
Richard Hughes
cd330b09d3
trivial: include libsmbios for the Arch CI build
2018-06-27 12:52:32 +01:00
Richard Hughes
e7cd293893
trivial: Move the prefixed paths further up the meson build file
2018-06-27 12:52:04 +01:00
Richard Hughes
82747821f8
trivial: Enable bash completion in the example spec file
2018-06-27 12:52:00 +01:00
Richard Hughes
aa05cdf92c
trivial: Fix the flatpak build
2018-06-27 10:40:05 +01:00
Richard Hughes
04d6965a14
ebitdo: Do not use bootloader commands after a successful flash and reboot
...
We need to remove the flag if the quirk is not present.
Fixes the cosmetic-but-scary-looking 'failed to send to device on ep 0x01: USB
error on device 2dc8:9001 : Input/output error'.
Fixes the other half of https://github.com/hughsie/fwupd/issues/565
2018-06-26 14:12:02 +01:00
Richard Hughes
2efb992e52
Fix flashing devices that require a manual replug
...
We were looking for 'active' and 'old' devices with a specific ID. Due to a
copy and paste thinko we were actually matching the active list twice,
triggering the 'device ID was not unique' failure.
Fixes half of https://github.com/hughsie/fwupd/issues/565
2018-06-26 14:12:02 +01:00
Richard Hughes
d99190f626
wacomhid: Use the parent device name for sub-modules
2018-06-25 17:12:44 +01:00
Mario Limonciello
4910b244d1
trivial: Do not notify plugins for their "own" device registrations
2018-06-24 07:18:04 +01:00
Mario Limonciello
2d9bcf463f
trivial: uefi: update the comment for _efi_get_variable_exists
...
The commit was merged in 0b3d29d2d8
which landed in efivar 35.
2018-06-24 06:53:24 +01:00
Richard Hughes
3aec0e51ed
trivial: Branch for 1.1.x
...
Given we're planning bigger changes, it seems sensible to branch now.
2018-06-23 10:43:36 +01:00
Richard Hughes
e48351e260
Set the alternate device ID, not the object itself
...
If the daemon either de-duplicates or replaces the object passed emitted from
device-added then the object set as the alternate may not be the same instance
as the daemon version. This causes weird things to happen.
To make this less fragile, specify the *ID* of the object that should be the
alternate device, which allows the daemon to do clever things, and then assign
the object from the ID as the last step.
Although fixing no bug, this makes implementing future functionality easier.
2018-06-22 13:28:27 +01:00
Richard Hughes
1107fa4c9a
dell: Do not rely of the order the devices are added in the self tests
...
Get the TPM v2.0 and v1.2 devices explictly rather than assuming the non-alt
device is always added first. This has the side effect of making the tests
easier to read and means we can check the dock components more carefully.
2018-06-22 13:28:27 +01:00
Richard Hughes
8a6fdf8e18
dell: Don't crash when the alternate device has not been set
...
I don't think this is possible, but it's the right thing to do...
2018-06-22 13:28:27 +01:00
Richard Hughes
80b2c237c2
dell: Don't show '(null)' as the product name in the self tests
2018-06-22 13:28:27 +01:00
Mario Limonciello
303cfe0294
Move Fedora CI to fedora 28
...
This is to easily get the updated efivar 33 dependency
2018-06-22 09:59:06 +01:00
Richard Hughes
eeb8017a29
trivial: Remove unused variable in private struct
2018-06-21 21:43:21 +01:00
Richard Hughes
7039b4efe4
unifying: Fix failure to detach when using a slow host controller
...
Some USB 3.0 Host Controllers are super slow to re-enumerate, one AMD 43b9 chip
being measured at over 7000ms (!) for a simple soft-replug. This also explains
the various device_detach() failures seen on the LVFS for Logitech firmware.
2018-06-20 20:48:54 +01:00
Richard Hughes
0c5415665f
Add COMMITMENT file as part of GPL Common Cure Rights Commitment
...
This is part of more broader commitment Red Hat along with IBM, Google, and
Facebook made in November 2017.
More on this can be found online:
https://www.redhat.com/en/blog/fostering-greater-open-source-development &
https://www.redhat.com/en/about/gplv3-enforcement-statement
2018-06-18 16:09:54 +01:00
Richard Hughes
dbd8c76eb8
Run a plugin vfunc before and after all the composite devices are updated
...
Now we can update multiple devices (in multiple plugins) using one firmware
archive we need a way to cleanup after all the plugins have been run.
Fixes https://github.com/hughsie/fwupd/issues/561
2018-06-18 16:06:15 +01:00
Richard Hughes
aa1ed47f06
wacomhid: Set the device status when erasing and writing firmware
2018-06-15 13:42:52 +01:00
Mario Limonciello
5a8581e4e7
trivial: Correct the install task ordering
...
With some instrumented testing I was finding that without
FWUPD_DEVICE_FLAG_INSTALL_PARENT_FIRST being set that the parent
was installing first.
2018-06-14 16:09:57 -05:00
Richard Hughes
61ac08d6d5
trivial: Allow firmware files to select a quad version format
...
This can be used to select the AA.BB.CC.DD format rather than the default
AA.BB.CCDD format for firmware versions. This allows us to support new vendor
requirements without adding more complicated rules to the quirk file.
2018-06-14 14:56:47 +01:00
Mario Limonciello
8bda7ccae8
trivial: snap: sync up changes to master snap
2018-06-12 12:03:17 -05:00
Mario Limonciello
352f2c9b49
trivial: snap: fix bash completion
...
Since the snap is named fwupd, fwupdtool gets namespaced as
fwupd.fwupdtool so bash completion doesn't work properly.
Add a step to fixup bash completion paths
2018-06-12 12:02:41 -05:00
Mario Limonciello
71043aba39
trivial: Don't enable pkcs7 tests unless tests are enabled
...
Fixes:
src/meson.build:22:2: ERROR: Unknown variable "colorhug_pkcs7_signature".
with -Dpcs7=true, -Dtests=false
2018-06-11 14:22:08 -05:00
Mario Limonciello
cf63aecdaf
fu-engine: Don't hardcode /etc/pki/fwupd-metadata
2018-06-11 14:22:08 -05:00
Mario Limonciello
e49cce5187
trivial: snap: strip some more items out
2018-06-11 14:22:08 -05:00
Richard Hughes
0a7e590e22
wacomhid: Support more tablets
...
These are untested, but use the same HID protocol for flashing.
2018-06-11 09:04:39 +01:00
Mario Limonciello
b72aa8c813
fu-tool: Show errors if unable to access directory
...
When running in the sandbox this will make it more apparent why files
couldn't be opened.
2018-06-08 16:41:08 -05:00
Mario Limonciello
90b3be33eb
snap: use the 'home' interface to allow snap to access CABs in $HOME
...
This matches the similar flatpak commit to allow easier consumption
of CAB files manually downloaded from LVFS
2018-06-08 16:41:08 -05:00
Mario Limonciello
f8cb836d60
flatpak: Enable bind mount for xdg-download-dir ( Closes : #555 )
...
This makes it easier to install CAB files downloaded from LVFS
via your web browser.
2018-06-08 16:41:08 -05:00
Mario Limonciello
b1503e96da
trivial: debian: Add bash-completion to debian/control
2018-06-07 09:35:44 -05:00
Mario Limonciello
0fdf5aec81
trivial: debian: Correct debian copyright for license changes
2018-06-07 09:35:40 -05:00
Richard Hughes
6d645c7d2d
trivial: post release version bump
2018-06-07 13:28:59 +01:00
Richard Hughes
40a6b1f619
Release fwupd 1.0.8
2018-06-07 13:26:12 +01:00
Richard Hughes
da08b5a048
colorhug: Remove the bootloader flag when re-booting in runtime mode
...
This needs to be fixed properly, and will be addressed in a future PR.
2018-06-07 12:10:22 +01:00