加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

installer – 预安装WinXP USB驱动程序,以便无需交互即可连接设

发布时间:2020-12-14 02:55:27 所属栏目:Windows 来源:网络整理
导读:我们是一家小型硬件制造商.我们的大多数产品都使用USB对所用的控制器进行编程. 目前的情况是对硬件(组装处理器的一部分)进行编程是相当费力的. 每次插入新USB设备时,Windows都会提示安装驱动程序.这意味着对于每个新产品,我们必须经历“不,不要上网”的过程
我们是一家小型硬件制造商.我们的大多数产品都使用USB对所用的控制器进行编程.
目前的情况是对硬件(组装处理器的一部分)进行编程是相当费力的.
每次插入新USB设备时,Windows都会提示安装驱动程序.这意味着对于每个新产品,我们必须经历“不,不要上网”的过程 – > “是的,自动搜索” – > “完成”.我们甚至不得不为每种产品做两次.

我一直在试验Windows预安装程序(DPInst),但这似乎只是促成了成功的“是,自动搜索”部分.
有没有办法在插入USB设备后完全自动安装驱动程序?

亲切的问候,

罗纳德

解决方法

我认为你的设备有一个独特的USB序列号,因此每一个都被检测为一个以前从未见过的新设备.

如果是这样,那么解决方案就是这个,从http://www.lvr.com/usbfaq.htm开始:

During device testing,we attach many
devices that are identical except for
the serial numbers. How can I prevent
Windows from asking to install a new
driver every time a device is
attached?

The method described below causes
Windows 2000 and XP to ignore a
device’s serial number. It’s
recommended for test environments
only.

This registry key controls whether
Windows uses or ignores device serial
numbers:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlUsbFlags]

It’s possible to ignore all serial
numbers,though this approach is NOT
recommended. To ignore all serial
numbers,in the above key,change this
value to zero:

GlobalDisableSerNumGen = 1

To ignore the serial number for an
individual device,create an entry
under the above …UsbFlags key. The
name must start with “IgnoreHWSerNum”
followed by the vendor and product ID
of the device. A value of 1 = “disable
the serial number.”

Example (Vendor ID = 0925h,Product ID
= 016Ah):

IgnoreHWSerNum0925016A= 1

另一种硬件/固件解决方案是在生产期间禁用设备USB序列号(例如,使用链接,可能是由测试夹具制作的链接).如果没有USB序列号,Windows将根据其在连接树中的位置为设备分配伪序列号.这在生产运行期间不太可能发生变化,因此所有设备都将被视为相同,Windows不会对新驱动程序的内容感到烦恼.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读