Commit Graph

6808 Commits

Author SHA1 Message Date
Richard Hughes
f7c69d794b Show the user when devices are updatable by inhibited
Fixes https://github.com/fwupd/fwupd/issues/4281
2022-02-14 16:03:12 +00:00
Richard Hughes
cfaf1d73c1 Do not include the vendor name in the AMT device 2022-02-14 12:35:44 +00:00
Richard Hughes
55bd4862d3 Try harder to convert to a version into a correct semver
This is really useful for the flashrom plugin.
2022-02-11 15:28:05 +00:00
Richard Hughes
ad0b274cec trivial: Move the date_eol attribute to the component node
The LVFS has been changed to do the same, and no real vendors have
added EOL information yet.
2022-02-11 10:44:10 +00:00
Gaël PORTAY
73377b2a53 trivial: Add new category type for video display 2022-02-10 13:47:17 +00:00
Richard Hughes
b8da2f3200 ata: Add one more model name fuzzy match 2022-02-10 10:30:28 +00:00
Richard Hughes
5ffbc935cf trivial: Use FuContext when creating FuIfdDevice children 2022-02-09 16:58:04 +00:00
Richard Hughes
b5e7a0be16 Do not use gettext before calling setlocale 2022-02-09 16:56:47 +00:00
Crag Wang
f7b6fa2e82 trivial: don't replug if thunderbolt device supports auth on disconnect
Fixes: #4262
2022-02-09 16:30:23 +00:00
Richard Hughes
b4fb6fa6aa flashrom: Fix loading devices in coreboot mode
We were specifying _REQUIRE_HWID but the plugin list was not yet loaded when we were trying all the HwIds.
2022-02-09 14:21:03 +00:00
Richard Hughes
fd399da71b tpm: Fix a critical warning when loading an empty TPM eventlog item 2022-02-09 14:20:55 +00:00
Richard Hughes
171ebda355 Check the IFD sections have non-zero data length
This fixes a critical warning when loading an invalid builder file.
2022-02-09 13:31:55 +00:00
Richard Hughes
8cec5d8686 Allow padding firmware sections in builder XML files 2022-02-09 13:31:55 +00:00
Richard Hughes
02f003a195 trivial: Build pcre when building static CI tools 2022-02-09 11:58:50 +00:00
Richard Hughes
740bddf7dd trivial: Do not use use sudo to use firmware-build
It's not needed anymore.
2022-02-09 11:58:50 +00:00
Richard Hughes
9ea78077af trivial: Fix a logic thinko when adding the community warning in fwupdmgr 2022-02-08 17:10:28 +00:00
Richard Hughes
2b310fb368 dfu: Downgrade a trivial harmless warning to debug 2022-02-08 11:56:20 +00:00
Richard Hughes
a436feb8a9 trivial: post release version bump 2022-02-07 16:30:43 +00:00
Richard Hughes
33aed8c7fb Release fwupd 1.7.5 2022-02-07 16:24:38 +00:00
Richard Hughes
31dacb8687 Allow marking a device as EOL
This probably means it is unlikely to get any new security updates.
2022-02-07 16:03:44 +00:00
Richard Hughes
930e6f4e52 Get the host machine ID when running on Windows 2022-02-07 16:01:51 +00:00
Richard Hughes
915c4805f5 thunderbolt: Set the update timeout if required
I think this accidentally got inverted during the retimer split.
2022-02-07 14:25:58 +00:00
Richard Hughes
cf5d8db9a4 vli: Set the progress values for the MSP430 update 2022-02-07 14:21:01 +00:00
Richard Hughes
2448660922 trivial: Print the RemoveDelay in the device debug string 2022-02-07 14:21:01 +00:00
Richard Hughes
24c041c3f8 trivial: Fix the range check for the RemoveDelay quirk 2022-02-07 14:21:01 +00:00
Richard Hughes
2fd4ea5ddc Get the SMBIOS table on Windows
Fixes https://github.com/fwupd/fwupd/issues/4253
2022-02-07 14:04:44 +00:00
Kranthi Kuntala
97e6c1d7c2 [thunderbolt] remove the skip-restart flag for retimer
-this is indeed needed to reflect the updated version after system reboot

Signed-off-by: Kranthi Kuntala <kranthi.kuntala@intel.corp-partner.google.com>
Change-Id: Id4751d531528590cc93c08db0d0939a547f4d59f
2022-02-04 20:28:57 +00:00
Richard Hughes
2633b68cd8 trivial: Fix the vendor to battery threshold mapping
I broke this when optimizing fu_context_lookup_quirk_by_id() to only
take a GUID. Mea culpa.

Fixes https://github.com/fwupd/fwupd/issues/4250
2022-02-04 19:28:49 +00:00
Mario Limonciello
783e2e0448 Drop the AMD SME check for security attributes (Fixes: #4176)
This method does not indicate whether the kernel has enabled encryption.
That information is only visible from the kernel log at this time.

Continue to read the MSRs though, because if/when we get a method for the
kernel to export it we may use these as a basis of "support" but not a
indication of it being enabled.

encrypted:
```FuPluginMsr          SME/SEV check MSR: eax 01000f, ebx 016f
FuPluginMsr          PCI_MSR_AMD64_SYSCFG: 0f40000, sme_is_enabled=1
FuPluginMsr          PCI_MSR_AMD64_SEV: 00, sev_is_enabled=0
```

not_encrypted:
```
FuPluginMsr          SME/SEV check MSR: eax 01000f, ebx 016f
FuPluginMsr          PCI_MSR_AMD64_SYSCFG: 0f40000, sme_is_enabled=1
FuPluginMsr          PCI_MSR_AMD64_SEV: 00, sev_is_enabled=0
```
2022-02-04 10:41:47 -06:00
Richard Hughes
80a30fda18 trivial: Use the now-stable glib2 package for the Fedora CI 2022-02-04 12:00:12 +00:00
Richard Hughes
7d8fef4139 trivial: Remove the unused com.redhat.fwupdate built version
We've not needed this for several years, and no firmware on the LVFS actually uses this.
2022-02-04 11:59:51 +00:00
Denis Pynkin
cdd280b4d3 plugins/nordic-hid: extend the doc with tested HW 2022-02-04 13:46:59 +03:00
Richard Hughes
dbd0995071 Add support for outputting versions in JSON format
To use this, do: 'fwupdmgr --version --json'
2022-02-03 15:42:57 +00:00
Richard Hughes
67d24b0f65 trivial: Add the HostBkc to the report metadata 2022-02-03 15:42:57 +00:00
Mario Limonciello
59ef6ef4e2 trivial: synaptics-mst: use environment for quirk override location 2022-02-03 09:40:12 -06:00
Mario Limonciello
3f1dde7911 trivial: thunderbolt: use environment for overriding quirk location 2022-02-03 09:40:12 -06:00
Mario Limonciello
3e3bd334f4 trivial: use src directory for quirks for ata and nvme plugins
Fixes: #4244
2022-02-03 09:40:12 -06:00
Mario Limonciello
9de6adf41f trivial: msr: add more debugging data for register status 2022-02-01 15:58:39 -06:00
Richard Hughes
f3d71a18a5 redfish: Be more robust by retrying IPMI transactions
This fixes creating users when the BMC is otherwise busy.
2022-02-01 16:18:28 +00:00
Richard Hughes
fba2fd62f2 redfish: Add error codes not provided in ipmi_msgdefs.h 2022-02-01 16:18:28 +00:00
Richard Hughes
de874c7d8e redfish: Wait some time after creating the initial IPMI user
It would appear that in reality a delay is required for them to sync state.
2022-02-01 16:18:28 +00:00
Richard Hughes
76dcafee1f redfish: Do not use 'unspecified' for the unknown error 2022-02-01 16:18:28 +00:00
Richard Hughes
75b68ed9f9 trivial: Allow NULL @error for fu_device_retry_full()
The docs say `(nullable)` and it's the only function that seems to hard require
an error, for no good reason I can see.
2022-02-01 16:18:28 +00:00
Michał Kopeć
ab06e034c3 plugins/flashrom: add quirk for NovaCustom NV4x
Add a quirk for NovaCustom NV4x devices.
These laptops are running coreboot and are updatable using flashrom.

The HwId GUID matches to both previous Insyde firmware and the current
Dasharo firmware. The Dasharo GUID matches to the devices running
Dasharo firmware. This way the device can be switched from Insyde
to Dasharo using `fwupdmgr switch-branch`.

Homepage: https://configurelaptop.eu/nv40-series/

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2022-02-01 14:15:45 +00:00
Richard Hughes
7180c8993e trivial: Turn off -fanalyzer by default
This has several false positives in Fedora 36 and also slows down the
build considerably.
2022-01-31 15:17:27 +00:00
Richard Hughes
4b48b2ea27 trivial: Fix a warning in the latest clang release 2022-01-31 14:36:38 +00:00
Richard Hughes
5f50b5e9a1 trivial: Remove unused variable 2022-01-31 14:36:38 +00:00
Richard Hughes
bb1bcce863 Allow fwupd to operate without a D-Bus daemon
This adds support for optionally using a UNIX domain socket where a
D-Bus daemon may not be running.

To use this, launch the daemon and clients with something like
`FWUPD_DBUS_SOCKET=/var/run/fwupd.sock fwupdmgr get-devices`
2022-01-31 14:05:23 +00:00
Richard Hughes
dc7dc77095 Fix install_dell_bios_exe.py by removing extraneous code
See https://github.com/fwupd/fwupd/issues/3644 for details.

Fixes https://github.com/fwupd/firmware-dell/issues/105
2022-01-31 13:05:53 +00:00
Richard Hughes
47c92393de trivial: Always use the GCancellable in fwupdmgr 2022-01-31 13:05:41 +00:00