Prev: Filter Hook
Next: Eliyas Yakub [MSFT]
From: vcsrave on 15 Aug 2006 16:48 I tried with the wdfcoinstaller01005.dll, but still I am getting the same error. I attached my inf file ( which i modified from osrusbfx2.inf), incase if you need to take a look for any wrong values I added. Thanks, Ravi ;/*++ ; ;Copyright (c) Microsoft Corporation. All rights reserved. ; ; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY ; KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE ; IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR ; PURPOSE. ; ;Module Name: ; ; udev.INF ; ;Abstract: ; Installation inf for USB Device ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=Sample ClassGuid={36FC9E60-C465-11CF-8056-444553540000} Provider=%MSFT% DriverVer=07/26/2006,1.0.0.0 CatalogFile=KmdfSamples.cat ; ================= Class section ===================== [ClassInstall32] Addreg=SampleClassReg [SampleClassReg] HKR,,,0,%ClassName% HKR,,Icon,,-5 ; ================= Device section ===================== [Manufacturer] %MfgName%=Microsoft,NTx86 ; For Win2K [Microsoft] %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 %Switch.DeviceDesc%=Switch.Dev, {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo ; For XP and later [Microsoft.NTx86] %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 %Switch.DeviceDesc%=Switch.Dev, {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo [udev.Dev.NT] CopyFiles=udev.Files.Ext [Switch.Dev.NT] ;dummy section [Switch.Dev.NT.Services] AddService = , %SPSVCINST_ASSOCSERVICE%, [udev.Dev.NT.Services] Addservice = udev, %SPSVCINST_ASSOCSERVICE%, udev.AddService [udev.AddService] DisplayName = %udev.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\winusb.sys AddReg = udev.AddReg LoadOrderGroup = Base [udev.AddReg] HKR, Parameters\Wdf, VerboseOn, 0x00010001, 1 HKR, Parameters\Wdf, VerifierOn, 0x00010001, 1 HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1 HKR,,DeviceInterfaceGUIDs, 0x10000,"{058815B2-9805-47d3-B7D5-ABC464D3CA06}" [udev.Files.Ext] winusb.sys [SourceDisksNames] 1=%Disk_Description%,,, [SourceDisksFiles] winusb.sys = 1 [DestinationDirs] DefaultDestDir = 12 ;-------------- WDF Coinstaller installation [DestinationDirs] CoInstaller_CopyFiles = 11 [udev.Dev.NT.CoInstallers] AddReg=CoInstaller_AddReg CopyFiles=CoInstaller_CopyFiles [CoInstaller_CopyFiles] wdfcoinstaller01005.dll [SourceDisksFiles] wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames [CoInstaller_AddReg] HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller" [udev.Dev.NT.Wdf] KmdfService = udev, udev_wdfsect [udev_wdfsect] KmdfLibraryVersion = 1.5 ;---------------------------------------------------------------; [Strings] MSFT="Device" MfgName="Device" Disk_Description="Usb Device Disk" USB\VID_045E&PID_930A.DeviceDesc="Usb Device Driver" udev.SvcDesc="Usb Device Driver" ClassName = "Sample Device" Switch.DeviceDesc = "udev RawPdo For Switch" SPSVCINST_ASSOCSERVICE= 0x00000002 ; End of file ------------ Doron Holan [MS] wrote: > for XP, you need to use wdfcoinstaller01005.dll from the wdk > > d > > -- > Please do not send e-mail directly to this alias. this alias is for > newsgroup purposes only. > This posting is provided "AS IS" with no warranties, and confers no rights. > > > <vcsrave(a)yahoo.com> wrote in message > news:1155315411.608667.173020(a)75g2000cwc.googlegroups.com... > > Thanks for your response. > > > > I have installed WDF 5472 in my machine. So does it includes KMDF v1.5 > > ? > > If not how could I get KMDF v1.5 ? > > > > Thanks > > Ravi > > > > Doron Holan [MS] wrote: > >> winusb requires KMDF v1.5 (also from the WDK), not KMDF v1.1 > >> > >> d > >> > >> -- > >> Please do not send e-mail directly to this alias. this alias is for > >> newsgroup purposes only. > >> This posting is provided "AS IS" with no warranties, and confers no > >> rights. > >> > >> > >> <vcsrave(a)yahoo.com> wrote in message > >> news:1155234593.437565.286570(a)75g2000cwc.googlegroups.com... > >> > Hi, > >> > > >> > I have been asked to load the Winusb.sys for our USB device in > >> > 'Windows XP sp2'. I copied the sys file from the vista and I > >> > changed the inf to install the winusb.sys and as the WDK documentation > >> > mentioned I have added a AddReg section to create a GUID registry > >> > entry. > >> > > >> > And when I tried to install the driver, I am getting the error code 37. > >> > The Microsoft article points out that this error is due to the failure > >> > in DriverEntry routine. But I don't know how to get rid of this > >> > problem. I even tried to install the driver with the WdfCoInstaller > >> > dll, but I get the same error. > >> > > >> > I could able to install the driver successfully in Windows Vista with > >> > the same Inf. But is it possible to install the driver in Windows XP. > >> > > >> > I have attached the setupact.log and setupapi.log file logs. > >> > > >> > Could any one help me on this? > >> > > >> > Thanks > >> > Ravi > >> > > >> > setupact.log > >> > > >> > ============ > >> > > >> > > >> > WdfCoInstaller: [08/09/2006 11:20.51.875] DIF_INSTALLDEVICE: > >> > Pre-Processing > >> > WdfCoInstaller: [08/09/2006 11:20.51.968] ReadComponents: WdfSection > >> > for Driver Service osrusbfx2 using KMDF lib version Major 0x1, minor > >> > 0x1 > >> > WdfCoInstaller: [08/09/2006 11:20.52.046] DIF_INSTALLDEVICE: > >> > GetLatestInstalledVersion install version major 0x1, minor 0x1 is less > >> > then or equal to latest major 0x1, minor 0x1, asking for post > >> > processing > >> > WdfCoInstaller: [08/09/2006 11:20.53.203] DIF_INSTALLDEVICE: > >> > Post-Processing > >> > WdfCoInstaller: [08/09/2006 11:32.30.296] DIF_INSTALLDEVICE: > >> > Pre-Processing > >> > WdfCoInstaller: [08/09/2006 11:32.30.359] ReadComponents: WdfSection > >> > for Driver Service osrusbfx2 using KMDF lib version Major 0x1, minor > >> > 0x1 > >> > WdfCoInstaller: [08/09/2006 11:32.30.406] DIF_INSTALLDEVICE: > >> > GetLatestInstalledVersion install version major 0x1, minor 0x1 is less > >> > t
From: Doron Holan [MS] on 15 Aug 2006 23:44 what OS are you trying to install on? what do the setup logs (%windir%\setup*.log) and wdf log (%windir%\wdf*.log) say? -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. <vcsrave(a)yahoo.com> wrote in message news:1155674937.032829.223050(a)h48g2000cwc.googlegroups.com... >I tried with the wdfcoinstaller01005.dll, but still I am getting the > same error. > I attached my inf file ( which i modified from osrusbfx2.inf), incase > if you need to take a look for any wrong values I added. > Thanks, > Ravi > > ;/*++ > ; > ;Copyright (c) Microsoft Corporation. All rights reserved. > ; > ; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF > ANY > ; KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE > ; IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A > PARTICULAR > ; PURPOSE. > ; > ;Module Name: > ; > ; udev.INF > ; > ;Abstract: > ; Installation inf for USB Device > ; > ;--*/ > > [Version] > Signature="$WINDOWS NT$" > Class=Sample > ClassGuid={36FC9E60-C465-11CF-8056-444553540000} > Provider=%MSFT% > DriverVer=07/26/2006,1.0.0.0 > CatalogFile=KmdfSamples.cat > > > ; ================= Class section ===================== > > [ClassInstall32] > Addreg=SampleClassReg > > [SampleClassReg] > HKR,,,0,%ClassName% > HKR,,Icon,,-5 > > > ; ================= Device section ===================== > > [Manufacturer] > %MfgName%=Microsoft,NTx86 > > ; For Win2K > [Microsoft] > %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 > %Switch.DeviceDesc%=Switch.Dev, > {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo > > ; For XP and later > [Microsoft.NTx86] > %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 > %Switch.DeviceDesc%=Switch.Dev, > {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo > > > [udev.Dev.NT] > CopyFiles=udev.Files.Ext > > > [Switch.Dev.NT] > ;dummy section > > [Switch.Dev.NT.Services] > AddService = , %SPSVCINST_ASSOCSERVICE%, > > [udev.Dev.NT.Services] > Addservice = udev, %SPSVCINST_ASSOCSERVICE%, udev.AddService > > [udev.AddService] > DisplayName = %udev.SvcDesc% > ServiceType = 1 ; SERVICE_KERNEL_DRIVER > StartType = 3 ; SERVICE_DEMAND_START > ErrorControl = 1 ; SERVICE_ERROR_NORMAL > ServiceBinary = %10%\System32\Drivers\winusb.sys > AddReg = udev.AddReg > LoadOrderGroup = Base > > [udev.AddReg] > HKR, Parameters\Wdf, VerboseOn, 0x00010001, 1 > HKR, Parameters\Wdf, VerifierOn, 0x00010001, 1 > HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1 > HKR,,DeviceInterfaceGUIDs, > 0x10000,"{058815B2-9805-47d3-B7D5-ABC464D3CA06}" > > [udev.Files.Ext] > winusb.sys > > [SourceDisksNames] > 1=%Disk_Description%,,, > > [SourceDisksFiles] > winusb.sys = 1 > > [DestinationDirs] > DefaultDestDir = 12 > > ;-------------- WDF Coinstaller installation > > [DestinationDirs] > CoInstaller_CopyFiles = 11 > > [udev.Dev.NT.CoInstallers] > AddReg=CoInstaller_AddReg > CopyFiles=CoInstaller_CopyFiles > > [CoInstaller_CopyFiles] > wdfcoinstaller01005.dll > > [SourceDisksFiles] > wdfcoinstaller01005.dll=1 ; make sure the number matches with > SourceDisksNames > > [CoInstaller_AddReg] > HKR,,CoInstallers32,0x00010000, > "wdfcoinstaller01005.dll,WdfCoInstaller" > > [udev.Dev.NT.Wdf] > KmdfService = udev, udev_wdfsect > [udev_wdfsect] > KmdfLibraryVersion = 1.5 > > ;---------------------------------------------------------------; > > [Strings] > MSFT="Device" > MfgName="Device" > Disk_Description="Usb Device Disk" > USB\VID_045E&PID_930A.DeviceDesc="Usb Device Driver" > udev.SvcDesc="Usb Device Driver" > ClassName = "Sample Device" > Switch.DeviceDesc = "udev RawPdo For Switch" > SPSVCINST_ASSOCSERVICE= 0x00000002 > > > ; End of file ------------ > > > > > > > Doron Holan [MS] wrote: >> for XP, you need to use wdfcoinstaller01005.dll from the wdk >> >> d >> >> -- >> Please do not send e-mail directly to this alias. this alias is for >> newsgroup purposes only. >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> >> <vcsrave(a)yahoo.com> wrote in message >> news:1155315411.608667.173020(a)75g2000cwc.googlegroups.com... >> > Thanks for your response. >> > >> > I have installed WDF 5472 in my machine. So does it includes KMDF v1.5 >> > ? >> > If not how could I get KMDF v1.5 ? >> > >> > Thanks >> > Ravi >> > >> > Doron Holan [MS] wrote: >> >> winusb requires KMDF v1.5 (also from the WDK), not KMDF v1.1 >> >> >> >> d >> >> >> >> -- >> >> Please do not send e-mail directly to this alias. this alias is for >> >> newsgroup purposes only. >> >> This posting is provided "AS IS" with no warranties, and confers no >> >> rights. >> >> >> >> >> >> <vcsrave(a)yahoo.com> wrote in message >> >> news:1155234593.437565.286570(a)75g2000cwc.googlegroups.com... >> >> > Hi, >> >> > >> >> > I have been asked to load the Winusb.sys for our USB device in >> >> > 'Windows XP sp2'. I copied the sys file from the vista and I >> >> > changed the inf to install the winusb.sys and as the WDK >> >> > documentation >> >> > mentioned I have added a AddReg section to create a GUID registry >> >> > entry. >> >> > >> >> > And when I tried to install the driver, I am getting the error code >> >> > 37. >> >> > The Microsoft article points out that this error is due to the >> >> > failure >> >> > in DriverEntry routine. But I don't know how to get rid of this >> >> > problem. I even tried to install the driver with the WdfCoInstaller >> >> > dll, but I get the same error. >> >> > >> >> > I could able to install the driver successfully in Windows Vista >> >> > with >> >> > the same Inf. But is it possible to install the driver in Windows >> >> > XP. >> >> > >> >> > I have attached the setupact.log and setupapi.log file logs. >> >> > >> >> > Could any one help me on this? >> >> > >> >> > Thanks >> >> > Ravi >> >> > >> >> > setupact.log >> >> > >> >> > ============ >> >> > >> >> > >> >> > WdfCoInstaller: [08/09/2006 11:20.51.875] DIF_INSTALLDEVICE: >> >> > Pre-Processing >> >> > WdfCoInstaller: [08/09/2006 11:20.51.968] ReadComponents: >> >> > WdfSection >> >> > for Driver Service osrus
From: Doron Holan [MS] on 15 Aug 2006 23:44
what OS are you trying to install on? what do the setup logs (%windir%\setup*.log) and wdf log (%windir%\wdf*.log) say? -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. <vcsrave(a)yahoo.com> wrote in message news:1155674937.032829.223050(a)h48g2000cwc.googlegroups.com... >I tried with the wdfcoinstaller01005.dll, but still I am getting the > same error. > I attached my inf file ( which i modified from osrusbfx2.inf), incase > if you need to take a look for any wrong values I added. > Thanks, > Ravi > > ;/*++ > ; > ;Copyright (c) Microsoft Corporation. All rights reserved. > ; > ; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF > ANY > ; KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE > ; IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A > PARTICULAR > ; PURPOSE. > ; > ;Module Name: > ; > ; udev.INF > ; > ;Abstract: > ; Installation inf for USB Device > ; > ;--*/ > > [Version] > Signature="$WINDOWS NT$" > Class=Sample > ClassGuid={36FC9E60-C465-11CF-8056-444553540000} > Provider=%MSFT% > DriverVer=07/26/2006,1.0.0.0 > CatalogFile=KmdfSamples.cat > > > ; ================= Class section ===================== > > [ClassInstall32] > Addreg=SampleClassReg > > [SampleClassReg] > HKR,,,0,%ClassName% > HKR,,Icon,,-5 > > > ; ================= Device section ===================== > > [Manufacturer] > %MfgName%=Microsoft,NTx86 > > ; For Win2K > [Microsoft] > %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 > %Switch.DeviceDesc%=Switch.Dev, > {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo > > ; For XP and later > [Microsoft.NTx86] > %USB\VID_045E&PID_930A.DeviceDesc%=udev.Dev, USB\VID_1461&PID_04A1 > %Switch.DeviceDesc%=Switch.Dev, > {6FDE7521-1B65-48ae-B628-80BE62016026}\udevRawPdo > > > [udev.Dev.NT] > CopyFiles=udev.Files.Ext > > > [Switch.Dev.NT] > ;dummy section > > [Switch.Dev.NT.Services] > AddService = , %SPSVCINST_ASSOCSERVICE%, > > [udev.Dev.NT.Services] > Addservice = udev, %SPSVCINST_ASSOCSERVICE%, udev.AddService > > [udev.AddService] > DisplayName = %udev.SvcDesc% > ServiceType = 1 ; SERVICE_KERNEL_DRIVER > StartType = 3 ; SERVICE_DEMAND_START > ErrorControl = 1 ; SERVICE_ERROR_NORMAL > ServiceBinary = %10%\System32\Drivers\winusb.sys > AddReg = udev.AddReg > LoadOrderGroup = Base > > [udev.AddReg] > HKR, Parameters\Wdf, VerboseOn, 0x00010001, 1 > HKR, Parameters\Wdf, VerifierOn, 0x00010001, 1 > HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1 > HKR,,DeviceInterfaceGUIDs, > 0x10000,"{058815B2-9805-47d3-B7D5-ABC464D3CA06}" > > [udev.Files.Ext] > winusb.sys > > [SourceDisksNames] > 1=%Disk_Description%,,, > > [SourceDisksFiles] > winusb.sys = 1 > > [DestinationDirs] > DefaultDestDir = 12 > > ;-------------- WDF Coinstaller installation > > [DestinationDirs] > CoInstaller_CopyFiles = 11 > > [udev.Dev.NT.CoInstallers] > AddReg=CoInstaller_AddReg > CopyFiles=CoInstaller_CopyFiles > > [CoInstaller_CopyFiles] > wdfcoinstaller01005.dll > > [SourceDisksFiles] > wdfcoinstaller01005.dll=1 ; make sure the number matches with > SourceDisksNames > > [CoInstaller_AddReg] > HKR,,CoInstallers32,0x00010000, > "wdfcoinstaller01005.dll,WdfCoInstaller" > > [udev.Dev.NT.Wdf] > KmdfService = udev, udev_wdfsect > [udev_wdfsect] > KmdfLibraryVersion = 1.5 > > ;---------------------------------------------------------------; > > [Strings] > MSFT="Device" > MfgName="Device" > Disk_Description="Usb Device Disk" > USB\VID_045E&PID_930A.DeviceDesc="Usb Device Driver" > udev.SvcDesc="Usb Device Driver" > ClassName = "Sample Device" > Switch.DeviceDesc = "udev RawPdo For Switch" > SPSVCINST_ASSOCSERVICE= 0x00000002 > > > ; End of file ------------ > > > > > > > Doron Holan [MS] wrote: >> for XP, you need to use wdfcoinstaller01005.dll from the wdk >> >> d >> >> -- >> Please do not send e-mail directly to this alias. this alias is for >> newsgroup purposes only. >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> >> <vcsrave(a)yahoo.com> wrote in message >> news:1155315411.608667.173020(a)75g2000cwc.googlegroups.com... >> > Thanks for your response. >> > >> > I have installed WDF 5472 in my machine. So does it includes KMDF v1.5 >> > ? >> > If not how could I get KMDF v1.5 ? >> > >> > Thanks >> > Ravi >> > >> > Doron Holan [MS] wrote: >> >> winusb requires KMDF v1.5 (also from the WDK), not KMDF v1.1 >> >> >> >> d >> >> >> >> -- >> >> Please do not send e-mail directly to this alias. this alias is for >> >> newsgroup purposes only. >> >> This posting is provided "AS IS" with no warranties, and confers no >> >> rights. >> >> >> >> >> >> <vcsrave(a)yahoo.com> wrote in message >> >> news:1155234593.437565.286570(a)75g2000cwc.googlegroups.com... >> >> > Hi, >> >> > >> >> > I have been asked to load the Winusb.sys for our USB device in >> >> > 'Windows XP sp2'. I copied the sys file from the vista and I >> >> > changed the inf to install the winusb.sys and as the WDK >> >> > documentation >> >> > mentioned I have added a AddReg section to create a GUID registry >> >> > entry. >> >> > >> >> > And when I tried to install the driver, I am getting the error code >> >> > 37. >> >> > The Microsoft article points out that this error is due to the >> >> > failure >> >> > in DriverEntry routine. But I don't know how to get rid of this >> >> > problem. I even tried to install the driver with the WdfCoInstaller >> >> > dll, but I get the same error. >> >> > >> >> > I could able to install the driver successfully in Windows Vista >> >> > with >> >> > the same Inf. But is it possible to install the driver in Windows >> >> > XP. >> >> > >> >> > I have attached the setupact.log and setupapi.log file logs. >> >> > >> >> > Could any one help me on this? >> >> > >> >> > Thanks >> >> > Ravi >> >> > >> >> > setupact.log >> >> > >> >> > ============ >> >> > >> >> > >> >> > WdfCoInstaller: [08/09/2006 11:20.51.875] DIF_INSTALLDEVICE: >> >> > Pre-Processing >> >> > WdfCoInstaller: [08/09/2006 11:20.51.968] ReadComponents: >> >> > WdfSection >> >> > for Driver Service osrus |