The tools name is chkinf. it’s a perl script, not an exe.
d
debt from my phone
From: Sethuraman R
Sent: 7/23/2012 11:07 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Modem Creation with USBSER-issue
Hi All,
I have modified my inf file as instructed, by making usbser as lower
filter. Now my inf is working fine, which creates a new modem and is
listed in the device manager. Thanks for your valuable suggestions.
The below is my inf file which is working fine. Can some help me by
pointing out the mistakes and modifications if any. Any how I will
check my inf with “checkinf.exe”.
[Version]
Signature = “$CHICAGO$”
Class = Modem
ClassGuid = {4D36E96D-E325-11CE-BFC1-08002BE10318}
Provider = %VENDOR%
LayoutFile = layout.inf
CatalogFile.NTx86 = Companyx86.cat
CatalogFile.NTAMD64 = Schneideramd64.cat
[Manufacturer]
%VENDOR% = Vendor, NTx86 ; For XP and later
[Vendor.NTx86]
%usbtoser% = usbtoser.Inst, USB\VID_16DE&PID_0010
[usbtoser.Inst.NT]
include = mdmcpq.inf
CopyFiles = FakeModemCopyFileSection
AddReg = All, M2700Reg, 19200, SERIAL
[usbtoser.Inst.NT.Services]
include = mdmcpq.inf
AddService = usbser, 0x00000000, LowerFilter_Service_Inst
[usbtoser.Inst.NT.HW]
include = mdmcpq.inf
AddReg = LowerFilterAddReg
[LowerFilterAddReg]
HKR,“LowerFilters”,0x00010000,“usbser”
[All]
HKR,FriendlyDriver,Unimodem.vxd
HKR,DevLoader,*VCOMM
HKR,PortSubClass,1,02
HKR,ConfigDialog,modemui.dll
HKR,EnumPropPages,“modemui.dll,EnumPropPages”
[M2700Reg] ; Null-Modem
HKR, Init, 1, “None”
HKR, Init, 2, “NoResponse”
HKR, Monitor, 1, “None”
HKR, Answer, 1, “CLIENTSERVER”
HKR, Answer, 2, “NoResponse”
HKR, Settings, DialPrefix, “CLIENT”
HKR, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, 00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00
HKR, Responses, “CLIENT”, 1, 08, 00, 00, 00, 00, 00, 00,00,00,00
; Server side - the client is requesting a connection
HKR, Responses, “CLIENT”, 1, 08, 00, 00, 00, 00, 00, 00,00,00,00
; Server side - the client is requesting a connection
HKR, Responses, “CLIENTSERVER”, 1, 02, 00, 00, 00, 00, 00, 00,00,00,00
; Client side - the server has acknowledged and the connection is
completed
[19200]
HKR, DCB, 1, 1C,00,00,00, 00,4B,00,00, 15,20,00,00, 00,00, 0a,00,
0a,00, 08, 00, 00, 11, 13, 00, 00, 00
[SERIAL]
HKR, DeviceType, 1, 00
[LowerFilter_Service_Inst]
DisplayName = “USB to Serial Driver”
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\usbser.sys
[Strings]
VENDOR = “vendor”
usbtoser = “testdevice”
On 7/23/12, Sethuraman R wrote:
> Doron,
>
> This is the error I got from setupapi.log.
>
> #E154 Class installer failed. Error 8: Not enough storage is available to
> process this command.
>
> On Fri, Jul 20, 2012 at 9:08 PM, Sethuraman R
> wrote:
>
>> Doron,
>>
>> Please find the SetupApi.Log:(Highlighted)
>>
>> Copied the error from the below log for your quick reference.
>> #E154 Class installer failed. Error 8: Not enough storage is available
>> to process this command.
>>
>> ---------------------------------------------
>> [2012/07/20 13:57:21 1000.66 Driver Install]
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #-198 Command line processed: C:\WINDOWS\system32\services.exe
>> #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
>> #W059 Selecting best compatible driver failed. Error 0xe0000228: There
>> are
>> no compatible drivers for this device.
>> #W157 Default installer failed. Error 0xe0000228: There are no compatible
>> drivers for this device.
>> [2012/07/20 13:57:23 752.2]
>> #-199 Executing “C:\WINDOWS\system32\rundll32.exe” with command line:
>> rundll32.exe newdev.dll,ClientSideInstall
>> \.\pipe\PNP_Device_Install_Pipe_0.{C33E21EE-44DE-4D1F-946E-9B58CE8EA87A}
>> #I060 Set selected driver.
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
>> #W059 Selecting best compatible driver failed. Error 0xe0000228: There
>> are
>> no compatible drivers for this device.
>> #W157 Default installer failed. Error 0xe0000228: There are no compatible
>> drivers for this device.
>> [2012/07/20 13:57:36 2996.2]
>> #-198 Command line processed: “C:\Documents and
>> Settings\xxxxx@Innov\Desktop\Ninteen_Pure_Test\dist\dpinstx86.exe”
>>
>> #E367 An unsigned or incorrectly signed file
>> “C:\WINDOWS\system32\DRVSTORE\old_drv_us_221A252355DE4D7996F63CB0D0E1A514A62B8F5C\old_drv_usb_commii.inf”
>> for will be installed (Policy=Warn, user said ok). Error 0x800b0100: No
>> signature was present in the subject.
>> [2012/07/20 13:57:46 2996.758 Driver Install]
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #-198 Command line processed: “C:\Documents and
>> Settings\xxxxx@Innov\Desktop\Ninteen_Pure_Test\dist\dpinstx86.exe”
>>
>> #I022 Found “USB\VID_16DE&PID_0010” in
>> c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf;
>> Device: “USB mydevice1 Range”; Driver: “USB mydevice1 Range”; Provider:
>> “company Electric”; Mfg: “MG”; Section name: “mydevice1”.
>> #I087 Driver node not trusted, rank changed from 0x00000001 to
>> 0x00008001.
>> #I023 Actual install section: [mydevice1.NT]. Rank: 0x00008001. Effective
>> driver date: 04/02/2012.
>> #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
>> #I063 Selected driver installs from section [mydevice1] in
>> “c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf”.
>>
>>
>> #I320 Class GUID of device remains:
>> {4D36E96D-E325-11CE-BFC1-08002BE10318}.
>> #I060 Set selected driver.
>> #I058 Selected best compatible driver.
>> [2012/07/20 13:57:49 2996.915]
>> #-198 Command line processed: “C:\Documents and
>> Settings\xxxxx@Innov\Desktop\Ninteen_Pure_Test\dist\dpinstx86.exe”
>>
>> #I060 Set selected driver.
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #I022 Found “USB\VID_16DE&PID_0010” in
>> c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf;
>> Device: “USB mydevice1 Range”; Driver: “USB mydevice1 Range”; Provider:
>> “company Electric”; Mfg: “MG”; Section name: “mydevice1”.
>> #I087 Driver node not trusted, rank changed from 0x00000001 to
>> 0x00008001.
>> #I023 Actual install section: [mydevice1.NT]. Rank: 0x00008001. Effective
>> driver date: 04/02/2012.
>> #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
>> #I063 Selected driver installs from section [mydevice1] in
>> “c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf”.
>>
>>
>> #I320 Class GUID of device remains:
>> {4D36E96D-E325-11CE-BFC1-08002BE10318}.
>> #I060 Set selected driver.
>> #I058 Selected best compatible driver.
>> #-124 Doing copy-only install of “USB\VID_16DE&PID_0010\5&1249E19F&0&2”.
>> #E366 An unsigned or incorrectly signed file
>> “c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf”
>> for driver “USB mydevice1 Range” will be installed (Policy=Warn, user
>> said
>> ok). Error 0x800b0100: No signature was present in the subject.
>> #-166 Device install function: DIF_REGISTER_COINSTALLERS.
>> #I056 Coinstallers registered.
>> #-166 Device install function: DIF_INSTALLINTERFACES.
>> #-011 Installing section [mydevice1.NT.Interfaces] from
>> “c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf”.
>> #I054 Interfaces installed.
>>
>> #-166 Device install function: DIF_INSTALLDEVICE.
>> #I123 Doing full install of “USB\VID_16DE&PID_0010\5&1249E19F&0&2”.
>> #E362 An unsigned or incorrectly signed file
>> “c:\windows\system32\drvstore\old_drv_us_221a252355de4d7996f63cb0d0e1a514a62b8f5c\old_drv_usb_commii.inf”
>> for driver “USB mydevice1 Range” will be installed (Policy=Warn). Error
>> 0x800b0100: No signature was present in the subject.
>> #I163 Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START.
>> #I121 Device install of “USB\VID_16DE&PID_0010\5&1249E19F&0&2” finished
>> successfully.
>> *#E154 Class installer failed. Error 8: Not enough storage is available
>> to process this command.
>> *[2012/07/20 13:58:19 2996.1707 Driver Install]
>> #-019 Searching for hardware ID(s):
>> usb\vid_16de&pid_0010&rev_0110,usb\vid_16de&pid_0010
>> #-018 Searching for compatible ID(s):
>> usb\class_02&subclass_02&prot_00,usb\class_02&subclass_02,usb\class_02
>> #-198 Command line processed: “C:\Documents and
>> Settings\xxxxx@Innov\Desktop\Ninteen_Pure_Test\dist\dpinstx86.exe”
>>
>> #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
>> #W059 Selecting best compatible driver failed. Error 0xe0000228: There
>> are
>> no compatible drivers for this device.
>> #W157 Default installer failed. Error 0xe0000228: There are no compatible
>> drivers for this device.
>> #-166 Device install function: DIF_REMOVE.
>> #I289 Removing device “USB\VID_16DE&PID_0010\5&1249E19F&0&2”.
>> #I048 Device removed.
>>
>>
>>
>>
>> On Fri, Jul 20, 2012 at 1:15 AM, Doron Holan
>> wrote:
>>
>>> What did the setupapi logs say?
>>>
>>> -----Original Message-----
>>> From: xxxxx@lists.osr.com [mailto:
>>> xxxxx@lists.osr.com] On Behalf Of Sethuraman R
>>> Sent: Thursday, July 19, 2012 12:36 PM
>>> To: Windows System Software Devs Interest List
>>> Subject: Re: [ntdev] Modem Creation with USBSER-issue
>>>
>>> Hi Chris,
>>>
>>> I changed my INF file to modem setup class as you said said, but the
>>> driver installation failed with an error “An error occured during the
>>> installation of the device.
>>> Not enough storage is available to process this command”.
>>> Please find my inf file below. Do I want to make changes in my inf file?
>>> or do i want to add something? please suggest me…
>>>
>>> My inf file:
>>> --------------
>>> [Version]
>>> DriverVer =04/02/2012,3.00
>>> LayoutFile=Layout.inf
>>> Signature=“$CHICAGO$”
>>> Class=Modem
>>> ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}
>>> Provider=%Mfg%
>>> CatalogFile.NTx86 = companyx86.cat
>>> CatalogFile.NTAMD64 = companyamd64.cat
>>>
>>> [Manufacturer]
>>> %MG% = MG,NTamd64
>>> %TELEMECANIQUE% = TELEMECANIQUE,NTamd64
>>> %SE1% = SE1,NTamd64
>>> %SE2% = SE2,NTamd64
>>>
>>>
>>> [DestinationDirs]
>>> DefaultDestDir=12
>>>
>>>
>>> ;…
>>> ;-------------------------------------------------------- Windows
>>> XP/Vista/Win 7- 32 bit Architecture
>>> ---------------------------------------
>>>
>>> ;…
>>>
>>> [MG]
>>> %mydevice1% = mydevice1,USB\VID_16DE&PID_0010
>>>
>>>
>>> [TELEMECANIQUE]
>>> %mydevice2% = mydevice2,USB\VID_16DE&PID_0011
>>>
>>>
>>> [SE1]
>>> %mydevice1% = mydevice1,USB\VID_16DE&PID_0012
>>>
>>>
>>> [SE2]
>>> %mydevice2% = mydevice2,USB\VID_16DE&PID_0013
>>>
>>> [mydevice1.Inst.NT]
>>> include = mdmcpq.inf
>>> CopyFiles = FakeModemCopyFileSection
>>>
>>> [mydevice1.NT.Services]
>>> include = mdmcpq.inf
>>> AddService=usbser, 0x00000000, mydevice1.SERVICEINST
>>>
>>>
>>> [mydevice1.SERVICEINST]
>>> DisplayName=%mydevice1%
>>> ServiceType= 1 ;SERVICE_KERNEL_DRIVER
>>> StartType = 3 ;SERVICE_DEMAND_START
>>> ErrorControl = 1;SERVICE_ERROR_NORMAL
>>> ServiceBinary = %12%\usbser.sys
>>>
>>>
>>> [mydevice1.NT]
>>> include = mdmcpq.inf
>>> CopyFiles = FakeModemCopyFileSection
>>> AddReg=RegisterAddSection
>>>
>>>
>>> [mydevice2.NT.Services]
>>> AddService=usbser, 0x00000000, mydevice2.SERVICEINST
>>>
>>>
>>> [mydevice2.SERVICEINST]
>>> DisplayName=%mydevice2%
>>> ServiceType= 1 ;SERVICE_KERNEL_DRIVER
>>> StartType = 3 ;SERVICE_DEMAND_START
>>> ErrorControl = 1;SERVICE_ERROR_NORMAL
>>> ServiceBinary = %12%\usbser.sys
>>>
>>>
>>> [mydevice2.NT]
>>> CopyFiles=CopyFileSection
>>> AddReg=RegisterAddSection
>>>
>>>
>>> [CopyFileSection]
>>> usbser.sys
>>>
>>>
>>> [RegisterAddSection] ;ADPDTM USB serial emulation
>>> HKR,DevLoader,*ntkern HKR,NTMPDriver,usbser.sys
>>> HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”
>>>
>>>
>>> ;…
>>> ;-------------------------------------------------------- Windows
>>> XP/Vista/Win 7- 64 bit Architecture
>>> ---------------------------------------
>>>
>>> ;…
>>>
>>> [MG.NTamd64]
>>> %mydevice1% = mydevice1.NTamd64,USB\VID_16DE&PID_0010
>>>
>>>
>>> [TELEMECANIQUE.NTamd64]
>>> %mydevice2% = mydevice2.NTamd64,USB\VID_16DE&PID_0011
>>>
>>>
>>> [SE1.NTamd64]
>>> %mydevice1% = mydevice1.NTamd64,USB\VID_16DE&PID_0012
>>>
>>>
>>> [SE2.NTamd64]
>>> %mydevice2% = mydevice2.NTamd64,USB\VID_16DE&PID_0013
>>>
>>>
>>> [mydevice1.NTamd64.Services]
>>> AddService=usbser, 0x00000000, mydevice1.SERVICEINST.NTamd64
>>>
>>>
>>> [mydevice1.SERVICEINST.NTamd64]
>>> DisplayName=%mydevice1%
>>> ServiceType= 1 ;SERVICE_KERNEL_DRIVER
>>> StartType = 3 ;SERVICE_DEMAND_START
>>> ErrorControl = 1;SERVICE_ERROR_NORMAL
>>> ServiceBinary = %12%\usbser.sys
>>> [mydevice1.NTamd64]
>>> CopyFiles=CopyFileSection.NTamd64
>>> AddReg=RegisterAddSection.NTamd64
>>>
>>>
>>> [mydevice2.NTamd64.Services]
>>> AddService=usbser, 0x00000000, mydevice2.SERVICEINST.NTamd64
>>>
>>>
>>> [mydevice2.SERVICEINST.NTamd64]
>>> DisplayName=%mydevice2%
>>> ServiceType= 1 ;SERVICE_KERNEL_DRIVER
>>> StartType = 3 ;SERVICE_DEMAND_START
>>> ErrorControl = 1;SERVICE_ERROR_NORMAL
>>> ServiceBinary = %12%\usbser.sys
>>>
>>>
>>> [mydevice2.NTamd64]
>>> CopyFiles=CopyFileSection.NTamd64
>>> AddReg=RegisterAddSection.NTamd64
>>>
>>>
>>> [CopyFileSection.NTamd64]
>>> usbser.sys
>>>
>>>
>>> [RegisterAddSection.NTamd64] ;ADPDTM USB serial emulation
>>> HKR,DevLoader,*ntkern HKR,NTMPDriver,usbser.sys
>>> HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”
>>>
>>>
>>> ;…
>>>
>>> [Strings]
>>> Mfg = “company Electric”
>>> SE1 = “company Electric”
>>> SE2 = “company Electric”
>>> MG = “MG”
>>> TELEMECANIQUE = “Telemecanique”
>>> mydevice1 = “USB mydevice Range”
>>> mydevice2 = “USB mydevice2 Range”
>>>
>>>
>>>
>>>
>>> On 7/17/12, xxxxx@gmail.com wrote:
>>> > sethu raman wrote:
>>> >
>>> >> Note : COM10 is the virtual port created when USBSER.sys is
>>> >> installed.
>>> >
>>> > Change your usbser INF to the Modem setup class from the Ports setup
>>> class.
>>> >
>>> >
>>> > —
>>> > NTDEV is sponsored by OSR
>>> >
>>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>>> > http://www.osr.com/seminars
>>> >
>>> > To unsubscribe, visit the List Server section of OSR Online at
>>> > http://www.osronline.com/page.cfm?name=ListServer
>>> >
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>
>>
>
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer