快速重新插入后未检测到USB记忆棒 [英] USB stick remove not detected after quick re-insert

查看:89
本文介绍了快速重新插入后未检测到USB记忆棒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从设备上取下USB记忆棒并立即重新插入,那么有时dir命令会显示2个USB记忆棒(\硬盘和\硬盘2)。

If I remove USB memory stick from device and re-insert it immediately then sometimes  dir command shows me 2 USB sticks (\hard disk and \hard disk2).

\ hard disk2是真实的,我可以访问此文件夹中的文件。我无法访问\ hard disk中的文件

\hard disk2 is the real one, I can access the files in this folder. I can not acess the files in \hard disk

如果我然后永久删除USB记忆棒,那么仍会显示\硬盘。

If I then remove the USB stick permanently then \hard disk is still shown.

所以很明显没有正确检测到USB棒的移除。

So obviously removing of USB stick is not detected correctly.

我用WEC7看到了这一点,但是Wince5可能会产生这个错误。

I saw this with WEC7 but could produce this error with Wince5.

有什么想法?

推荐答案

自从将USB堆栈添加到CE后,USB堆栈一直是个问题。通过正确序列化附加/分离并添加更多错误恢复可以做很多事情,但这不是一件容易的事。
The USB stack has been a problem child ever since it was added to CE. A lot can be done by properly serializing attach/detach and adding more error recovery, but it's not an easy task.


这篇关于快速重新插入后未检测到USB记忆棒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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