Enums

Details

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

VERSION_SAME = 2

Installed same firmware version

ALREADY_PENDING = 3

Already set be 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

The update state.

UNKNOWN = 0

Unknown

NONE = 1

No verification

GPG = 2

Verification using GPG

PKCS7 = 3

Verification using PKCS7

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.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

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

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