Commit Graph

6871 Commits

Author SHA1 Message Date
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
Richard Hughes
6f87fc5ee3 trivial: Fix 'fwupdtool firmware-sign' by removing debugging 2022-01-31 10:57:10 +00:00
Richard Hughes
20a357a551 trivial: Fix the OpenBMC example 2022-01-31 10:54:04 +00:00
Richard Hughes
7290da5dda Allow the root user to ask the daemon to quit
This makes it easier to test the fwupd in the installed tests:

    sudo gdbus call --system \
    	--dest org.freedesktop.fwupd \
    	--object-path / \
    	--method org.freedesktop.fwupd.Quit
2022-01-31 10:47:26 +00:00
henry-nicolas
a89e4ae2fc debian/rules: enable modem-manager plugin support 2022-01-31 10:18:46 +00:00
Eli Schwartz
7126fb4597 trivial: Drop the use of setuptools for regenerating ld version file
setuptools is the only import that is not part of the python stdlib.
2022-01-31 09:32:58 +00:00
Richard Hughes
a72758f361 trivial: Downgrade glib2 to fix EPERM Docker issue
See https://gitlab.gnome.org/GNOME/glib/-/issues/2580 for the original
pathc and https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/545
for the discussion.
2022-01-30 20:02:32 +00:00
Richard Hughes
c716cac45c trivial: Move the CI to Fedora 35 2022-01-30 20:02:32 +00:00
Dylan Van Assche
b5077745a7 modem-manager: use version format from metadata
Some modems use a plain string as version while others use a
standardized version format. If such a format is provided by
the metadata, set it.
2022-01-30 20:01:52 +00:00
Mario Limonciello
e742e4fc10 trivial: ci: fix ubuntu ci 2022-01-27 15:02:19 -06:00
Richard Hughes
b9960095b8 trivial: Fix the FreeBSD build
Mea culpa. Fixes https://github.com/fwupd/fwupd/issues/4225
2022-01-27 20:35:41 +00:00
xtcui
7dc24a9f20 analogix: Do not hardcode the device vendor 2022-01-27 06:25:13 +00:00
xtcui
ed120c05e7 analogix: Added 3 new supported devices 2022-01-27 06:25:13 +00:00
Richard Hughes
6eada0e067 Add a flag to indicate the firmware is not provided by the vendor
Also, force the user to accept this warning for every update.
2022-01-25 10:13:40 +00:00
Richard Hughes
8707d3d048 Translate the firmware flags when using fwupdmgr 2022-01-25 09:53:52 +00:00
Richard Hughes
f966dfe251 Fall back to the Device Tree 'compatible' data as required
This allows us to use CHID requirements on the PinePhone, and
potentially other hardware too.

See https://github.com/fwupd/fwupd/discussions/4209
2022-01-24 21:30:15 +00:00
Richard Hughes
44d931fa91 trivial: Update the built subproject version of fwupd-efi 2022-01-24 08:57:25 +00:00
Crag Wang
36fd4117c6 dell-dock: fix a segfault if device isn't added yet 2022-01-23 17:53:51 +00:00
Norbert Kamiński
7fdf7c60ee fu-uefi-common.h: Fix efivar compatibility with FreeBSD
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2022-01-21 16:24:37 +00:00
Norbert Kamiński
a580de81ba freebsd/Makefile: Disable gudev based plugins
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2022-01-21 16:24:37 +00:00
Richard Hughes
02d8753097 Move the clear-history command to fwupdtool
This is perhaps a useful thing to do when debugging, but isn't the sort
of thing we need users to understand.
2022-01-21 15:25:05 +00:00
Richard Hughes
ffac7d6024 Merge the little-used clear-offline action into clear-results
Fixes https://github.com/fwupd/fwupd/issues/3581
2022-01-21 15:25:05 +00:00
Richard Hughes
38bab8fc4f Allow overriding daemon parameters using /var/etc/fwupd/daemon.conf
This is super useful for debugging immutable systems like ChromeOS.
2022-01-21 11:52:06 +00:00
Richard Hughes
122dee1a19 Allow specifying the BKC locally
Fixes https://github.com/fwupd/fwupd/issues/4040
2022-01-21 11:35:54 +00:00
Richard Hughes
59845f970e trivial: Fix a compile problem when fwupdmgr is built before fu-hash.h 2022-01-20 17:06:14 +00:00
Richard Hughes
1e8b46321b Use GCC static analysis when available 2022-01-20 16:00:13 +00:00
Richard Hughes
fc4687f3e5 trivial: Add the missing keys for the daemon ModifyConfig method 2022-01-20 13:44:53 +00:00
Mario Limonciello
fa8bfc7f4a msr: make tsme security attribute match kernel doc more closely
The kernel documentation for AMD memory encryption includes information
on both SME and SEV, but they are separate attributes. Read the attributes
separately.

Link: https://www.kernel.org/doc/html/v5.16/x86/amd-memory-encryption.html
2022-01-20 06:52:51 -06:00
Richard Hughes
7657bc365f trivial: Change some problematic language that crept in 2022-01-20 08:54:31 +00:00
Denis Pynkin
e08ead31f5 plugins/nordic-hid: fix the bootloader type detection
The initial name of the varianle has been changed upon review in
[nrf_desktop DFU PR](https://github.com/nrfconnect/sdk-nrf/pull/6343)

This commit align the naming with NRF desktop upstream and fix testing
images URLs for device testing.
2022-01-20 03:16:47 +03:00
Richard Hughes
3917714dd1 redfish: Change an expired password when required 2022-01-19 21:19:01 +00:00
Richard Hughes
0264c29bda modem-manager: Only try to get the branch if there exists an AT port
Fixes https://github.com/fwupd/fwupd/issues/4190
2022-01-19 20:06:25 +00:00
Richard Hughes
4329ddbd76 modem-manager: Fix a segfault on startup for some MBIM-QDU devices
Works around https://github.com/fwupd/fwupd/issues/4190 although we
still need to find the root cause.
2022-01-19 13:46:05 +00:00
Crag Wang
b728608baa Show results when calling get-details if failing requirements 2022-01-19 12:10:52 +00:00
Richard Hughes
46b3eb0f82 trivial: Add more translations for HSI events 2022-01-18 14:23:13 +00:00
Crag Wang
fbcc031ae4 trivial: refresh bash completion to reflect recent changes 2022-01-17 13:41:20 -06:00
Crag Wang
6c985fac3b trivial: allow multiple GUID or DEVICE-ID to update command
Merged fu_util_update_all() and fu_util_update_by_id() to simplify the
maintaince work and streamline the flow for consistent behavior across
a normal update for all updatable devices and a small set of chosen
devices.

This commit also added support for specifying mutliple DEVICE-IDs or
GUIDs in a single run, previously error message 'Invalid Argument' is
seen and soon aborted.
2022-01-17 13:41:20 -06:00
Mario Limonciello
d2e286faae trivial: show uefi_recovery message in get-plugins output
By default it shows just a blank line right now.
2022-01-17 10:21:29 -06:00