Richard Hughes
0fb485e434
Raise the client timeout value from 25 seconds
...
When coldplugging expensive servers with a huge number of Redfish
devices it takes about 30 seconds to start fwupd while we wait for the
BMC to return results.
2021-10-08 17:22:45 +01:00
Richard Hughes
3f82205062
Support loading remotes from /var/lib/fwupd/remotes.d
...
This allows us to add remotes on /etc immutable systems.
2021-10-08 17:22:24 +01:00
Richard Hughes
1669f532be
trivial: Move the metadata directory
...
This moves the cached metadata location from /var/lib/fwupd/remotes.d
to /var/lib/fwupd/metadata
The former was a bad name as it wasn't a list of remotes, and .d is the
suffix for directories the user can install files into, rather than for
binary content managed entirely by the daemon.
2021-10-08 17:22:24 +01:00
Richard Hughes
20a1b12afe
trivial: Ensure paths in /var exist before starting the daemon
...
On an immutable system these might have been factory reset to empty.
2021-10-08 17:22:24 +01:00
Richard Hughes
d081db775a
Allow specifying 'fwupdmgr device-test foo --json'
...
This outputs a superset of the existing device-test JSON schema, and is
designed to be read my a machine, not a human.
2021-10-08 17:22:06 +01:00
Richard Hughes
6d121d0163
trivial: Do not show progressbars when running with --json
2021-10-08 17:22:06 +01:00
Ricky Wu
0c0ff534bf
rts54hid: Use correct PID for test device
...
Make sure it doesn't affect general ID (0bda:1100)
2021-10-08 10:29:21 +01:00
Richard Hughes
c22c2e0752
trivial: Prevent a possible warning when using _FLAG_INHIBIT_CHILDREN
2021-10-07 17:42:39 +01:00
Mario Limonciello
ffb921af3f
trivial: fix doc publishing ( Fixes : #3838 )
2021-10-06 14:56:25 -05:00
Richard Hughes
bc43adf020
Fix build error when sys/io.h is not available
2021-10-06 20:38:43 +01:00
Richard Hughes
46c90f11a4
trivial: Add missing Fedora BuildRequires
2021-10-06 16:43:50 +01:00
Richard Hughes
07b4bb4d10
trivial: post release version bump
2021-10-06 16:13:24 +01:00
Richard Hughes
0afe353e05
Release fwupd 1.7.0
2021-10-06 16:09:38 +01:00
Richard Hughes
37855a3f5d
trivial: Match up the translator comments with the source strings
...
Doing clang-format on the codebase broke a few of these.
2021-10-06 16:07:43 +01:00
Mario Limonciello
70b327c41f
trivial: drop fish-completion for ignore-power
2021-10-06 14:57:05 +01:00
Richard Hughes
39d8baf516
trivial: Notify when the FuDevice:parent is set
...
This allows us to perform a callback when the parent instance is set or
changed.
2021-10-05 18:15:53 +01:00
Richard Hughes
88b1b35a72
trivial: Use new libgcab API where possible
...
This is new in version 1.5, but may be backported.
2021-10-05 18:15:37 +01:00
Richard Hughes
e3e84b717a
Allow using interrupt transfers for HID devices
...
Also, print the interface number and EP addresses in the ->to_string
handler.
2021-10-05 15:08:44 +01:00
Sean Rhodes
2bd8e80d03
plugins/flashrom: Always shutdown after flashing ( #3831 )
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-10-05 08:57:20 +01:00
Allen_Chang
8abdf646ba
pixart-rf: Add more supported devices
2021-10-04 09:50:02 +01:00
Sean Rhodes
71b52abb66
plugins/flashrom: Reset CMOS aftering writing region ( #3814 )
...
Resetting the CMOS before a write when switching branch will cause a lock on\
reboot which requires hard power off.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-10-01 14:32:19 +01:00
Sean Rhodes
555ae48ebd
plugins/uefi-capsule: Enable ux-capsule for all starlabs laptops ( #3824 )
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-10-01 11:36:23 +01:00
Sean Rhodes
9b3349a586
plugins/uefi-capsule: Force ux-capsule over full size bgrt ( #3823 )
...
If bgrt is the same size as the screen, show ux-capsule on top of bgrt.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-10-01 11:36:11 +01:00
Sanjay Sheth
7acccd581c
Retry if device is not idle
2021-09-30 18:14:28 +01:00
Gaël PORTAY
5c2c9c4672
fu-engine: Fix typo in the efi-firmware-volume ID
...
The commit 488f2e1f37
has moved some
parsers and has created a typo in the efi-firmware-volume ID.
2021-09-30 07:45:28 -05:00
Sanjay Sheth
baf4279f70
logitech-bulkcontroller: Explicitly set to device mode
...
Explicitly set to device mode when required.
2021-09-30 10:15:56 +01:00
Sean Rhodes
49c08f436f
plugins/uefi-capsule: Disable ux-capsule for all StarLabs laptops ( #3815 )
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-09-30 08:52:02 +01:00
Richard Hughes
46435e798f
Write the BMP image upside down to avoid using a negative bitmap height
...
It would seem that some EFI BMP loaders are unable to flip the image
and hang when trying to load the UX capsule.
This was a real PITA to debug.
Many thanks to Sean Rhodes <sean@starlabs.systems> for all the help.
2021-09-30 08:34:14 +01:00
Richard Hughes
f86c6add5f
trivial: Load SMBIOS when using fwupdate to avoid a warning
2021-09-28 13:00:22 +01:00
Richard Hughes
c598ad6434
trivial: Fix a typo causing fwupdate to crash
2021-09-28 13:00:22 +01:00
Richard Hughes
8bd5c55425
uefi-capsule: Use accurate FuProgress values
2021-09-27 19:51:26 +01:00
Richard Hughes
a3cd497bd1
flashrom: Ensure internal devices get an assigned context
...
This makes the quirks work correctly. Fixes a warning seen in the logs.
2021-09-27 11:06:13 +01:00
Simon Ho
471c3e0c36
synaptics-cape: Add interrupt endpoint support ( #3798 )
...
Add new flag can receive HID report over Interrupt In endpoint instead
of control endpoint.
This commit also fixes a false error within software reset function.
2021-09-27 16:53:08 +08:00
Sean Rhodes
2694abeb71
plugins/flashrom: Update StarBook GUID
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-09-27 08:24:26 +01:00
Richard Hughes
08f4040fc8
superio: Continue to add the SuperIO-IT8587 instance IDs ( #3796 )
...
The GUIDs are in use by old firmware, and so of course we have to
continue adding them.
See https://github.com/fwupd/fwupd/pull/3734#issuecomment-919829988
2021-09-25 22:11:43 +01:00
Richard Hughes
35fff9684e
trivial: Export the CFU enum conversion functions
...
We need these in the CFU plugin too.
2021-09-25 21:16:18 +01:00
Richard Hughes
86d92f2c93
trivial: Fix translator comment
2021-09-25 19:48:47 +01:00
Richard Hughes
478e44bc19
trivial: Do not use g_assert() in self test code
...
Note that g_assert() should not be used in unit tests, since it is a
no-op when compiling with G_DISABLE_ASSERT. Use g_assert() in production
code, and g_assert_true() in unit tests.
See https://github.com/fwupd/fwupd/issues/3790
2021-09-24 22:20:21 +01:00
Richard Hughes
36757c3eff
trivial: Remove some instances of 'slave' that crept in
2021-09-24 20:46:28 +01:00
Daniel Campello
a2129c05d1
thunderbolt: fix host controller probing
2021-09-24 14:25:16 -05:00
Mario Limonciello
d64607b98d
trivial: add a helper to contrib/setup to rename branches
...
This will help for any local checkouts using the old branch name.
2021-09-24 14:21:17 -05:00
Richard Hughes
7f5b0c0b60
Rename the development branch from master to main
...
Fixes https://github.com/fwupd/fwupd/issues/3799
2021-09-24 14:20:24 -05:00
Richard Hughes
204da7a775
trivial: Remove one case of master that snuck in
2021-09-24 19:13:44 +01:00
Richard Hughes
f302bbcb03
trivial: Fix a potential division by zero
...
Spotted by Coverity.
2021-09-24 19:03:52 +01:00
Richard Hughes
4b09701452
redfish: Fix a potential NULL dereference spotted by Coverity
2021-09-24 19:03:52 +01:00
Daniel Campello
4fa2a7604a
trivial: workaround for ERROR: Unknown variable "gcab"
...
This change enables the use of tests in Chrome OS. Fixes #3270
2021-09-24 17:15:33 +01:00
Daniel Campello
3d7d49c1e1
trivial: do not fallback on missing GUID lookup
2021-09-24 11:07:43 -05:00
Richard Hughes
494fd2736f
Allow installing the LVFS remote, but disabled
...
This is a patch that I have to regenerate almost every rebase. Just
move it upstream as it's probably not RHEL specific.
2021-09-24 16:55:04 +01:00
Sean Rhodes
f8ff84404c
plugins/intel-spi: Add Union Point to SPI quirk
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-09-24 15:21:24 +01:00
Richard Hughes
90ea3453c3
trivial: Do not install the device tests when using -Dtests=false
2021-09-24 06:51:09 -05:00