Thomas Deutschmann
a4549f5035
elanfp plugin requires gusb
2021-10-15 09:17:47 -05:00
Richard Hughes
74a2a47f7f
Add two report keys affecting report credibility
2021-10-15 13:55:25 +01:00
Richard Hughes
2d5c5b868e
Add the missing PolicyKit actions for (un)trusted downgrade
...
If we want to tighten the allowed actions, we need the actions to be
symmetric.
2021-10-15 13:54:29 +01:00
Richard Hughes
dbf92be359
trivial: Add fu_device_add_string() for future use
2021-10-14 15:49:58 +01:00
Gaël PORTAY
918006f8d5
trivial: Codespell fixes
2021-10-14 09:09:54 -05:00
Gaël PORTAY
21b470c1a1
trivial: Codespell fixes
2021-10-14 09:09:54 -05:00
Richard Hughes
88592df086
rts54hub: Use demo firmware on the evaluation board for the tests
...
This avoids clashing with real-world devices that have the same VID/PID.
Many thanks to Ricky WU <ricky_wu@realtek.com> for all the help.
Fixes: https://github.com/fwupd/fwupd/issues/3835
2021-10-13 20:07:15 +08:00
Richard Hughes
852a6dbdc2
redfish: Handle EPERM when testing devices with a IPMI device
...
Fixes https://github.com/fwupd/fwupd/issues/3849
2021-10-12 19:12:57 -05:00
Richard Hughes
86b27b9505
Mark as SUPPORTED even if on AC power
...
This makes the 'Downloaded new metadata: N local devices supported'
message correct when refreshing on battery power.
2021-10-12 17:59:27 +01:00
Richard Hughes
d653c8de26
wacom-usb: Un-pack the descriptor to fix -Waddress-of-packed-member warnings
...
This isn't read in-situ since switching to fu_common_read_uintXX_safe()
and it's only used to calculate the size of the block.
2021-10-12 09:42:59 -05:00
Richard Hughes
3acbe9bed3
trivial: Fix a -Waddress-of-packed-member warning
2021-10-12 09:42:59 -05:00
Richard Hughes
f41fd3af46
vli: Fix a potential crash when dumping Parade devices
2021-10-12 09:42:59 -05:00
Richard Hughes
357d7ff396
trivial: Fix up a docgen comment typo
2021-10-09 16:22:35 +01:00
Richard Hughes
4389f9f913
trivial: Show newlines in the warning box
...
This means we split up the paragraphs into sections as designed.
2021-10-09 08:09:38 +01:00
Richard Hughes
d3706e0e0b
Show the user a warning if updating may affect full-disk-encryption
...
Additionally, if the client does not set the feature flag `fde-warning`,
add an extra paragraph into the update description.
Fixes https://github.com/fwupd/fwupd/issues/3829
2021-10-09 08:09:38 +01:00
Sean Rhodes
371339bbeb
plugins/superio: Don't check 0x14 in ITE signature
...
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2021-10-08 18:28:37 +01:00
Richard Hughes
24cc4d9d30
trivial: Set the systemd timeout to match the client proxy
...
The systemd default of 90 seconds is uncomfortably close to the
worst-case Redfish startup time. Give ourselves some more headroom.
2021-10-08 17:22:45 +01:00
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