您的位置:首页 > 其它

关于Windows8.1下TQ210开发板USB下载驱动安装问题的解决办法

2015-04-29 21:03 731 查看
本人系统配置:Windows8.1操作系统,AMD A8 64位处理器,在安装TQ210开发板USB下载驱动时一直出现“Windows已找到设备的驱动程序软件,但在试图安装它时遇到错误”的问题,闹腾了一个星期都没解决。今天转变方式安装,在“磁盘安装”选择好后,点确定又提示软件兼容性问题,忽然一个想法闪现出来:既然是要安装AMD64位的驱动程序,何不把驱动程序的.inf文件中与AMD64无关的描述全部去掉,只让系统“专心”地安装AMD64相关的部分不就行了。于是果断把x86、ia64等不相关的描述全部删掉,更改后的.inf文件如下:

;EmbedSky_TQ_Board.inf

; Copyright (c) 2010libusb-win32 (GNU LGPL)

[Strings]

DeviceName ="EmbedSky TQ Board"

VendorName ="EmbedSky"

SourceName = "EmbedSkyTQ Board Install Disk"

DeviceID   = "VID_04E8&PID_1234"

DeviceGUID ="{B58B4CD6-E307-4866-9AF1-9C39EBB7D487}"

 

[Version]

Signature   = "$Windows NT$"

Class       = "libusb-win32 devices"

ClassGuid   = {EB781AAF-9C70-4523-A5DF-642A87ECA567}

Provider    = "libusb-win32"

CatalogFile =EmbedSky_TQ_Board.cat

DriverVer   = 01/18/2012, 1.2.6.0

 

[ClassInstall32]

Addreg =libusb_class_install_add_reg

 

[libusb_class_install_add_reg]

HKR,,,0,"libusb-win32devices"

HKR,,Icon,,-20

 

[Manufacturer]

%VendorName% =Devices, NT, NTAMD64, NTIA64

 

;--------------------------------------------------------------------------

; libusb-win32 files

;--------------------------------------------------------------------------

 

[SourceDisksNames]

1 = %SourceName%

 

[SourceDisksFiles.amd64]

libusb0.sys     = 1,amd64

libusb0.dll     = 1,amd64

 

[DestinationDirs]

libusb_files_sys       = 10,system32\drivers

libusb_files_dll       = 10,system32

libusb_files_dll_wow64= 10,syswow64

libusb_files_dll_x86   = 10,system32

 

[libusb_files_sys]

libusb0.sys

 

[libusb_files_dll]

libusb0.dll

 

;--------------------------------------------------------------------------

; libusb-win32 devicedriver

;--------------------------------------------------------------------------

[LIBUSB_WIN32_DEV.NTAMD64]

CopyFiles =libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64

 

[LIBUSB_WIN32_DEV.NTAMD64.HW]

DelReg =libusb_del_reg_hw

AddReg =libusb_add_reg_hw

 

[LIBUSB_WIN32_DEV.NTAMD64.Services]

AddService = libusb0,0x00000002, libusb_add_service

 

; Older versions ofthis .inf file installed filter drivers. They are not

; needed any more andmust be removed

[libusb_del_reg_hw]

HKR,,LowerFilters

HKR,,UpperFilters

 

; libusb-win32 deviceproperties

[libusb_add_reg_hw]

HKR,,SurpriseRemovalOK,0x00010001,1

 

; (Optional) the usbconfiguration value to select when this device

; is started.  If this key does not exist the first configis selected.

;HKR,,InitialConfigValue,0x00010001,<yourconfig value>

 

;--------------------------------------------------------------------------

; libusb-win32service

;--------------------------------------------------------------------------

 

[libusb_add_service]

DisplayName   = "libusb-win32 - Kernel Driver01/18/2012 1.2.6.0"

ServiceType   = 1

StartType     = 3

ErrorControl  = 0

ServiceBinary =%12%\libusb0.sys

 

;--------------------------------------------------------------------------

; libusb-win32devices

;--------------------------------------------------------------------------

 

; Hardware IDs in a'Devices' section can be installed by libusb-win32

; usingusb_install_driver_np(), usb_install_driver_np_rundll(), or the

; inf-wizard utility.

;

[Devices.NTAMD64]

%DeviceName% =LIBUSB_WIN32_DEV.NTAMD64, USB\%DeviceID%

然后重新安装驱动程序,呵呵,竟然开始安装了,持续了约几十秒后,竟然提示“第三方inf不包含数字签名信息”。针对这个问题我是自信满满,然后就打开电脑设置——>更新与恢复——>立即重启——>疑难解答——>高级选项——>启动设置——>重启,在重新启动过程中出现的界面中选择“禁用驱动程序强制签名”。系统启动过之后,重新安装驱动程序,看着那个进度条来回晃动,心里那个怕呀,生怕有安装失败。过了约半分钟,竟然提示安装成功了,总算松了一口气。然后再查看设备管理器,出现libusb-win32devices——>EmbedSkyTQ
Board设备,如下图中红色方框内所示。

至此,TQ210在Windows8.1 AMD64系统下的安装完成了。在此前解决这个问题过程中,我也想过要修改驱动程序inf文件的想法,但又生怕动了那个地方更安装不上。看来,做事情,不但要敢想,还要敢做,这样才有机会获得成功啊!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐