Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

OSR is Hiring! Click here to find out more.

Upcoming OSR Seminars:
Writing WDF Drivers for Windows Lab, Palo Alto, CA 28 April-2 May, 2014
Advanced WDF Driver Lab, Palo Alto, CA 5-8 May, 2014
Developing File Systems for Windows, Boston/Waltham, MA 13-16 May, 2014
Windows Internals & Software Drivers Lab, Dulles/Sterling, VA, CA 23-27 June, 2014


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 18  
05 Jul 12 05:33
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Modem Creation with USBSER-issue

I am making use of USEBSER.SYS in my inf. There is no problem in driver installation and the device is working fine with the driver detected, both in win7 and winxp. In winxp,a new virtual com port will be created and the corresponding modem will be created automatically with the virtual port created. So my intention is to create a dialup connection to establish PPP between my device and laptop. So i have to use the modem created in the above step. Now,I am able to communicate with my device using dial up connection. But in win7, the modem is not getting created after the successful installation of driver followed by virtual port creation. So i have to manually create a modem with the port created , which is happening automatically in winxp. Once i created the modem manually, i am able to create a Dial Up connection to communicate with my device. Can't the modem created automatically as it happens in xp? Is this the default behavior of win7? Is there any thing to be handled in my inf to support automatic modem creation in win 7 ? Note: I am pro-grammatically automating the dialup connection creation process using windows programming using c language.
  Message 2 of 18  
14 Jul 12 02:30
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
RE: Modem Creation with USBSER-issue

Please ignore my previous email as am illustrating the problem here clearly. My duty is to install a driver for my USB(Laptop End) to serial(RS232-Embedded Device end) embedded device (like mobile phone). So, i am installing the driver USBSER.sys ,which creates a virtual com port. This part is successful. Please extract the zip file attached(MDM_Creation) and click the html file to view the video presentation. http://www27.zippyshare.com/v/36845932/file.html As in the video file, my code has to install a driver for the modem as how windows does. Also, please find the attachment(Alternate.zip) for the alternate method of modem installation. Click on the html file to view the video. http://www27.zippyshare.com/v/52619079/file.html As i need to create the DialUp connection pro-grammatically, i have to automate the modem installation process in code. Please assist me on this. Thanks in advance...
  Message 3 of 18  
16 Jul 12 22:35
Chris Aseltine
xxxxxx@gmail.com
Join Date: 23 Sep 2006
Posts To This List: 1096
RE: Modem Creation with USBSER-issue

sethu raman wrote: > As i need to create the DialUp connection pro-grammatically, > i have to automate the modem installation process in code. Why don't you just change your usbser INF to install as a modem, instead of installing as a COM port and layering a modem on top of that port? You realize you can do this, right? If memory serves, usbser will read the setup class of your device and create the appropriate device interface (either modem or serial port).
  Message 4 of 18  
17 Jul 12 00:03
Alex Grig
xxxxxx@broadcom.com
Join Date: 14 Apr 2008
Posts To This List: 2358
RE: Modem Creation with USBSER-issue

>Why don't you just change your usbser INF to install as a modem, A modem is usually enumerated by serenum.
  Message 5 of 18  
17 Jul 12 01:27
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 8860
RE: Modem Creation with USBSER-issue

A modem connected to a physical serial port is usually enumerated by serenum. It is quite normal to layer usbser and modem.sys in the same stack for a device which has an "embedded" serial port where it can only be a modem d debt from my phone ________________________________ From: xxxxx@broadcom.com Sent: 7/16/2012 9:03 PM To: Windows System Software Devs Interest List Subject: RE:[ntdev] Modem Creation with USBSER-issue >Why don't you just change your usbser INF to install as a modem, A modem is usually enumerated by serenum. --- 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 --
  Message 6 of 18  
17 Jul 12 03:37
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: Modem Creation with USBSER-issue

Thanks for your replies. I hope you understood my problem clearly by spending sometime in watching the video presentation. Could you please explain me a bit more on this with some references and samples. Its too hard for me to understand as I'm a new to this. Please explain me! Please click the below link for my inf file. http://www66.zippyshare.com/v/24227672/file.html On Tue, Jul 17, 2012 at 10:56 AM, Doron Holan <xxxxx@microsoft.com>wrote: > A modem connected to a physical serial port is usually enumerated by > serenum. It is quite normal to layer usbser and modem.sys in the same stack > for a device which has an "embedded" serial port where it can only be a > modem > > d > > debt from my phone > ------------------------------ > From: xxxxx@broadcom.com <...excess quoted lines suppressed...> --
  Message 7 of 18  
17 Jul 12 10:12
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 8860
RE: Modem Creation with USBSER-issue

I am not going to watch your video. While you may be new to this, that doesn't mean we do your work for yoi d debt from my phone ________________________________ From: Sethuraman R Sent: 7/17/2012 12:37 AM To: Windows System Software Devs Interest List Subject: Re: [ntdev] Modem Creation with USBSER-issue Thanks for your replies. I hope you understood my problem clearly by spending sometime in watching the video presentation. Could you please explain me a bit more on this with some references and samples. Its too hard for me to understand as I'm a new to this. Please explain me! Please click the below link for my inf file. http://www66.zippyshare.com/v/24227672/file.html On Tue, Jul 17, 2012 at 10:56 AM, Doron Holan <xxxxx@microsoft.com<mailto:xxxxx@microsoft.com>> wrote: A modem connected to a physical serial port is usually enumerated by serenum. It is quite normal to layer usbser and modem.sys in the same stack for a device which has an "embedded" serial port where it can only be a modem d debt from my phone ________________________________ From: xxxxx@broadcom.com<mailto:xxxxx@broadcom.com> Sent: 7/16/2012 9:03 PM To: Windows System Software Devs Interest List Subject: RE:[ntdev] Modem Creation with USBSER-issue >Why don't you just change your usbser INF to install as a modem, A modem is usually enumerated by serenum. --- 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=3DListServer --
  Message 8 of 18  
17 Jul 12 10:57
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: Modem Creation with USBSER-issue

Dear Doron, I doesn't mean in that way, and sorry for that. I just asked some reference tech notes or some links to understand more clearly. Here is my issue in text format: I follow the below steps to create a LAN connection between my PC and device. Create a new connection -> setup an advanced connection -> Connect directly to another computer -> guest -> Computer name -> *Select a device ( Communication port ( COM 10 ) )* -> Anyone's use -> Finish Now a new connections gets created successfully and I can connect to my device. Note : COM10 is the virtual port created when USBSER.sys is installed. My query here is, at this step *Select a device ( Communication port ( COM 10 ) )* A new modem gets created and below is the setupapi.log for this. Is there any APIs to create a new modem? How windows create a modem silently without displaying any messages to the user? How can I achieve the same? SetupApi.log: [2012/07/17 20:00:02 120.4629 Driver Install] #-019 Searching for hardware ID(s): pnpc031 #-198 Command line processed: C:\WINDOWS\Explorer.EXE #I022 Found "PNPC031" in C:\WINDOWS\INF\mdmhayes.inf; Device: "Communications cable between two computers"; Driver: "Communications cable between two computers"; Provider: "Microsoft"; Mfg: "(Standard Modem Types)"; Section name: "M2700". #I023 Actual install section: [M2700]. Rank: 0x00000000. Effective driver date: 03/09/2000. #I063 Selected driver installs from section [M2700] in "c:\windows\inf\mdmhayes.inf". #I320 Class GUID of device remains: {4D36E96D-E325-11CE-BFC1-08002BE10318}. #I060 Set selected driver. #-166 Device install function: DIF_INSTALLWIZARD. #-166 Device install function: DIF_INSTALLDEVICE. #I123 Doing full install of "ROOT\PNPC031\0001". #-011 Installing section [M2700] from "c:\windows\inf\mdmhayes.inf". #I121 Device install of "ROOT\PNPC031\0001" finished successfully. In another way I created a new modem by following below steps : Controlpanel -> Phone and modem options -> modems -> add -> Dont detect my modem; I will select from the list -> Communication between two cables -> * COM10* ( virtual COM port created when I installed USBSER.sys ) -> Finish. By doing this a new modem gets created named "Communiction cable between two computers #1" and it is mapped with COM10. How to do this using APIs? The below is the SetupApi.log for the above steps : [2012/07/17 20:19:23 5868.17 Driver Install] #-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\telephon.cpl",Phone and Modem Options #I060 Set selected driver. [2012/07/17 20:19:23 5868.18] #-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\telephon.cpl",Phone and Modem Options #-166 Device install function: DIF_INSTALLDEVICE. #I123 Doing full install of "ROOT\MODEM\0008". #-011 Installing section [M2700] from "c:\windows\inf\mdmhayes.inf". #I121 Device install of "ROOT\MODEM\0008" finished successfully. On Tue, Jul 17, 2012 at 7:41 PM, Doron Holan <xxxxx@microsoft.com>wrote: > I am not going to watch your video. While you may be new to this, that > doesn't mean we do your work for yoi > > > d > > debt from my phone > ------------------------------ > From: Sethuraman R > Sent: 7/17/2012 12:37 AM <...excess quoted lines suppressed...> --
  Message 9 of 18  
17 Jul 12 12:06
Chris Aseltine
xxxxxx@gmail.com
Join Date: 23 Sep 2006
Posts To This List: 1096
RE: Modem Creation with USBSER-issue

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.
  Message 10 of 18  
17 Jul 12 23:21
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 20 Feb 2003
Posts To This List: 9274
Re: Modem Creation with USBSER-issue

>I follow the below steps to create a LAN connection between my PC and device. LAN? or maybe PPP? -- Maxim S. Shatskih Windows DDK MVP xxxxx@storagecraft.com http://www.storagecraft.com
  Message 11 of 18  
18 Jul 12 02:11
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: Modem Creation with USBSER-issue

Yes its PPP Connection. On Wed, Jul 18, 2012 at 8:51 AM, Maxim S. Shatskih <xxxxx@storagecraft.com>wrote: > >I follow the below steps to create a LAN connection between my PC and > device. > > LAN? or maybe PPP? > > -- > Maxim S. Shatskih > Windows DDK MVP > xxxxx@storagecraft.com > http://www.storagecraft.com <...excess quoted lines suppressed...> --
  Message 12 of 18  
19 Jul 12 15:36
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: 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 <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 <...excess quoted lines suppressed...>
  Message 13 of 18  
19 Jul 12 15:46
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 8860
RE: Modem Creation with USBSER-issue

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 <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 <...excess quoted lines suppressed...> --- 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
  Message 14 of 18  
20 Jul 12 11:39
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: Modem Creation with USBSER-issue

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\mkumar@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\mkumar@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\mkumar@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\mkumar@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 <xxxxx@microsoft.com>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, <...excess quoted lines suppressed...>
  Message 15 of 18  
23 Jul 12 02:52
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: Modem Creation with USBSER-issue

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 <xxxxx@gmail.com> 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] <...excess quoted lines suppressed...>
  Message 16 of 18  
23 Jul 12 14:06
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
Re: 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, "<h00>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 <xxxxx@gmail.com> 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 <xxxxx@gmail.com> > wrote: > <...excess quoted lines suppressed...>
  Message 17 of 18  
23 Jul 12 14:20
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 8860
RE: Modem Creation with USBSER-issue

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, "<h00>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 <xxxxx@gmail.com> 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 <xxxxx@gmail.com> > wrote: > <...excess quoted lines suppressed...>
  Message 18 of 18  
23 Jul 12 14:51
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 8998
Re: Modem Creation with USBSER-issue

Sethuraman R wrote: > [Version] > Signature = "$CHICAGO$" > Class = Modem > ClassGuid = {4D36E96D-E325-11CE-BFC1-08002BE10318} > Provider = %VENDOR% > LayoutFile = layout.inf > CatalogFile.NTx86 = Companyx86.cat > CatalogFile.NTAMD64 = Schneideramd64.cat Third-party INF files never use LayoutFile. That's only for INFs that ship with Windows. You probably don't need separate CAT files for x86 and AMD64. In fact, the INF you have here doesn't support AMD64 at all. > [All] > HKR,,FriendlyDriver,,Unimodem.vxd > HKR,,DevLoader,,*VCOMM > HKR,,PortSubClass,1,02 > HKR,,ConfigDialog,,modemui.dll > HKR,,EnumPropPages,,"modemui.dll,EnumPropPages" The "FriendlyDriver" and "DevLoader" settings only have meaning on Windows 98. You may delete them. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 02:38.


Copyright ©2014, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license