code: def capture_usb_device(self, id_p, capture_filename):
          
          if not isinstance(id_p, basestring):
              raise TypeError("id_p can only be an instance of type basestring")
          if not isinstance(capture_filename, basestring):
              raise TypeError("capture_filename can only be an instance of type basestring")
          self._call("captureUSBDevice",
                       in_p=[id_p, capture_filename])
docs: Requests a capture of the given host USB device.
          When the request is completed, the VM process will
          get a :py:func:`IInternalSessionControl.on_usb_device_attach` 
          notification.
  
          in id_p of type str
  
          in capture_filename of type str