我可以用第二条PC USB电缆模拟USB记忆棒吗 [英] Can I emulate a USB memory stick with 2nd PC USB cable

查看:126
本文介绍了我可以用第二条PC USB电缆模拟USB记忆棒吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要测试大量机顶盒上的USB端口.记忆棒经常被盗.

我要解决的解决方案是在生产线上安装一台PC,并使用USB到USB电缆将其连接到机顶盒.然后,我将需要PC上的代码来模拟记忆棒.

这是可能吗?任何建议从何处开始.

I need to test the USB port on a large collection of set top boxes. Memory sticks are being stolen too often.

The solution I''m after is to have a PC on my production line and run a usb-to-usb cable from it to the set top box. I would then need code on the PC to emulate a memory stick.

Is this at all possible? Any suggestions where to start.

推荐答案

我将从
I would start with the Windows Driver Kit[^]. The last time I looked, they included a sample USB memory device driver. That would probably give you some hints.


我怀疑是否可以使用标准USB端口,而且我可以预见与PD等有关的所有问题.

我会在USB插槽空白板或类似的地方安装硬线,然后将其硬线连接到电缆,然后可以将其连接到PC的内存条中.
I doubt that it''s possible using a standard USB port and I can forsee all kinds of issues relating to PDs etc.

I would mount a USB socket drive blanking plate or somewhere similar and hardwire that to a cable which you can attach to the memory stick *inside* the PC.


这篇关于我可以用第二条PC USB电缆模拟USB记忆棒吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆