Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > inftest.exe generates 3 errors for winusb.sys

Reply
Thread Tools Display Modes

inftest.exe generates 3 errors for winusb.sys

 
 
JWH
Guest
Posts: n/a

 
      06-04-2010
We are attempting to pass WHQL for our device which uses winusb as the device
driver.

We are an unclassified device and are aware that we can get the signed
certificate but not the logo.

We fail 3 tests in the inftest.

The inf file we use is straight from the winusb_how_to.docx with
appropriate changes for our device and company.

We have WLK 1.5 and the QFEs from march. We don't have the latest QFEs, but
visual inspection of the QFEs from may doesn't look promising.

The errors from wtl are here:

"Log file content : Line 41: ERROR: (E22.1.1501) INF should add WUDFRd as a
service"

"Log file content : Line 52: ERROR: (E22.1.1058) Directive: UMDFSERVICE
required in section [USB_Install.Wdf]

"Log file content : Line 54: ERROR: (E22.1.1510) Service name 'WINUSB' has
not been defined using the UmdfService directive



Anyone aware of how to get around this?

 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      06-05-2010
JWH <> wrote:
>
>We are attempting to pass WHQL for our device which uses winusb as the device
>driver.
>
>We are an unclassified device and are aware that we can get the signed
>certificate but not the logo.


Then what's the point of going through WHQL at all?

>We fail 3 tests in the inftest.
>
>The inf file we use is straight from the winusb_how_to.docx with
>appropriate changes for our device and company.
>...
>The errors from wtl are here:
>"Log file content : Line 41: ERROR: (E22.1.1501) INF should add WUDFRd as a
>service"
>"Log file content : Line 52: ERROR: (E22.1.1058) Directive: UMDFSERVICE
>required in section [USB_Install.Wdf]
>"Log file content : Line 54: ERROR: (E22.1.1510) Service name 'WINUSB' has
>not been defined using the UmdfService directive


Is your device a WPD device? That's the only way I can see you would get
these errors. If you have no unique requirements, then no driver is
required. Standard system services will handle it. If you do have unique
requirements that needs driver support, you are required to have a UMDF
driver, not just WinUSB.

http://www.microsoft.com/whdc/device.../WPDguide.mspx
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
JWH
Guest
Posts: n/a

 
      06-14-2010
We use winusb.sys as a function driver and need it to be associated with our
device. The nornmal usb stack doesn't provide the APIs we need to communicate
with our device.
 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      06-16-2010
JWH <> wrote:
>
>We use winusb.sys as a function driver and need it to be associated with our
>device. The nornmal usb stack doesn't provide the APIs we need to communicate
>with our device.


Well, you have a choice. If you need WinUSB.sys as a function driver, then
you cannot have your INF in Class=WPD. Just invent your own Class ans
ClassGUID. If you really need Class=WPD, then you will have to create a
UMDF driver. You cannot use WinUSB.sys by itself.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
JWH
Guest
Posts: n/a

 
      06-16-2010
We have created our own class. The inf file is below.
We did follow the instructions provided in the winusb_howto.docx cookbook.

FYI: We pass all WHQL tests except for this one test with the 3 errors.

;
; Installation file (.inf) for the USB Downloader USB-to-USB device driver.
;
; Copyright © 2010 TimeKeeping Systems, Inc.
;
; This file supports:
; Windows XP
; Windows Vista
; Windows 7

[Version]
Signature = "$Windows NT$"
Class = Downloaders
ClassGuid={764B8004-A028-4280-9269-49792819F85B}
Provider = %ProviderName%
DriverVer=02/11/2010,1.00.0.0
CatalogFile=USB_Driver_for_USB_Downloader.cat

; ================== Class section ==================

[ClassInstall32]
Addreg=MyDeviceClassReg

[MyDeviceClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-23

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86

[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_121A&PID_0001

; =================== Installation ===================

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfServiceOrder=WINUSB

[WinUSB_Install]
KmdfLibraryVersion=1.7

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F43D994B-7D0E-4CC5-9359-862C9564BB94}"
HKR,,"SystemWakeEnabled",0x00010001,1
HKR,,"DeviceIdleEnabled",0x00010001,1
HKR,,"DefaultIdleState", 0x00010001,1
HKR,,"DefaultIdleTimeout",0x00010001,1800000
HKR,,"UserSetDeviceIdleEnabled",0x00010001,1
HKR,,"DeviceIdleIgnoreWakeEnable", 0x00010001,1
HKR,,"DeviceSelectiveSuspended", 0x00010001,1
HKR,WDF,"IdleInWorkingState", 0x00010001,0
HKR,WDF,"WakeFromSleepState", 0x00010001,1

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg
HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller2 .dll","WUDFUpdate_01009.dll","WdfCoInstaller01009. dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
WUDFUpdate_01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================

[SourceDisksNames.x86]
1 = %DISKNAME%, setup.exe

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
WUDFUpdate_01009.dll=1

;*************************************************
*****************************
; Destination Directorie
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; %SystemRoot%\system32\drivers

; =================== Strings ===================

[Strings]
USB\MyDevice.DeviceDesc="USB Downloader USB-to-USB"
ProviderName="TimeKeeping Systems, Inc."
WinUSB_SvcDesc="USB Downloader USB-to-USB"
ClassName="USB Downloaders"
DISKNAME="Native Usb"


 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      06-18-2010
JWH <> wrote:
>
>We have created our own class. The inf file is below.
>We did follow the instructions provided in the winusb_howto.docx cookbook.
>
>FYI: We pass all WHQL tests except for this one test with the 3 errors.


You did say that you are NOT a UMDF driver, right? If that's right, then
you should remove all the UMDF lines:

>[USB_Install.Wdf]
>KmdfService=WINUSB, WinUsb_Install
>UmdfServiceOrder=WINUSB


....that one...

>[CoInstallers_AddReg]
>HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller 2.dll","WUDFUpdate_01009.dll","WdfCoInstaller01009 .dll,WdfCoInstaller"


....and WUDFUpdate from that one...

>[CoInstallers_CopyFiles]
>WinUSBCoInstaller2.dll
>WdfCoInstaller01009.dll
>WUDFUpdate_01009.dll


....and that line...

>[SourceDisksFiles.x86]
>WinUSBCoInstaller2.dll=1
>WdfCoInstaller01009.dll=1
>WUDFUpdate_01009.dll=1


....and that line.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

« interrupts | Paging »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Licensing errors on Small Business Server 2003 Michael Bird Windows Small Business Server 3 05-12-2010 01:41 PM
CertificateAuthority errorspreceding Exchange IS dismount and Exchange errors Tony Vrolyk Windows Small Business Server 9 04-30-2010 02:10 PM
KDC Event ID 7 and Wins startup errors. GihanZ Windows Small Business Server 4 11-23-2009 01:43 AM
Re: Slow Vista: hundreds of warnings, errors and critical issues? Kerry Brown Windows Vista Performance 6 05-14-2007 05:49 PM
Re: Slow Vista: hundreds of warnings, errors and critical issues? Dana Cline - MVP Windows Vista Performance 6 05-11-2007 01:01 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59