def _get_capabilities(self):
    self.usb_dev.ctrl_transfer(usb.util.build_request_type(usb.util.CTRL_IN, usb.util.CTRL_TYPE_CLASS, usb.util.CTRL_RECIPIENT_INTERFACE), Request.get_capabilities, 0, self.usb_intf.index, 24, timeout=self.timeout)
def _get_capabilities(self):
    self.usb_dev.ctrl_transfer(usb.util.build_request_type(usb.util.CTRL_IN, usb.util.CTRL_TYPE_CLASS, usb.util.CTRL_RECIPIENT_INTERFACE), Request.get_capabilities, 0, self.usb_intf.index, 24, timeout=self.timeout)