Class

FwupdPluginUsbDevice

[]

Description [src]

class FwupdPlugin.UsbDevice : FwupdPlugin.Device {
  parent_instance: FuDevice
}

A USB device.

See also: FuDevice, FuHidDevice

Descendants

[]

Constructors

fu_usb_device_new

Creates a new FuUsbDevice.

since: 1.8.2

[]

Instance methods

fu_usb_device_add_interface

Adds an interface that will be claimed on ->open() and released on ->close().

since: 1.7.4

fu_usb_device_find_udev_device

Gets the matching GUdevDevice for the GUsbDevice.

since: 1.3.2

fu_usb_device_get_dev

Gets the GUsbDevice.

since: 1.0.2

fu_usb_device_get_pid

Gets the device product code.

since: 1.1.2

fu_usb_device_get_platform_id

Gets the device platform ID.

since: 1.1.2

fu_usb_device_get_spec

Gets the string USB revision for the device.

since: 1.3.4

fu_usb_device_get_vid

Gets the device vendor code.

since: 1.1.2

fu_usb_device_is_open

Finds out if a USB device is currently open.

since: 1.0.3

fu_usb_device_set_configuration

Set the active bConfigurationValue for the device.

since: 1.7.4

fu_usb_device_set_dev

Sets the GUsbDevice to use.

since: 1.0.2

Methods inherited from FuDevice (155)
Methods inherited from FwupdDevice (112)
Methods inherited from GObject (43)
[]

Properties

FwupdPlugin.UsbDevice:usb-device

The low-level GUsbDevice.

since: 1.0.2

Properties inherited from FuDevice (6)
Properties inherited from FwupdDevice (13)
[]

Signals

Signals inherited from FuDevice (3)
Signals inherited from GObject (1)

Class structure