阅读:1678回复:7
关于2000和98驱动的不同?
2000驱动程序的inf 文件和98下的inf文件有什么不同?
我做的驱动在98下正常安装,可在2000夏装不上是怎么会事,可能的原因在哪?请大家指点谢谢 |
|
|
沙发#
发布于:2001-10-13 22:35
本站有Walter oney的《Programming the Microsoft WDM》里专门有一章讲驱动安装的,你可以查阅一下。
|
|
|
板凳#
发布于:2001-10-14 16:18
我看了,可 驱动就时装不上,总提示"在inf文件中找不到指定的区域",是什么原因呢?谢谢先
|
|
|
地板#
发布于:2001-10-15 16:50
can u type some texts from ur inf file?
thx |
|
|
地下室#
发布于:2001-10-15 20:38
谢谢你先,我的驱动在98下安装没有问题,
总提示"在inf文件中找不到指定的区域"我的inf 文件缺少什么区域呢?怎么就装不上呢?你能帮我分析一下吗?万分感谢! inf如下: |
|
|
5楼#
发布于:2001-10-16 20:12
台湾的老兄来过了吗?
|
|
|
6楼#
发布于:2001-10-17 21:06
差哪呢,怎么还装不上呢?大家不能帮忙出出主意吗?
|
|
|
7楼#
发布于:2001-10-18 10:47
试试下面这个,我也是初学,可能惹大家笑话了。
[Version] Signature="$CHICAGO$" Class=HIDClass ClassGUID={6FB08F48-A9E3-4c76-A1AF-6D737E737FEB} provider=%MSFT% DriverVer=10/15/2001 ;LayoutFile=layout.inf [SourceDisksNames] 1="BulkUsb Installation Disk",,0 [SourceDisksFiles] BULKUSB.sys = 1 BULKUSB.inf = 1 usbd.sys=1 [Manufacturer] %MfgName%=Microsoft [ControlFlags] ExcludeFromSelect = USB\VID_0400&PID_c35b [Microsoft] ; The Vendor ID is 0400, and the Product ID is c35b %USB\VID_0400&PID_c35b.DeviceDesc%=BULKUSB.Dev, USB\VID_0400&PID_c35b ;[PreCopySection] ;HKR,,NoSetupUI,,1 [DestinationDirs] BULKUSB.Files.Ext = 10,System32\Drivers BULKUSB.Files.Inf = 10,INF [BULKUSB.Dev] CopyFiles=BULKUSB.Files.Ext, BULKUSB.Files.Inf AddReg=BULKUSB.AddReg [BULKUSB.dev.NT] CopyFiles=BULKUSB.Files.Ext, BULKUSB.Files.Inf AddReg=BULKUSB.AddReg [BULKUSB.Dev.NT.Services] Addservice = BULKUSB, 0x00000002, BULKUSB.AddService [BULKUSB.AddService] DisplayName = %BULKUSB.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 2 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\BULKUSB.sys LoadOrderGroup = Base [BULKUSB.AddReg] ;HKR,,DevLoader,,*ntkern ;HKR,,NTMPDriver,,BULKUSB.sys HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","MaximumTransferSize",0x10001,4096 HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","DebugLevel",0x10001,2 [BULKUSB.Files.Ext] BULKUSB.sys usbd.sys [BULKUSB.Files.Inf] BulkUsb.Inf ;---------------------------------------------------------------; [Strings] MSFT="Microsoft" MfgName="Intel" USB\VID_0400&PID_c35b.DeviceDesc="BulkUsb.Sys Intel 82930 USB Bulk IO Test Board" BULKUSB.SvcDesc="BulkUsb.Sys i82930 Bulk IO test driver" |
|
|