阅读:2333回复:10
※简单问题:☆☆☆(100分)☆☆☆ 周立功D12源码用2000编译后在98下可装上,但在2000下装不上。怎末办? 谁有
我用的类似周立功的板子。应该有很多人做过的。
源码用2000编译后在98下可装上,但在2000下装不上 指定驱动所在目录让2000搜索时,总找nt/inf/usb.inf,最后显示unknow device. 删除usb.inf,提示找不到功能驱动程序或无法为这个设备找到一个驱动程序。 手动指定inf时,提示可能不兼容,继续安装。安装后的驱动带“!”号。问题为:该设备无法启动。 (代码 10) win2000下的d12驱动怎末做? //原inf文件 [Version] Signature=\"$CHICAGO$\" Class=USB provider=%PHILIPS% LayoutFile=layout.inf [Manufacturer] %MfgName%=Philips [Philips] %USB\\VID_0471&PID_0222.DeviceDesc%=D12TEST.Dev, USB\\VID_0471&PID_0222 %USB\\VID_0471&PID_0666.DeviceDesc%=D12TEST.Dev, USB\\VID_0471&PID_0666 %USB\\VID_0471&PID_0888.DeviceDesc%=D12TEST.Dev, USB\\VID_0471&PID_0888 [PreCopySection] HKR,,NoSetupUI,,1 [DestinationDirs] D12TEST.Files.Ext = 10,System32\\Drivers D12TEST.Files.Inf = 10,INF [D12TEST.Dev] CopyFiles=D12TEST.Files.Ext AddReg=D12TEST.AddReg [D12TEST.Dev.NT] CopyFiles=D12TEST.Files.Ext AddReg=D12TEST.AddReg [D12TEST.Dev.NT.Services] Addservice = D12TEST, 0x00000002, D12TEST.AddService [D12TEST.AddService] DisplayName = %D12TEST.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\D12TEST.sys LoadOrderGroup = Base [D12TEST.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,D12TEST.sys HKLM,\"System\\Currentcontrolset\\Services\\D12TEST\\Parameters\",\"MaximumTransferSize\",0x10001,65536 HKLM,\"System\\Currentcontrolset\\Services\\D12TEST\\Parameters\",\"DebugLevel\",0x10001,2 [D12TEST.Files.Ext] D12TEST.sys ;---------------------------------------------------------------; [Strings] PHILIPS=\"Philips Semiconductors\" MfgName=\"Philips\" USB\\VID_0471&PID_0222.DeviceDesc=\"Philips PDIUSBD12 Evaluation Board\" USB\\VID_0471&PID_0666.DeviceDesc=\"Philips PDIUSBD12 SMART Evaluation Board\" USB\\VID_0471&PID_0888.DeviceDesc=\"Philips PDIUSBD12 USB-EPP Evaluation Board\" D12TEST.SvcDesc=\"D12TEST.Sys PDIUSBD12 Bulk IO test driver\" |
|
|
沙发#
发布于:2003-10-09 14:11
你到周立功网站上下载“usb调试助手1.2版”,那里有2000的驱动
|
|
板凳#
发布于:2003-10-09 15:24
试过了,不行。。。
|
|
|
地板#
发布于:2003-10-09 16:11
试试这个inf
|
|
|
地下室#
发布于:2003-10-09 16:22
调试信息:
00000000 0.00000000 UsbSnoop 0.13 - Entering DriverEntry: DriverObject 810E1DF0 00000001 0.00001928 UsbSnoop - Running under Windows 2K 00000002 0.00212625 D12TEST.SYS: entering (D12) DriverEntry 00000003 0.00214524 D12TEST.SYS: exiting (D12) DriverEntry (0) 00000004 0.00292356 UsbSnoop - Entering AddDevice: DriverObject 810E1DF0, pdo 84B527F0 00000005 0.00296295 D12TEST.SYS: enter D12_PnPAddDevice 00000006 0.00339401 D12TEST.SYS: ntStatus from IoCallDriver to PCI = 0x0 00000007 0.00341300 D12TEST.SYS: >>>>>> DeviceCaps 00000008 0.00342362 D12TEST.SYS: SystemWake = (4) 00000009 0.00343396 D12TEST.SYS: DeviceWake = (D0) 00000010 0.00344569 D12TEST.SYS: Device State Map: sysstate 0 = devstate 0x0 00000011 0.00345826 D12TEST.SYS: Device State Map: sysstate 1 = devstate 0x1 00000012 0.00347083 D12TEST.SYS: Device State Map: sysstate 2 = devstate 0x4 00000013 0.00348340 D12TEST.SYS: Device State Map: sysstate 3 = devstate 0x4 00000014 0.00349598 D12TEST.SYS: Device State Map: sysstate 4 = devstate 0x4 00000015 0.00350855 D12TEST.SYS: Device State Map: sysstate 5 = devstate 0x4 00000016 0.00352112 D12TEST.SYS: Device State Map: sysstate 6 = devstate 0x3 00000017 0.00353173 D12TEST.SYS: \'<<<<<<<<DeviceCaps 00000018 0.00354291 D12TEST.SYS: exit D12_PnPAddDevice (0) 00000019 0.00358006 D12TEST.SYS: IRP_MJ_PNP 00000020 0.00359040 D12TEST.SYS: PnP IOCTL not handled 00000021 0.00360130 D12TEST.SYS: Passing PnP Irp down, status = 0 00000022 0.00361331 UsbSnoop - IRP_MJ_PNP (IRP_MN_QUERY_ALL_DATA) 00000023 0.00363985 D12TEST.SYS: Pending io count = 1 00000024 0.00365018 D12TEST.SYS: Exit D12_Dispatch 0 00000025 0.00366527 *** IopQueryLegacyBusInformation - Driver D12TEST returned STATUS_SUCCESS 00000026 0.00367756 for IRP_MN_QUERY_LEGACY_BUS_INFORMATION, and a NULL POINTER. 00000027 0.00598540 D12TEST.SYS: IRP_MJ_PNP 00000028 0.00600607 D12TEST.SYS: PnP IOCTL not handled 00000029 0.00601780 D12TEST.SYS: Passing PnP Irp down, status = 0 00000030 0.00603038 UsbSnoop - IRP_MJ_PNP (IRP_MN_QUERY_RESOURCE_REQUIREMENTS) 00000031 0.00606055 D12TEST.SYS: Pending io count = 1 00000032 0.00607144 D12TEST.SYS: Exit D12_Dispatch 0 00000033 0.00614855 D12TEST.SYS: IRP_MJ_PNP 00000034 0.00616084 D12TEST.SYS: PnP IOCTL not handled 00000035 0.00617173 D12TEST.SYS: Passing PnP Irp down, status = 0 00000036 0.00618319 UsbSnoop - IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS) 00000037 0.00620582 D12TEST.SYS: Pending io count = 1 00000038 0.00621615 D12TEST.SYS: Exit D12_Dispatch 0 00000039 0.00629717 D12TEST.SYS: IRP_MJ_PNP 00000040 0.00630974 D12TEST.SYS: IRP_MN_START_DEVICE 00000041 0.00632147 UsbSnoop - IRP_MJ_PNP (IRP_MN_START_DEVICE) 00000042 0.00672041 D12TEST.SYS: enter D12_StartDevice 00000043 0.00673521 D12TEST.SYS: enter D12_ResetIrpQueue 00000044 0.00674695 D12TEST.SYS: enter D12_CallUSBD 00000045 0.00675980 D12TEST.SYS: calling USBD 00000046 0.00677377 UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB 00000047 0.00678578 00000048 0.00679137 >>>>>>> URB 1 going down... 00000049 0.00680338 -- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE: 00000050 0.00681539 TransferBufferLength = 00000012 00000051 0.00683606 TransferBuffer = 87b645a8 00000052 0.00684668 TransferBufferMDL = 00000000 00000053 0.00685758 Index = 00 00000054 0.00686931 DescriptorType = 01 (USB_DEVICE_DESCRIPTOR_TYPE) 00000055 0.00688020 LanguageId = 0000 00000056 0.00689250 00000057 0.00689808 <<<<<<< URB 1 coming back... 00000058 0.00690814 -- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE: 00000059 0.00691904 TransferBufferLength = 00000012 00000060 0.00692993 TransferBuffer = 87b645a8 00000061 0.00693999 TransferBufferMDL = 00000000 00000062 0.00694921 00000063 0.00708358 0000: 00 00 00 00 91 23 00 00 a8 e6 a5 ff 00 00 00 00 00000064 0.00711040 0010: 00 00 00000065 0.00711990 Index = 00 00000066 0.00713191 DescriptorType = 01 (USB_DEVICE_DESCRIPTOR_TYPE) 00000067 0.00714281 LanguageId = 0000 00000068 0.00716739 D12TEST.SYS: return from IoCallDriver USBD c000000d 00000069 0.00718192 D12TEST.SYS: URB status = 816e7570 status = 0 irp status c000000d 00000070 0.00719393 D12TEST.SYS: exit D12_CallUSBD (c000000d) 00000071 0.00720706 D12TEST.SYS: exit D12_StartDevice (c000000d) 00000072 0.00722662 D12TEST.SYS: Pending io count = 1 00000073 0.00723807 D12TEST.SYS: Exit D12_Dispatch c000000d 00000074 0.01804978 D12TEST.SYS: IRP_MJ_PNP 00000075 0.01807185 D12TEST.SYS: IRP_MN_REMOVE_DEVICE 00000076 0.01808302 D12TEST.SYS: Pending io count = 1 00000077 0.01809588 UsbSnoop - IRP_MJ_PNP (IRP_MN_REMOVE_DEVICE) 00000078 0.01837748 D12TEST.SYS: Pending io count = 0 00000079 0.01839368 D12TEST.SYS: enter D12_RemoveDevice 00000080 0.01859091 D12TEST.SYS: exit D12_RemoveDevice (0) 00000081 0.01860572 D12TEST.SYS: Detaching from 82F1D960 00000082 0.01861941 D12TEST.SYS: Deleting 80AF1030 00000083 0.01863896 D12TEST.SYS: Exit D12_Dispatch 0 00000084 0.01872864 UsbSnoop - Entering DriverUnload: DriverObject 810E1DF0 00000085 0.01887195 D12TEST.SYS: enter D12_Unload 00000086 0.01888536 D12TEST.SYS: exit D12_Unload |
|
|
5楼#
发布于:2003-10-09 16:33
还不行。。。
晕。。。 |
|
|
6楼#
发布于:2003-10-09 16:40
大虾都不在么??
这是1581的,你看有没有帮助吧。是用ds生成的。 ;; MyDrv1.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 Win2K DDK documentation contains an excellent INF reference. ;--------- Version Section --------------------------------------------------- [Version] Signature=\"$Windows 95$\" Provider=%ProviderName% DriverVer=06/13/2003, 13.06.2003 ; 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=USB ;ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} ;--------- 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] ;MyDrv1.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] MyDrv1_Files_Driver = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] %DeviceDesc%=MyDrv1_DDI, USB\\VID_0471&PID_1801 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [MyDrv1_DDI] CopyFiles=MyDrv1_Files_Driver AddReg=MyDrv1_9X_AddReg [MyDrv1_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,MyDrv1.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [MyDrv1_DDI.NT] CopyFiles=MyDrv1_Files_Driver AddReg=MyDrv1_NT_AddReg [MyDrv1_DDI.NT.Services] Addservice = MyDrv1, 0x00000002, MyDrv1_AddService [MyDrv1_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\MyDrv1.sys [MyDrv1_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\MyDrv1\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 ; --------- Files (common) ------------- [MyDrv1_Files_Driver] MyDrv1.sys |
|
7楼#
发布于:2003-10-09 17:57
wdy9927:
非常感谢!我不停在试。。。 xp下更惨,提示:没有硬件配置信息。 装都装不上。。。。 |
|
|
8楼#
发布于:2003-10-10 13:30
顶。。。。
|
|
|
9楼#
发布于:2003-10-11 08:56
UP......
|
|
|
10楼#
发布于:2003-10-13 13:21
终于找到问题了。
不是驱动不对,而是驱动冲突。。。 但xp下还是装不上,提示“找不到驱动信息” ///// 已经结贴。。。 回复参见: http://www.driverdevelop.com/forum/html_52501.html?1066021802 |
|
|