Constants¶
Details¶
- Fwupd.BATTERY_LEVEL_INVALID = 101¶
This value signifies the battery level is either unset, or the value cannot be discovered.
- Fwupd.BIOS_SETTING_DEBUG_CMD = 'debug_cmd'¶
- Fwupd.BIOS_SETTING_KIND_LAST = 4¶
- Fwupd.BIOS_SETTING_PENDING_REBOOT = 'pending_reboot'¶
- Fwupd.BIOS_SETTING_RESET_BIOS = 'reset_bios'¶
- Fwupd.BIOS_SETTING_SELF_TEST = 'fwupd_self_test'¶
- Fwupd.DBUS_INTERFACE = 'org.freedesktop.fwupd'¶
The dbus interface
- Fwupd.DBUS_PATH = '/'¶
The dbus path
- Fwupd.DBUS_SERVICE = 'org.freedesktop.fwupd'¶
The dbus service
- Fwupd.DEVICE_ID_ANY = '*'¶
Wildcard used for matching all device ids in fwupd
- Fwupd.ERROR_LAST = 22¶
- Fwupd.JSON_NODE_KIND_LAST = 5¶
- Fwupd.MAJOR_VERSION = 2¶
The compile-time major version
- Fwupd.MICRO_VERSION = 2¶
The compile-time micro version
- Fwupd.MINOR_VERSION = 1¶
The compile-time minor version
- Fwupd.RELEASE_URGENCY_LAST = 5¶
- Fwupd.REMOTE_KIND_LAST = 4¶
- Fwupd.REQUEST_ID_DO_NOT_POWER_OFF = 'org.freedesktop.fwupd.request.do-not-power-off'¶
Show the user a message not to unplug the machine from the AC power, e.g. “Do not turn off your computer or remove the AC adaptor until you are sure the update has completed.”
New in version 1.8.6.
- Fwupd.REQUEST_ID_INSERT_USB_CABLE = 'org.freedesktop.fwupd.request.insert-usb-cable'¶
The user needs to insert the cable to complete the update, e.g. “The update will continue when the device USB cable has been re-inserted.”
New in version 1.8.9.
- Fwupd.REQUEST_ID_PRESS_UNLOCK = 'org.freedesktop.fwupd.request.press-unlock'¶
The user needs to press unlock on the device to continue, e.g. “Press unlock on the device to continue the update process.”
New in version 1.6.2.
- Fwupd.REQUEST_ID_REMOVE_REPLUG = 'org.freedesktop.fwupd.request.remove-replug'¶
The user needs to remove and reinsert the device to complete the update, e.g. “The update will continue when the device USB cable has been unplugged and then re-inserted.”
New in version 1.6.2.
- Fwupd.REQUEST_ID_REMOVE_USB_CABLE = 'org.freedesktop.fwupd.request.remove-usb-cable'¶
The user needs to remove the device to complete the update, e.g. “The update will continue when the device USB cable has been unplugged.”
New in version 1.8.6.
- Fwupd.REQUEST_ID_REPLUG_INSTALL = 'org.freedesktop.fwupd.replug-install'¶
Show the user a message to replug the device and then install the firmware, e.g. “Unplug and replug the device, to continue the update process.”
New in version 1.8.11.
- Fwupd.REQUEST_ID_REPLUG_POWER = 'org.freedesktop.fwupd.replug-power'¶
Show the user a message to replug the power connector, e.g. “The update will continue when the device power cable has been unplugged and then re-inserted.”
New in version 1.9.9.
- Fwupd.REQUEST_ID_RESTART_DAEMON = 'org.freedesktop.fwupd.restart-daemon'¶
Show the user a message that they need to restart the daemon, e.g. “Please restart the fwupd service.”
New in version 2.0.1.
- Fwupd.REQUEST_KIND_LAST = 3¶
- Fwupd.SECURITY_ATTR_LEVEL_LAST = 6¶
- Fwupd.SECURITY_ATTR_RESULT_LAST = 15¶
- Fwupd.STATUS_LAST = 15¶
- Fwupd.UPDATE_STATE_LAST = 6¶
- Fwupd.VERSION_FORMAT_LAST = 15¶