Enums

Details

class Fwupd.BiosSettingKind(value)

Bases: GLib.Enum

The type of BIOS setting.

UNKNOWN = 0

BIOS setting type is unknown

ENUMERATION = 1

BIOS setting that has enumerated possible values

INTEGER = 2

BIOS setting that is an integer

STRING = 3

BIOS setting that accepts a string

class Fwupd.Error(value)

Bases: GLib.Enum

The error code.

INTERNAL = 0

Internal error

VERSION_NEWER = 1

Installed newer firmware version

NOT_SUPPORTED = 10

Action was not possible

SIGNATURE_INVALID = 11

Signature was invalid

AC_POWER_REQUIRED = 12

AC power was required

PERMISSION_DENIED = 13

Permission was denied

BROKEN_SYSTEM = 14

User has configured their system in a broken way

BATTERY_LEVEL_TOO_LOW = 15

The system battery level is too low

NEEDS_USER_ACTION = 16

User needs to do an action to complete the update

AUTH_EXPIRED = 17

Failed to get auth as credentials have expired

VERSION_SAME = 2

Installed same firmware version

ALREADY_PENDING = 3

Already set to be installed offline

AUTH_FAILED = 4

Failed to get authentication

READ = 5

Failed to read from device

WRITE = 6

Failed to write to the device

INVALID_FILE = 7

Invalid file format

NOT_FOUND = 8

No matching device exists

NOTHING_TO_DO = 9

Nothing to do

class Fwupd.KeyringKind(value)

Bases: GLib.Enum

Type of keyring used on a remote.

UNKNOWN = 0

Unknown

NONE = 1

No verification

GPG = 2

Verification using GPG

PKCS7 = 3

Verification using PKCS7

JCAT = 4

Verification using Jcat

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

class Fwupd.RequestKind(value)

Bases: GLib.Enum

The kind of request we are asking of the user.

UNKNOWN = 0

Unknown kind

POST = 1

After the update

IMMEDIATE = 2

Immediately

class Fwupd.SecurityAttrLevel(value)

Bases: GLib.Enum

The HSI level.

NONE = 0

Very few detected firmware protections

CRITICAL = 1

The most basic of security protections

IMPORTANT = 2

Firmware security issues considered important

THEORETICAL = 3

Firmware security issues that pose a theoretical concern

SYSTEM_PROTECTION = 4

Out-of-band protection of the system firmware

SYSTEM_ATTESTATION = 5

Out-of-band attestation of the system firmware

class Fwupd.SecurityAttrResult(value)

Bases: GLib.Enum

The HSI result.

UNKNOWN = 0

Not known

ENABLED = 1

Enabled

NOT_TAINTED = 10

Not tainted

FOUND = 11

Found

NOT_FOUND = 12

NOt found

SUPPORTED = 13

Supported

NOT_SUPPORTED = 14

Not supported

NOT_ENABLED = 2

Not enabled

VALID = 3

Valid

NOT_VALID = 4

Not valid

LOCKED = 5

Locked

NOT_LOCKED = 6

Not locked

ENCRYPTED = 7

Encrypted

NOT_ENCRYPTED = 8

Not encrypted

TAINTED = 9

Tainted

class Fwupd.Status(value)

Bases: GLib.Enum

The flags to show daemon status.

UNKNOWN = 0

Unknown state

IDLE = 1

Idle

DEVICE_ERASE = 10

Erasing a device

WAITING_FOR_AUTH = 11

Waiting for authentication

DEVICE_BUSY = 12

The device is busy

SHUTDOWN = 13

The daemon is shutting down

WAITING_FOR_USER = 14
LOADING = 2

Loading a resource

DECOMPRESSING = 3

Decompressing firmware

DEVICE_RESTART = 4

Restarting the device

DEVICE_WRITE = 5

Writing to a device

DEVICE_VERIFY = 6

Verifying (reading) a device

SCHEDULING = 7

Scheduling an offline update

DOWNLOADING = 8

A file is downloading

DEVICE_READ = 9

Reading from a device

class Fwupd.UpdateState(value)

Bases: GLib.Enum

The update state.

UNKNOWN = 0

Unknown

PENDING = 1

Update is pending

SUCCESS = 2

Update was successful

FAILED = 3

Update failed

NEEDS_REBOOT = 4

Waiting for a reboot to apply

FAILED_TRANSIENT = 5

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

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

PLAIN = 1

An unidentified format text string

SURFACE = 10

Microsoft Surface 8b.16b.8b

DELL_BIOS = 11

Dell BIOS BB.CC.DD style

HEX = 12

Hexadecimal 0xAABCCDD style

NUMBER = 2

A single integer version number

PAIR = 3

Two AABB.CCDD version numbers

TRIPLET = 4

Microsoft-style AA.BB.CCDD version numbers

QUAD = 5

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

BCD = 6

Binary coded decimal notation

INTEL_ME = 7

Intel ME-style bitshifted notation

INTEL_ME2 = 8

Intel ME-style A.B.CC.DDDD notation notation

SURFACE_LEGACY = 9

Legacy Microsoft Surface 10b.12b.10b