随笔分类 -  驱动内核

上一页 1 ··· 10 11 12 13 14 15 16 17 18 下一页

驱动内核
摘要:双链表 quacklist 内核 模块加载 阅读全文

posted @ 2019-11-04 21:05 lydstory 阅读(88) 评论(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 阅读(6773) 评论(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 阅读(527) 评论(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 阅读(462) 评论(0) 推荐(0)

摘要:https://bbs.csdn.net/topics/391012708?list=lz 阅读全文

posted @ 2019-10-28 17:28 lydstory 阅读(1368) 评论(0) 推荐(0)

摘要:linux syslog支持 linux syslog支持 linux syslog支持 ??????? https://wenku.baidu.com/view/8cc6b50a02020740be1e9bf5.html #include <syslog.h> 阅读全文

posted @ 2019-10-28 15:46 lydstory 阅读(504) 评论(0) 推荐(0)

摘要:返回值 函数参数 类型强制转换 阅读全文

posted @ 2019-10-28 15:06 lydstory 阅读(118) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/u013271326/article/details/78230788 阅读全文

posted @ 2019-10-28 14:26 lydstory 阅读(161) 评论(0) 推荐(0)

摘要:count 声明位置错了,纯c中声明变量全部放在main函数里,最前面的位置,要么vc6.0会报错; 修改 #include <stdio.h> int main(void) { int count; printf("\n**********\n"); for (count=1;count<=8;++count) printf("\n* *"); printf("\n**********\n"); 阅读全文

posted @ 2019-10-28 11:14 lydstory 阅读(196) 评论(0) 推荐(0)

摘要:wireshark只是展示 阅读全文

posted @ 2019-10-28 10:14 lydstory 阅读(363) 评论(0) 推荐(0)

摘要:https://github.com/IzyaSoft/EasyUsb https://github.com/ztguang/libusb-usbip-bulktransfer/blob/master/test_libusb.c https://github.com/wangbaiqiang/lib 阅读全文

posted @ 2019-10-28 00:00 lydstory 阅读(261) 评论(0) 推荐(0)

摘要:https://github.com/Kakadu/Qt_libusb https://github.com/mcvsama/libusbcc/tree/master/src/libusbcc https://github.com/tianxiejack/libusbTest/blob/master 阅读全文

posted @ 2019-10-27 23:25 lydstory 阅读(357) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/juzihongle1/article/details/76598723 阅读全文

posted @ 2019-10-27 22:31 lydstory 阅读(610) 评论(0) 推荐(0)

摘要:gcc 对齐 阅读全文

posted @ 2019-10-27 22:24 lydstory 阅读(106) 评论(0) 推荐(0)

摘要:http://libusb.sourceforge.net/api-1.0/structlibusb__transfer.html int libusb_control_transfer(libusb_device_handle *dev_handle, uint8_t bmRequestType, 阅读全文

posted @ 2019-10-27 22:15 lydstory 阅读(673) 评论(0) 推荐(0)

摘要:NTPPORT 阅读全文

posted @ 2019-10-27 22:02 lydstory 阅读(133) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/cuihuan2222/article/details/44727307 阅读全文

posted @ 2019-10-26 21:47 lydstory 阅读(213) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/u014647208/article/details/80525226 https://blog.csdn.net/kulala082/article/details/68942168 windows测试使用说明 阅读全文

posted @ 2019-10-26 21:37 lydstory 阅读(167) 评论(0) 推荐(0)

摘要:1)usb3.0 在windows使用winusb时,出现ReadFile的input buffer 太大时,读不到数据问题? 2)linux下,usb 3.0 libusb_claim_interface fail ,error=-5 对于一些linux标准支持的设备(如HID设备),可能需要使用 阅读全文

posted @ 2019-10-26 21:27 lydstory 阅读(1276) 评论(0) 推荐(0)

摘要:libusb_bulk_transfer返回值不是0 libusb_bulk_transfer返回值不是0libusb_bulk_transfer返回值不是0 ????? 阅读全文

posted @ 2019-10-25 13:40 lydstory 阅读(835) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 下一页

导航