Re: Loading winusb.sys in Window XP
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Aug 2006 20:44:51 -0700
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@xxxxxxxxx> wrote in message
news:1155674937.032829.223050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx> wrote in message
news:1155315411.608667.173020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx> wrote in message
news:1155234593.437565.286570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
then or equal to latest major 0x1, minor 0x1, asking for post
processing
WdfCoInstaller: [08/09/2006 11:32.31.421] DIF_INSTALLDEVICE:
Post-Processing
setupapi.log
============
#E362 An unsigned or incorrectly signed file "c:\documents and
settings\administrator\desktop\winusb\scusbwa.inf" for driver
"Staccato
Ripcord DVK Wireless USB Host Wire Adapter(A1)" will be installed
(Policy=Warn). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [SCUSBWA.Dev.NT.Interfaces] from
"c:\documents
and settings\administrator\desktop\winusb\scusbwa.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "USB\VID_1461&PID_04A1\5&345CE9D2&0&7".
#E362 An unsigned or incorrectly signed file "c:\documents and
settings\administrator\desktop\winusb\scusbwa.inf" for driver
"Staccato
Ripcord DVK Wireless USB Host Wire Adapter(A1)" will be installed
(Policy=Warn). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#I163 Device not started: Device has problem: 0x25:
CM_PROB_FAILED_DRIVER_ENTRY.
#I121 Device install of "USB\VID_1461&PID_04A1\5&345CE9D2&0&7"
finished
successfully.
.
- References:
- Loading winusb.sys in Window XP
- From: vcsrave
- Re: Loading winusb.sys in Window XP
- From: Doron Holan [MS]
- Re: Loading winusb.sys in Window XP
- From: vcsrave
- Re: Loading winusb.sys in Window XP
- From: Doron Holan [MS]
- Re: Loading winusb.sys in Window XP
- From: vcsrave
- Loading winusb.sys in Window XP
- Prev by Date: Re: Automatic loading of WDF driver
- Next by Date: Code 31 "Windows cannot load driver" when installing Wifi PCI card in WIn 2000 pack 4
- Previous by thread: Re: Loading winusb.sys in Window XP
- Next by thread: Re: Pre-installing a modified driver INF file
- Index(es):
Relevant Pages
|