Enums

Details

class Fwupd.BiosSettingKind(value)

Bases: GLib.Enum

The type of BIOS setting.

UNKNOWN = 0

BIOS setting type is unknown.

New in version 1.8.4.

ENUMERATION = 1

BIOS setting that has enumerated possible values.

New in version 1.8.4.

INTEGER = 2

BIOS setting that is an integer.

New in version 1.8.4.

STRING = 3

BIOS setting that accepts a string.

New in version 1.8.4.

class Fwupd.Error(value)

Bases: GLib.Enum

The error code.

INTERNAL = 0

Internal error.

New in version 0.1.1.

VERSION_NEWER = 1

Installed newer firmware version.

New in version 0.1.1.

NOT_SUPPORTED = 10

Action was not possible.

New in version 0.1.1.

SIGNATURE_INVALID = 11

Signature was invalid.

New in version 0.1.2.

AC_POWER_REQUIRED = 12

AC power was required.

New in version 0.8.0.

PERMISSION_DENIED = 13

Permission was denied.

New in version 0.9.8.

BROKEN_SYSTEM = 14

User has configured their system in a broken way.

New in version 1.2.8.

BATTERY_LEVEL_TOO_LOW = 15

The system battery level is too low.

New in version 1.2.10.

NEEDS_USER_ACTION = 16

User needs to do an action to complete the update.

New in version 1.3.3.

AUTH_EXPIRED = 17

Failed to get auth as credentials have expired.

New in version 1.7.5.

INVALID_DATA = 18

Invalid data.

New in version 2.0.0.

TIMED_OUT = 19

The request timed out.

New in version 2.0.0.

VERSION_SAME = 2

Installed same firmware version.

New in version 0.1.1.

BUSY = 20

The device is busy.

New in version 2.0.0.

NOT_REACHABLE = 21

The network is not reachable.

New in version 2.0.4.

ALREADY_PENDING = 3

Already set to be installed offline.

New in version 0.1.1.

AUTH_FAILED = 4

Failed to get authentication.

New in version 0.1.1.

READ = 5

Failed to read from device.

New in version 0.1.1.

WRITE = 6

Failed to write to the device.

New in version 0.1.1.

INVALID_FILE = 7

Invalid file format.

New in version 0.1.1.

NOT_FOUND = 8

No matching device exists.

New in version 0.1.1.

NOTHING_TO_DO = 9

Nothing to do.

New in version 0.1.1.

class Fwupd.ReleaseUrgency(value)

Bases: GLib.Enum

The release urgency.

UNKNOWN = 0

Unknown

LOW = 1

Low

MEDIUM = 2

Medium

HIGH = 3

High

CRITICAL = 4

Critical, e.g. a security fix

class Fwupd.RemoteKind(value)

Bases: GLib.Enum

The kind of remote.

UNKNOWN = 0

Unknown kind.

DOWNLOAD = 1

Requires files to be downloaded.

LOCAL = 2

Reads files from the local machine.

DIRECTORY = 3

Reads directory from the local machine.

New in version 1.2.4.

class Fwupd.RequestKind(value)

Bases: GLib.Enum

The kind of request we are asking of the user.

UNKNOWN = 0

Unknown kind.

New in version 1.6.2.

POST = 1

After the update.

New in version 1.6.2.

IMMEDIATE = 2

Immediately.

New in version 1.6.2.

class Fwupd.SecurityAttrLevel(value)

Bases: GLib.Enum

The HSI level.

NONE = 0

Very few detected firmware protections.

New in version 1.5.0.

CRITICAL = 1

The most basic of security protections.

New in version 1.5.0.

IMPORTANT = 2

Firmware security issues considered important.

New in version 1.5.0.

THEORETICAL = 3

Firmware security issues that pose a theoretical concern.

New in version 1.5.0.

SYSTEM_PROTECTION = 4

Out-of-band protection of the system firmware.

New in version 1.5.0.

SYSTEM_ATTESTATION = 5

Out-of-band attestation of the system firmware.

New in version 1.5.0.

class Fwupd.SecurityAttrResult(value)

Bases: GLib.Enum

The HSI result.

UNKNOWN = 0

Not known.

New in version 1.5.0.

ENABLED = 1

Enabled.

New in version 1.5.0.

NOT_TAINTED = 10

Not tainted.

New in version 1.5.0.

FOUND = 11

Found.

New in version 1.5.0.

NOT_FOUND = 12

Not found.

New in version 1.5.0.

SUPPORTED = 13

Supported.

New in version 1.5.0.

NOT_SUPPORTED = 14

Not supported.

New in version 1.5.0.

NOT_ENABLED = 2

Not enabled.

New in version 1.5.0.

VALID = 3

Valid.

New in version 1.5.0.

NOT_VALID = 4

Not valid.

New in version 1.5.0.

LOCKED = 5

Locked.

New in version 1.5.0.

NOT_LOCKED = 6

Not locked.

New in version 1.5.0.

ENCRYPTED = 7

Encrypted.

New in version 1.5.0.

NOT_ENCRYPTED = 8

Not encrypted.

New in version 1.5.0.

TAINTED = 9

Tainted.

New in version 1.5.0.

class Fwupd.Status(value)

Bases: GLib.Enum

The flags to show daemon status.

UNKNOWN = 0

Unknown state.

New in version 0.1.1.

IDLE = 1

Idle.

New in version 0.1.1.

DEVICE_ERASE = 10

Erasing a device.

New in version 1.0.0.

WAITING_FOR_AUTH = 11

Waiting for authentication.

New in version 1.0.0.

DEVICE_BUSY = 12

The device is busy.

New in version 1.0.1.

SHUTDOWN = 13

The daemon is shutting down.

New in version 1.2.1.

WAITING_FOR_USER = 14

Waiting for an interactive user action.

New in version 1.9.8.

LOADING = 2

Loading a resource.

New in version 0.1.1.

DECOMPRESSING = 3

Decompressing firmware.

New in version 0.1.1.

DEVICE_RESTART = 4

Restarting the device.

New in version 0.1.1.

DEVICE_WRITE = 5

Writing to a device.

New in version 0.1.1.

DEVICE_VERIFY = 6

Verifying (reading) a device.

New in version 0.1.1.

SCHEDULING = 7

Scheduling an update for installation on reboot.

New in version 0.1.1.

DOWNLOADING = 8

A file is downloading.

New in version 0.9.4.

DEVICE_READ = 9

Reading from a device.

New in version 1.0.0.

class Fwupd.UpdateState(value)

Bases: GLib.Enum

The update state.

UNKNOWN = 0

Unknown.

New in version 0.7.0.

PENDING = 1

Update is pending.

New in version 0.7.0.

SUCCESS = 2

Update was successful.

New in version 0.7.0.

FAILED = 3

Update failed.

New in version 0.7.0.

NEEDS_REBOOT = 4

Waiting for a reboot to apply.

New in version 1.0.4.

FAILED_TRANSIENT = 5

Update failed due to transient issue, e.g. AC power required.

New in version 1.2.7.

class Fwupd.VersionFormat(value)

Bases: GLib.Enum

The flags used when parsing version numbers.

If no verification is required then Fwupd.VersionFormat.PLAIN should be used to signify an unparsable text string.

UNKNOWN = 0

Unknown version format.

New in version 1.2.9.

PLAIN = 1

An unidentified format text string.

New in version 1.2.9.

SURFACE = 10

Microsoft Surface 8b.16b.8b.

New in version 1.3.4.

DELL_BIOS = 11

Dell BIOS BB.CC.DD style.

New in version 1.3.6.

HEX = 12

Hexadecimal 0xAABCCDD style.

New in version 1.4.0.

DELL_BIOS_MSB = 13

Dell BIOS AA.BB.CC style.

New in version 1.9.24.

INTEL_CSME19 = 14

Intel ME-style bitshifted notation, with offset 19.

New in version 2.0.4.

NUMBER = 2

A single integer version number.

New in version 1.2.9.

PAIR = 3

Two AABB.CCDD version numbers.

New in version 1.2.9.

TRIPLET = 4

Microsoft-style AA.BB.CCDD version numbers.

New in version 1.2.9.

QUAD = 5

UEFI-style AA.BB.CC.DD version numbers.

New in version 1.2.9.

BCD = 6

Binary coded decimal notation.

New in version 1.2.9.

INTEL_ME = 7

Intel ME-style bitshifted notation.

New in version 1.2.9.

INTEL_ME2 = 8

Intel ME-style A.B.CC.DDDD notation notation, with offset 11.

New in version 1.2.9.

SURFACE_LEGACY = 9

Legacy Microsoft Surface 10b.12b.10b.

New in version 1.3.4.