Class

FwupdPluginHidrawDevice

Description [src]

class FwupdPlugin.HidrawDevice : FwupdPlugin.UdevDevice {
  parent_instance: FuUdevDevice
}

See also: FuUdevDevice.

Implements

Instance methods

fu_hidraw_device_get_bus_type

Gets the bus type.

Available since: 2.0.14

fu_hidraw_device_get_feature

Do a HID GetFeature request.

Available since: 2.0.0

fu_hidraw_device_get_input

Do a HID GetInput request.

Available since: 2.0.19

fu_hidraw_device_get_report

Do a HID GetInputReport request.

Available since: 2.0.14

fu_hidraw_device_parse_descriptor

Retrieves and parses the HID descriptor.

Available since: 2.0.12

fu_hidraw_device_set_feature

Do a HID SetFeature request.

Available since: 2.0.0

fu_hidraw_device_set_report

Do a HID SetOutputReport request.

Available since: 2.0.14

Methods inherited from FuUdevDevice (44)

Please see FuUdevDevice for a full list of methods.

Methods inherited from FuDevice (197)

Please see FuDevice for a full list of methods.

Methods inherited from FwupdDevice (103)

Please see FwupdDevice for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from FwupdCodec (8)
fwupd_codec_add_string

Converts an object that implements FwupdCodec to a debug string, appending it to str.

Available since: 2.0.0

fwupd_codec_from_json

Converts an object that implements FwupdCodec from a JSON object.

Available since: 2.0.0

fwupd_codec_from_json_string

Converts an object that implements FwupdCodec from a JSON string.

Available since: 2.0.0

fwupd_codec_from_variant

Converts an object that implements FwupdCodec from a GVariant value.

Available since: 2.0.0

fwupd_codec_to_json

Converts an object that implements FwupdCodec to a JSON builder object.

Available since: 2.0.0

fwupd_codec_to_json_string

Converts an object that implements FwupdCodec to a JSON string.

Available since: 2.0.0

fwupd_codec_to_string

Converts an object that implements FwupdCodec to a debug string.

Available since: 2.0.0

fwupd_codec_to_variant

Converts an object that implements FwupdCodec to a GVariant.

Available since: 2.0.0

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:devtype

The device type.

Available since: 2.0.0

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

Properties inherited from FuDevice (14)
FwupdPlugin.Device:backend

The FuBackend that created the device.

Available since: 2.0.0

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:equivalent-id

The device equivalent ID.

Available since: 2.0.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:pid

The device product ID.

Available since: 2.0.0

FwupdPlugin.Device:private-flags

The device private flags.

Available since: 1.9.1

FwupdPlugin.Device:proxy

The device proxy to use.

Available since: 1.4.1

FwupdPlugin.Device:required-free

The required amount of free firmware space.

Available since: 2.0.12

FwupdPlugin.Device:update-image

The update image for the device.

Available since: 2.0.0

FwupdPlugin.Device:update-message

The device update message.

Available since: 2.0.0

FwupdPlugin.Device:vid

The device vendor ID.

Available since: 2.0.0

Properties inherited from FwupdDevice (14)
Fwupd.Device:battery-level

The device battery level in percent.

Available since: 1.5.8

Fwupd.Device:battery-threshold

The device battery threshold in percent.

Available since: 1.5.8

Fwupd.Device:flags

The device flags.

Available since: 0.9.3

Fwupd.Device:id

The device ID.

Available since: 2.0.0

Fwupd.Device:parent

The device parent.

Available since: 1.0.8

Fwupd.Device:percentage

The current device percentage.

Available since: 1.8.11

Fwupd.Device:problems

The problems with the device that the user could fix, e.g. “lid open”.

Available since: 1.8.1

Fwupd.Device:request-flags

The device request flags.

Available since: 1.9.10

Fwupd.Device:status

The current device status.

Available since: 1.4.0

Fwupd.Device:update-error

The device update error.

Available since: 0.9.8

Fwupd.Device:update-state

The device update state.

Available since: 0.9.8

Fwupd.Device:vendor

The device vendor.

Available since: 2.0.17

Fwupd.Device:version

The device version.

Available since: 1.8.15

Fwupd.Device:version-format

The version format of the device.

Available since: 1.2.9

Signals

Signals inherited from FuUdevDevice (1)
FwupdPlugin.UdevDevice::changed

The ::changed signal is emitted when the low-level GUdevDevice has changed.

Available since: 1.1.2

Signals inherited from FuDevice (3)
FwupdPlugin.Device::child-added

The ::child-added signal is emitted when a device has been added as a child.

Available since: 1.0.8

FwupdPlugin.Device::child-removed

The ::child-removed signal is emitted when a device has been removed as a child.

Available since: 1.0.8

FwupdPlugin.Device::request

The ::request signal is emitted when the device needs interactive action from the user.

Available since: 1.6.2

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdPluginHidrawDeviceClass {
  FuUdevDeviceClass parent_class;
  
}
Class members
parent_class
FuUdevDeviceClass
  No description available.