+int hmcfgusb_send_null_frame(struct hmcfgusb_dev *usbdev, int silent)
+{
+ int err;
+ int cnt;
+ unsigned char out[0x40];
+
+ memset(out, 0, sizeof(out));
+
+ err = libusb_interrupt_transfer(usbdev->usb_devh, EP_OUT, out, sizeof(out), &cnt, USB_TIMEOUT);
+ if (err && (!silent)) {
+ fprintf(stderr, "Can't send null frame: %s\n", usb_strerror(err));
+ return 0;
+ }
+
+ return 1;
+}
+