2019年10月30日

摘要: hg 如何回退 hg ... ? ? ? 阅读全文
posted @ 2019-10-30 14:02 lydstory 阅读(475) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/chenyuejun/p/3867846.html 阅读全文
posted @ 2019-10-30 13:28 lydstory 阅读(1055) 评论(0) 推荐(0)
摘要: 同步方式 libusb_bulk_transfer(devh, ep_bulk, buf, CAM_BUF_SZ, &len, timeout); 进入libusb研究,发现libusb是采用异步方式来实现的。在do_sync_bulk_transfer中: staticint do_sync_bu 阅读全文
posted @ 2019-10-30 10:05 lydstory 阅读(6723) 评论(0) 推荐(0)
摘要: 基于libusbx-1.0.18-rc1,libusbx现已重新merage到libusb。1. 初始化使用libusb_init初始化libusb,如果是单设备通信,ctx参数可以传NULL,表示使用默认Context.2. 注册hotplug事件侦听从1.0.16开始,libusb支持hotpl 阅读全文
posted @ 2019-10-30 09:53 lydstory 阅读(521) 评论(0) 推荐(0)
摘要: libusb_fill_control_transfer(transfer, devh, buf, ctrl_urb_complete_cb, utrans, 1000); transfer->flags = LIBUSB_TRANSFER_FREE_BUFFER; if (libusb_submi 阅读全文
posted @ 2019-10-30 09:39 lydstory 阅读(460) 评论(0) 推荐(0)
摘要: https://www.2cto.com/kf/201609/549571.html 阅读全文
posted @ 2019-10-30 08:59 lydstory 阅读(661) 评论(0) 推荐(0)

导航