简体   繁体   English

是否可以阻止Windows将SOF数据包发送到我的USB设备?

[英]Is it possible to stop windows from sending SOF packet to my USB device?

I want to test if my USB device will enter suspend after 3ms of IDLE state, but my PC host keeps send SOF packet every 1ms so I want to stop it for ~3ms. 我想测试3ms空闲状态后USB设备是否将进入挂起状态,但是我的PC主机每1ms不断发送一次SOF数据包,因此我想将其停止3ms。 Is it possible? 可能吗?

The simplest way is to just tell your computer to go to sleep. 最简单的方法是只告诉您的计算机进入睡眠状态。

Another way that I think would work would be to connect your device to a USB hub (possibly a root hub inside your computer) that is not being used for any other devices, and then use the Device Manager to disable that hub. 我认为可行的另一种方法是将设备连接到未用于任何其他设备的USB集线器(可能是计算机内部的根集线器),然后使用设备管理器禁用该集线器。 Just right-click on the hub and select "Disable". 只需右键单击集线器,然后选择“禁用”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM