Class
FwupdPluginI2cDevice
Description [src]
class FwupdPlugin.I2cDevice : FwupdPlugin.UdevDevice {
parent_instance: FuUdevDevice
}
A I²C device with an assigned bus number.
See also: FuUdevDevice.
Ancestors
- FuUdevDevice
- FuDevice
- FwupdDevice
- GObject
Instance methods
Methods inherited from FuUdevDevice (37)
fu_udev_device_emit_changed
Emits the ::changed signal for the object.
Available since: 1.1.2
fu_udev_device_find_usb_device
Gets the matching GUsbDevice for the GUdevDevice.
Available since: 1.8.7
fu_udev_device_get_bind_id
Gets the device ID used for binding the device, e.g. pci:1:2:3
Available since: 1.7.2
fu_udev_device_get_children_with_subsystem
Get a list of devices that are children of self and have the provided subsystem.
Available since: 1.6.2
fu_udev_device_get_cls
Gets the PCI class for a device.
Available since: 1.8.11
fu_udev_device_get_dev
Gets the GUdevDevice.
Available since: 1.1.2
fu_udev_device_get_device_file
Gets the device node.
Available since: 1.3.1
fu_udev_device_get_devtype
Returns the Udev device type.
Available since: 1.4.5
fu_udev_device_get_driver
Gets the device driver, e.g. psmouse.
Available since: 1.5.3
fu_udev_device_get_fd
Gets the file descriptor if the device is open.
Available since: 1.3.3
fu_udev_device_get_model
Gets the device model code.
Available since: 1.1.2
fu_udev_device_get_number
Gets the device number, if any.
Available since: 1.5.0
fu_udev_device_get_parent_name
Returns the name of the direct ancestor of this device.
Available since: 1.4.5
fu_udev_device_get_parent_with_subsystem
Get the device that is a parent of self and has the provided subsystem.
Available since: 1.7.6
fu_udev_device_get_revision
Gets the device revision.
Available since: 1.1.2
fu_udev_device_get_siblings_with_subsystem
Get a list of devices that are siblings of self and have the provided subsystem.
Available since: 1.6.0
fu_udev_device_get_slot_depth
Determine how far up a chain a given device is.
Available since: 1.2.4
fu_udev_device_get_subsystem
Gets the device subsystem, e.g. pci
Available since: 1.1.2
fu_udev_device_get_subsystem_model
Gets the device subsystem model code.
Available since: 1.5.0
fu_udev_device_get_subsystem_vendor
Gets the device subsystem vendor code.
Available since: 1.5.0
fu_udev_device_get_sysfs_attr
Reads an arbitrary sysfs attribute ‘attr’ associated with UDEV device.
Available since: 1.4.5
fu_udev_device_get_sysfs_attr_uint64
Reads an arbitrary sysfs attribute ‘attr’ associated with UDEV device as a uint64.
Available since: 1.7.2
fu_udev_device_get_sysfs_path
Gets the device sysfs path, e.g. /sys/devices/pci0000:00/0000:00:14.0.
Available since: 1.1.2
Methods inherited from FuDevice (156)
fu_device_activate
Activates up a device, which normally means the device switches to a new firmware version. This should only be called when data loss cannot occur.
Available since: 1.2.6
fu_device_add_child
Sets any child device. An child device is logically linked to the primary device in some way.
Available since: 1.0.8
fu_device_add_counterpart_guid
Adds a GUID to the device. If the guid argument is not a valid GUID then it
is converted to a GUID using fwupd_guid_hash_string().
Available since: 1.1.2
fu_device_add_flag
Adds a device flag to the device.
Available since: 0.1.0
fu_device_add_guid
Adds a GUID to the device. If the guid argument is not a valid GUID then it
is converted to a GUID using fwupd_guid_hash_string().
Available since: 0.7.2
fu_device_add_guid_full
Adds a GUID to the device. If the guid argument is not a valid GUID then it
is converted to a GUID using fwupd_guid_hash_string().
Available since: 1.6.2
fu_device_add_instance_id
Adds an instance ID to the device. If the instance_id argument is already a
valid GUID then fu_device_add_guid() should be used instead.
Available since: 1.2.5
fu_device_add_instance_id_full
Adds an instance ID with all parameters set.
Available since: 1.2.9
fu_device_add_instance_str
Assign a value for the key.
Available since: 1.7.7
fu_device_add_instance_strsafe
Assign a sanitized value for the key.
Available since: 1.7.7
fu_device_add_instance_strup
Assign a uppercase value for the key.
Available since: 1.7.7
fu_device_add_instance_u16
Assign a value to the key, which is padded as 4X.
Available since: 1.7.7
fu_device_add_instance_u32
Assign a value to the key, which is padded as 8X.
Available since: 1.7.7
fu_device_add_instance_u4
Assign a value to the key, which is padded as 1X.
Available since: 1.7.7
fu_device_add_instance_u8
Assign a value to the key, which is padded as 2X.
Available since: 1.7.7
fu_device_add_internal_flag
Adds a private flag that stays internal to the engine and is not leaked to the client.
Available since: 1.5.5
fu_device_add_parent_guid
Sets any parent device using a GUID. An parent device is logically linked to
the primary device in some way and can be added before or after self.
Available since: 1.0.8
fu_device_add_parent_physical_id
Sets any parent device using the physical ID. An parent device is logically
linked to the primary device in some way and can be added before or after self.
Available since: 1.6.2
fu_device_add_possible_plugin
Adds a plugin name to the list of plugins that might be able to handle this device. This is typically called from a quirk handler.
Available since: 1.5.1
fu_device_add_private_flag
Adds a private flag that can be used by the plugin for any purpose.
Available since: 1.6.2
fu_device_add_problem
Prevent the device from being updated, changing it from FWUPD_DEVICE_FLAG_UPDATABLE
to FWUPD_DEVICE_FLAG_UPDATABLE_HIDDEN if not already inhibited.
Available since: 1.8.1
fu_device_add_security_attrs
Adds HSI security attributes.
Available since: 1.6.0
fu_device_add_string
Add daemon-specific device metadata to an existing string.
Available since: 1.7.1
Properties
Properties inherited from FuUdevDevice (5)
FwupdPlugin.UdevDevice:bind-id
The bind ID to use when binding a new driver.
Available since: 1.7.2
FwupdPlugin.UdevDevice:device-file
The low level file to use for device access.
Available since: 1.3.1
FwupdPlugin.UdevDevice:driver
The driver being used for the device.
Available since: 1.5.3
FwupdPlugin.UdevDevice:subsystem
The device subsystem.
Available since: 1.1.2
FwupdPlugin.UdevDevice:udev-device
The low-level GUdevDevice.
Available since: 1.1.2
Properties inherited from FuDevice (6)
FwupdPlugin.Device:backend-id
The device backend ID.
Available since: 1.5.8
FwupdPlugin.Device:context
The FuContext to use.
Available since: 1.6.0
FwupdPlugin.Device:logical-id
The device logical ID.
Available since: 1.1.2
FwupdPlugin.Device:parent
The device parent.
Available since: 1.0.8
FwupdPlugin.Device:physical-id
The device physical ID.
Available since: 1.1.2
FwupdPlugin.Device:proxy
The device proxy to use.
Available since: 1.4.1