USB驱动学习 ---- USB设备每换一个新口,就的重新安装驱动,正常吗?

当USB设备缺少有效Serial Number时,Windows会基于其在不同端口的位置生成Instance ID,导致每次更换端口都需要重新安装驱动。如果有唯一Serial Number,系统能识别为同一设备。微软规定,USB串号必须唯一且遵循特定字符规则,避免设备混淆。
摘要由CSDN通过智能技术生成

USB设备每换一个新口,就的重新安装驱动,正常吗?

这种情况是因为 USB 设备没有 Serial Number(或Serial Number无效)。所以bus driver 就根据它的位置信息来生成 InstanceID。如果 USB device 指定了有效的 SerialNumber,则系统始终将该设备识别成同一个设备(Instance ID就是SerialNumber)。


参考文档:
http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx

You may have noticed that if you take a USB device and plug it into your computer, Windows recognizes it and configures it. Then if you unplug it and replug it into a different USB port, Windows gets a bout of amnesia and thinks that it's a completely different device instead of using the settings that applied when you plugged it in last time. Why is that?

The USB device people explained that this happens when the device lacks a USB serial n

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值