Richard Hughes
c863c5dd95
trivial: Register the /org/freedesktop/fwupd resources globally
...
This means we could potentially access daemon resources from
libfwupdplugin if required.
2022-06-27 19:07:33 +01:00
Richard Hughes
0c590a7cfa
trivial: Split out the quirk->XML code for future use
2022-06-27 19:06:24 +01:00
Richard Hughes
c4cdda0b87
trivial: Do not load the GResource when not required
2022-06-27 19:06:21 +01:00
Richard Hughes
e6e0de5405
system76-launch: Wait for device to re-enumerate if unlocked and reset
...
Fixes https://github.com/fwupd/fwupd/issues/4762
2022-06-27 06:49:12 +01:00
Mario Limonciello
39c9d9dd40
trivial: arch: generate locales in the container
2022-06-27 00:26:47 -05:00
Mario Limonciello
f3e520387a
Revert "trivial: ci: switch libsystemd dependency to systemd"
...
This reverts commit f5c7f2b789
.
2022-06-27 00:18:33 -05:00
Mario Limonciello
f349ec4273
trivial: setup buildx before logging in
2022-06-26 23:18:29 -05:00
Mario Limonciello
5c6c4f20a8
trivial: revert permissions in create_containers for now
2022-06-26 21:39:58 -05:00
Mario Limonciello
aa97dff184
trivial: allow read/write to packages
2022-06-26 21:36:44 -05:00
Mario Limonciello
95eab5b7de
trivial: login to gch registry separately
2022-06-26 20:36:37 -05:00
Richard Hughes
2ca843b75c
trivial: Fix self test failure on ppc64be
2022-06-26 17:28:04 -05:00
Richard Hughes
2ff407c156
trivial: Fix a compile warning when compiling without systemd
2022-06-26 17:28:04 -05:00
Richard Hughes
722360d468
synaptics-cape: Fix a big endian compile warning
...
The cmd_id is 16 bits wide.
2022-06-26 17:28:04 -05:00
Richard Hughes
5cdb517056
Get the UDev vendor ID from the grandparent when required
2022-06-26 17:27:05 -05:00
Mario Limonciello
f0ea7e1717
trivial: upgrade/install pip, meson and markdown if necessary during setup
...
This is super important because the Ubuntu CI job publishes documentation.
2022-06-26 16:01:10 -05:00
Mario Limonciello
687ee06470
trivial: get test firmware after we install git
2022-06-26 16:01:10 -05:00
Mario Limonciello
b3014c2ebf
trivial: drop command to install dependencies in Ubuntu CI
...
it's handled by ubuntu.sh now
2022-06-26 16:01:10 -05:00
Mario Limonciello
8035b48158
trivial: move some jobs back to Ubuntu 20.04 to fix CI
2022-06-26 16:01:10 -05:00
Mario Limonciello
e828ab4d19
trivial: explicitly install python3-apt for Debian container too
2022-06-26 16:01:10 -05:00
Mario Limonciello
7e007b3bfa
trivial: add sudo for debian-i386 CI build
2022-06-26 16:01:10 -05:00
Mario Limonciello
fb701a0426
Fix running fwupdtool security with a plugin allowlist
...
A number of plugins make assumptions that ->init() was called, but
when an allowlist is used this won't have been called.
2022-06-26 13:57:53 -05:00
Richard Hughes
b8be6daf1f
trivial: Use 'priv' for plugin private data to be consistent
2022-06-26 13:57:53 -05:00
Mario Limonciello
f5c7f2b789
trivial: ci: switch libsystemd dependency to systemd
2022-06-23 16:45:06 -05:00
Richard Hughes
a70d005ea3
trivial: Use a better error message disambiguate an error message
2022-06-23 21:56:06 +01:00
Mario Limonciello
030a0d51c1
trivial: quiet the modem manager error about unable to probe
...
We don't show messages in the logs about unable to probe other
device types by default, MM should be no different.
This gets rid of this message coming up every fwupd startup on a
EM05-G:
"failed to probe MM device: modem cannot be put in programming mode"
2022-06-23 14:53:58 -05:00
Andrii Dushko
8cb70497ac
corsair: remove support for some devices
...
Vendor has decided to remove these devices from the initial supported
device list:
* SABRE RGB PRO WIRELESS Gaming Mouse
* SLIPSTREAM WIRELESS USB Receiver
2022-06-23 20:05:43 +01:00
Richard Hughes
eac80ccac3
trivial: Document the ->set_progress() vfunc
...
Fixes https://github.com/fwupd/fwupd/issues/4755
2022-06-23 14:16:54 +01:00
daniil-lunev
ab8a0533d8
Add eMMC guids to include FW version
...
Those are required if we need to re-map FW versions with quirks. Some
devices physical version number are not consecutively mapped to logical
version number.
2022-06-22 15:58:57 +01:00
Andrii Dushko
802105af7f
corsair: add HARPOON RGB Wireless mouse
2022-06-22 15:58:12 +01:00
Richard Hughes
dc1730c439
trivial: Some clang-format fixups
2022-06-22 15:55:32 +01:00
Jeremy Soller
751de3f4d2
Add System76 launch_2
2022-06-21 09:58:51 -05:00
Gaël PORTAY
c74b4ec438
trivial: Fix typo
2022-06-21 03:27:38 -04:00
Mario Limonciello
0f07fe16b1
trivial: fix arch CI build
2022-06-21 03:27:38 -04:00
Mario Limonciello
6a2637c823
trivial: fix debian CI build
2022-06-21 03:27:38 -04:00
Gaël PORTAY
299b42fe96
trivial: Make meson.build indentation consistent
2022-06-21 03:27:38 -04:00
Richard Hughes
5e899535d4
amt: Modernize the plugin and split out common functionality
...
The MEI code is soon going to be used by a new plugin, so split it
out into libfwupdplugin like we did i2c.
2022-06-21 08:10:04 +01:00
Gaël PORTAY
9b969de718
Save serial number and instance-ids when trusted
...
See commit e3016602f8
.
2022-06-20 12:57:40 -04:00
Gaël PORTAY
c73d37fc6f
Revert "fu-tool: Save device state to @LOCALSTATEDIR@/lib/fwupd/state.json on actions"
...
This reverts commit 3143bad0f5
.
2022-06-20 12:57:40 -04:00
Gaël PORTAY
97a627b54b
Cache list of devices to cache directory
2022-06-20 12:57:40 -04:00
Gaël PORTAY
2cc5449ae8
trivial: Use bash-completion facilities to get arguments
2022-06-20 12:57:40 -04:00
Gaël PORTAY
d893b80bbc
trivial: Fix missing bash-completion for firmware-read
2022-06-20 12:57:40 -04:00
Gaël PORTAY
c8987ab100
trivial: Allow mixing modifiers/parameters in bash-completion scripts
2022-06-20 12:57:40 -04:00
Gaël PORTAY
5bdbf0dd0a
trivial: Add missing comments in bash-completion scripts
...
For the sake of consistency.
2022-06-20 12:57:40 -04:00
Gaël PORTAY
4b3352e2f5
trivial: Add bash-completion for device-id
...
The four commands `get-details`, `install`, `install-blob`, and
`firmware-plugin` use device-id as second command argument but the
fwupdtool bash completion script does not completed it yet.
This calls function `_show_device_ids` to add completion for device-id
if completion the second argument of the commands mention above.
2022-06-20 12:57:40 -04:00
Gaël PORTAY
b670404127
trivial: Fix fwupdtool bash-completion script
...
The commands `attach`, `detach`, `activate`, `verify-update`,
`reinstall`, and `get-updates` calls `_show_device_ids` but that
function is not defined in the fwduptool bash-completion script.
This defines the function `_show_device_ids` by reusing the function
of the name in the fwupdmgr bash-completion script.
Fixes:
$ sudo fwupdtool attach
^-- tabulation
bash: _show_device_ids: command not found
2022-06-20 12:57:40 -04:00
Gaël PORTAY
2454753cf7
trivial: progress: Fix documentation
...
This commit cf9ebdb703
.
2022-06-20 12:00:40 -04:00
Daniil Lunev
38fb424246
Fix setting version for udev devices
...
Change-Id: I907bb3958b624ff5f887cbc192f54448354d9d5c
2022-06-17 07:03:58 +01:00
Richard Hughes
87c4163993
trivial: Fix typo when setting the parent status
2022-06-16 19:54:46 +01:00
Richard Hughes
1e31507e82
Allow front-end clients to read the Percentage property
2022-06-16 19:54:46 +01:00
Richard Hughes
b3800609b6
Ensure FuDevice->set_progress() always sets 4 steps
2022-06-16 19:54:46 +01:00