Ubuntu下调试USB通信
环境:Ubuntu 16,libusb1.0.22测试对象:U盘程序源代码:#include <errno.h>#include <stdio.h>#include <stdlib.h>#include "libusb.h"static struct libusb_device_handle *devh = NULL;static unsigned char imgbuf[4] = {'a',