Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个 libusb 程序来与 USB 游戏手柄交互。我找到它,打开它,从内核分离,声明接口,当我尝试 usb_interrupt_read 它返回 -110(资源暂时不可用)在做什么?
另外,usb_set_configuration 失败,所以我把它注释掉了。我需要吗?
为什么不读书了?
i = usb_interrupt_read(handle, 0x81, bytes, 8, 50); printf("%d read\n", i); perror("read");