之前在网上查了一些内容, 知道了内核下有 gadget zero. 我insmod后, 插上usb线, 也有提示, lsusb下也有zero
在主机方面, ubuntu下, 也看到了提示usb提示,
但是两边都没有在/dev/下创建新的设备节点, 我该如何通信?...
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
che sinn 说:只需要 能跟主机通信就可以了. 不需要特别的产品接口. 应用程序到时候主机和从设备 都会我们来写, 有点类似于samsung公司芯片的dnw吧.
你找下一个叫做cdc的驱动,这个是基于串口的