阅读:1186回复:8
提示找不到合适的驱动
在安装INF文件时,按确定提示找不到合适的驱动,但是不理它按下一步又可以安装驱动,并且最后提示安装完成,设备管理器也提示设备工作正常,,是怎么回事?
|
|
|
沙发#
发布于:2004-01-29 17:13
设备驱动程序的安装是先查找相同PID、VID的驱动,若没有则查找兼容的驱动程序。你可能安装了一个系统认为是兼容的驱动程序。
|
|
板凳#
发布于:2004-01-30 08:59
PID vid已经配合了,D12的灯也一直亮了
下一步不知道怎么调式了 指点一下 |
|
|
地板#
发布于:2004-01-30 09:31
可能是你的INF文件有问题,你再仔细检查一下。
|
|
地下室#
发布于:2004-01-30 09:41
;; T11.inf
;; ********* PLEASE READ *********** ;; The wizard cannot create exact INF files for all buses and device types. ;; You may have to make changes to this file in order to get your device to ;; install. In particular, hardware IDs and logical configurations require ;; intervention. ;; ;; The Windows DDK documentation contains an excellent INF reference. ;--------- Version Section --------------------------------------------------- [Version] Signature=\"$CHICAGO$\" ;;修改了 ; If device fits one of the standard classes, use the name and GUID here, ; otherwise create your own device class and GUID as this example shows. Class=NewDeviceClass ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} Provider=%ProviderName% ;--------- SourceDiskNames and SourceDiskFiles Section ----------------------- ; These sections identify source disks and files for installation. They are ; shown here as an example, but commented out. ;[SourceDisksNames] ;1 = \"Install Disk\",Disk1,, ;[SourceDisksFiles] ;T11.sys = 1,, ;--------- ClassInstall/ClassInstall32 Section ------------------------------- ; Not necessary if using a standard class ; 9X Style [ClassInstall] Addreg=Class_AddReg ; NT Style [ClassInstall32] Addreg=Class_AddReg [Class_AddReg] HKR,,,,%DeviceClassName% HKR,,Icon,,\"-18\" ;--------- DestinationDirs Section ------------------------------------------- [DestinationDirs] T11_Files_Driver = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] %DeviceDesc%=T11_DDI, USB\\VID_0471&PID_0050 ;;修改了 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [T11_DDI] CopyFiles=T11_Files_Driver AddReg=T11_9X_AddReg [T11_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,T11.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [T11_DDI.NT] CopyFiles=T11_Files_Driver AddReg=T11_NT_AddReg [T11_DDI.NT.Services] Addservice = T11, 0x00000002, T11_AddService [T11_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\T11.sys [T11_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\T11\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 ; --------- Files (common) ------------- [T11_Files_Driver] T11.sys ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName=\"科技\" MfgName=\"科技e\" DeviceDesc=\"设备\" DeviceClassName=\"类\" SvcDesc=\"驱动\" [编辑 - 1/30/04 by yyouking] |
|
|
5楼#
发布于:2004-01-30 09:44
帮我看一下 D12+C52
|
|
|
6楼#
发布于:2004-01-30 10:30
试试看:
;[SourceDisksNames] 1 = \"Install Disk\",Disk1,, ;[SourceDisksFiles] T11.sys = 1,, |
|
7楼#
发布于:2004-01-30 10:45
还是提示无法为这个设备找到一个合适的驱动
|
|
|
8楼#
发布于:2004-01-30 10:48
设备和接口描述副为:
code USB_DEVICE_DESCRIPTOR DeviceDescr = { sizeof(USB_DEVICE_DESCRIPTOR),//设备描述符大小 USB_DEVICE_DESCRIPTOR_TYPE,//描述符类型 SWAP(0x0110),//表示1。1版本的协议 0, //类 0, //子类 0,//协议 EP0_PACKET_SIZE,//端点0最大包大小 SWAP(0x0471), //VID SWAP(0x0051), //PID SWAP(0x0100),////设备发行号 0, //产品信息索引Manufactory 0, //设备索引Product 0, //设备序列号索引Serial Number 1 //设备配置数Number of possible configurations }; code USB_CONFIGURATION_DESCRIPTOR ConfigDescr = { sizeof(USB_CONFIGURATION_DESCRIPTOR),//配置描述符大小 USB_CONFIGURATION_DESCRIPTOR_TYPE,//描述符类型 SWAP(CONFIG_DESCRIPTOR_LENGTH),//设置信息总长(配置,接口,端点,设备类,厂商定义的描述表) 1,////此配置支持的接口数 1,//选择的接口编号(从1开始) 0,//此配置的描述索引 0x60,//特性[6-自给电源(可双向取电源),D5-远程唤醒] 0x0 //以2MS为单位的电源耗费量 }; code USB_INTERFACE_DESCRIPTOR InterfaceDescr = { sizeof(USB_INTERFACE_DESCRIPTOR),////端点描述符大小 USB_INTERFACE_DESCRIPTOR_TYPE,//类型 0,//接口号,当前设置支持的接口数组索引(从0开始) 0,//此接口的 NUM_ENDPOINTS,//此接口支持的端点数(0表示只控制端点) USB_CLASS_CODE_TEST_CLASS_DEVICE,//设备类 USB_SUBCLASS_CODE_TEST_CLASS_D12,//子类 USB_PROTOCOL_CODE_TEST_CLASS_D12,//协议 0 //索引 }; |
|
|