| Top |
| typedef | GUsbContext |
| typedef | GUsbDevice |
| #define | FU_TYPE_USB_DEVICE |
| struct | FuUsbDeviceClass |
| FuUsbDevice |
FuUsbDevice *
fu_usb_device_new (GUsbDevice *usb_device);
fu_usb_device_new is deprecated and should not be used in newly-written code.
Creates a new FuUsbDevice.
Since: 1.0.2
FuUsbDevice * fu_usb_device_new_with_context (FuContext *ctx,GUsbDevice *usb_device);
Creates a new FuUsbDevice.
Since: 1.7.1
guint16
fu_usb_device_get_vid (FuUsbDevice *self);
Gets the device vendor code.
Since: 1.1.2
guint16
fu_usb_device_get_pid (FuUsbDevice *self);
Gets the device product code.
Since: 1.1.2
guint16
fu_usb_device_get_spec (FuUsbDevice *self);
Gets the string USB revision for the device.
Since: 1.3.4
GUsbDevice *
fu_usb_device_get_dev (FuUsbDevice *device);
Gets the GUsbDevice.
Since: 1.0.2
void fu_usb_device_set_dev (FuUsbDevice *device,GUsbDevice *usb_device);
Sets the GUsbDevice to use.
Since: 1.0.2
gboolean
fu_usb_device_is_open (FuUsbDevice *device);
Finds out if a USB device is currently open.
Since: 1.0.3
GUdevDevice * fu_usb_device_find_udev_device (FuUsbDevice *device,GError **error);
Gets the matching GUdevDevice for the GUsbDevice.
Since: 1.3.2