SpiceClientGLib.UsbDevice¶
Fields¶
None
Methods¶
  | 
|
Details¶
- class SpiceClientGLib.UsbDevice¶
 The
SpiceClientGLib.UsbDevicestruct is opaque and cannot be accessed directly.- get_description(format)¶
 - Parameters:
 format (
strorNone) – an optional printf() format string with positional parameters- Returns:
 a newly-allocated string holding the description, or
Noneif failed- Return type:
 
Get a string describing the device which is suitable as a description of the device for the end user. The returned string should be freed with
GLib.free() when no longer needed.The format positional parameters are the following:
\%s manufacturer
\%s product
\%s descriptor (a [vendor_id:product_id] string)
\%d bus
\%d address
(the default format string is “\%s \%s \%s at \%d-\%d”)
- get_libusb_device()¶
 - Returns:
 the %libusb_device associated to
SpiceClientGLib.UsbDevice.- Return type:
 
Finds the %libusb_device associated with the self.
New in version 0.27.