通过软件在 OSX 上模拟 USB 插入
如何将 USB 设备节点注入 OSX (>= 10.5),以便您能够调试 USB 处理程序/编写新的 USB 驱动程序?
我对此很感兴趣,以便使用 TokenD 处理非 USB 设备。
从表面上看,我必须解决伪造的 USB 设备插入问题,然后创建一个 PC/SC ifdHandler 来处理这个伪造的设备。 (如果有人知道任何其他方式来注入不一定是设备支持的 TokenD,请告诉我!)。
我猜测 IOKit 可能参与了这个解决方案......因为这是我需要“欺骗”的底层项目。
How can I inject USB device nodes into OSX (>= 10.5) such as you might be able for debugging USB handlers / writing new USB drivers?
I'm interested in this in order to handle non-USB devices using TokenD.
From what it looks like, I would have to tackle faking USB-device insertion and then create a PC/SC ifdHandler that would handle this fake device. (If anyone knows of any other way to inject a not-necessarily-device-backed TokenD, let me know!).
I'm guessing IOKit may be involved in this solution... as that is the underlying item I need to 'trick'.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IOKit 几乎是唯一涉及的东西,在更具体的答案有意义之前,您必须很好地掌握它的工作原理。 如果苹果的文档不适合你,阿米特·辛格(Amit Singh)的书应该可以弥补很多不足,即使它有点过时。
IOKit is pretty much the only thing involved, and you'll have to get a good grip on how it works before more specific answers will make any sense. If Apple's documentation doesn't do it for you, Amit Singh's book should pick up a lot of the slack, even if it is a little bit dated.