fwupd/plugins/dell-esrt
Mario Limonciello 01a7958cd1 uefi, dell-esrt: Show firmware version when capsule updates unavailable
When the system doesn't support UEFI capsule updates no firmware version
is displayed for the BIOS.  Fix this by creating a dummy device:
```
├─System Firmware:
│     Device ID:           123fd4143619569d8ddb6ea47d1d3911eb5ef07a
│     Current version:     1.7.0
│     Vendor:              Dell Inc.
│     Update Error:        UEFI Capsule updates not available or enabled
│     Flags:               internal|require-ac|registered|needs-reboot
```

If the dell-esrt plugin determines that capsule updates can be enabled
however, make the device it creates replace the dummy device:
```
├─Dell UEFI updates:
│     Device ID:           123fd4143619569d8ddb6ea47d1d3911eb5ef07a
│     Summary:             Enable UEFI Update Functionality
│     Current version:     0
│     Update Error:        Firmware updates disabled; run 'fwupdmgr unlock' to enable
│     Flags:               locked|supported|registered|needs-reboot
```

Fixes: #1366
2019-09-19 15:48:39 +01:00
..
dell-esrt.conf Move the core built-in 'fwupd' remote over to the dell-esrt plugin 2019-04-02 07:18:29 -05:00
fu-plugin-dell-esrt.c uefi, dell-esrt: Show firmware version when capsule updates unavailable 2019-09-19 15:48:39 +01:00
meson.build Move the core built-in 'fwupd' remote over to the dell-esrt plugin 2019-04-02 07:18:29 -05:00
metadata.xml Move the core built-in 'fwupd' remote over to the dell-esrt plugin 2019-04-02 07:18:29 -05:00
README.md trivial: Document the GUID generation scheme 2018-11-08 20:39:46 +00:00

Dell ESRT Support

Introduction

This allows enabling the BIOS setup option for UEFI capsule updates without manually going into BIOS setup.

GUID Generation

These device uses a hardcoded GUID of 2d47f29b-83a2-4f31-a2e8-63474f4d4c2e.

Build Requirements

For Dell support you will need libsmbios_c version 2.4.0 or later.

If you don't want or need this functionality you can use the -Dplugin_dell=false option.

Devices powered by the Dell Plugin

The Dell ESRT plugin allows the user to enable the UpdateCapsule functionality at runtime. A reboot will be required and the BIOS administrator password must not be set.

Machines that offer this functionality will display an extra device in # fwupdmgr get-devices output.

Example:

UEFI dummy device
  Guid:                 2d47f29b-83a2-4f31-a2e8-63474f4d4c2e
  Plugin:               dell-esrt
  Flags:                internal|updatable|locked
  Version:              0
  Created:              2018-06-25