;copyright Freescale Semiconductor INC.
;------------------------------------------------------------------------------
;	  			Freescale Semiconductor INC.
;			Communication Device Class(CDC) INF File 
;------------------------------------------------------------------------------

[Version] 
Signature="$Windows NT$" 
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} 
Provider=%MANUFACTURER% 
LayoutFile=layout.inf
CatalogFile=CDC_DEVICE.cat

DriverVer= 09/11/2010,5.1.0

[Manufacturer] 
%MANUFACTURER%=DeviceList,ntx86,ntamd64,ntamd64.6.0

[DestinationDirs] 
DefaultDestDir=12 
MyDevice_CoInstaller_CopyFiles = 11

;------------------------------------------------------------------------------
;  		32 bits / Windows XP / Vista / 7
;------------------------------------------------------------------------------

[Driver32.ntx86] 
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.ntx86
CopyFiles=FakeModemCopyFileSection

[DriverCopyFiles.ntx86]
;usbser.sys,,,0x20
low_usb.sys
upp_usb.sys

[Driver32.ntx86.HW]
include=mdmcpq.inf
;AddReg=LowerFilterAddReg
AddReg=Driver32.ntx86.AddReg

[Driver32.ntx86.CoInstallers]
AddReg=MyDevice_CoInstaller_AddReg
CopyFiles=MyDevice_CoInstaller_CopyFiles

[Driver32.ntx86.Wdf]
KmdfService = %DRIVERFILENAME%, MyDevice_wdfsect

[Driver32.ntx86.AddReg] 
HKR,,DevLoader,,*ntkern 
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys 
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,"LowerFilters",0x00010008,"low_usb"
HKR,,"UpperFilters",0x00010008,"upp_usb"

[Driver32.ntx86.Services]
include=mdmcpq.inf
AddService=%DRIVERFILENAME%, 0x00000002, DriverService32.ntx86
AddService = low_usb, , lowfilt_Service_Inst
AddService = upp_usb, , uppfilt_Service_Inst

[DriverService32.ntx86] 
DisplayName=%SERVICE% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys

;------------------------------------------------------------------------------
;  		64 bits / Windows XP / Vista / 7
;------------------------------------------------------------------------------

[Driver64WV.ntamd64] 
include=mdmcpq.inf
CopyFiles=DriverCopyFilesWV.ntamd64
CopyFiles=FakeModemCopyFileSection

[DriverCopyFilesWV.ntamd64]
;usbser.sys,,,0x20
low_usbV.sys
upp_usbV.sys

[Driver64WV.ntamd64.HW]
include=mdmcpq.inf
;AddReg=LowerFilterAddReg
AddReg=Driver64WV.ntamd64.AddReg

[Driver64WV.ntamd64.CoInstallers]
AddReg=MyDevice_CoInstaller_AddReg
CopyFiles=MyDevice_CoInstaller_CopyFiles

[Driver64WV.ntamd64.Wdf]
KmdfService = %DRIVERFILENAME%, MyDevice_wdfsect

[Driver64WV.ntamd64.AddReg] 
HKR,,DevLoader,,*ntkern 
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys 
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,"LowerFilters",0x00010008,"low_usb"
HKR,,"UpperFilters",0x00010008,"upp_usb"

[Driver64WV.ntamd64.Services]
include=mdmcpq.inf
AddService=%DRIVERFILENAME%, 0x00000002, DriverService64WV.ntamd64
;AddService=%DRIVERFILENAME%, 0x00000002, LowerFilter_Service_Inst
AddService = low_usb, , lowfilt_Service_InstWV
AddService = upp_usb, , uppfilt_Service_InstWV

[DriverService64WV.ntamd64]
DisplayName=%SERVICE% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys

[lowfilt_Service_InstWV]
DisplayName    = "Lower Class Filter Driver for FSL"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\low_usbV.sys

[uppfilt_Service_InstWV]
DisplayName    = "Upper Class Filter Driver for FSL"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\upp_usbV.sys

;------------------------------------------------------------------------------
;  			        32 bits / 64 bits
;------------------------------------------------------------------------------

[MyDevice_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[MyDevice_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[MyDevice_wdfsect]
KmdfLibraryVersion = 1.9

[lowfilt_Service_Inst]
DisplayName    = "Lower Class Filter Driver for FSL"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\low_usb.sys

[uppfilt_Service_Inst]
DisplayName    = "Upper Class Filter Driver for FSL"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\upp_usb.sys

;------------------------------------------------------------------------------
;			VID/PID Settings
;------------------------------------------------------------------------------
[SourceDisksFiles.x86]
low_usb.sys = 1,32
upp_usb.sys = 1,32
WdfCoInstaller01009.dll = 1,32

[SourceDisksFiles.amd64]
WdfCoInstaller01009.dll = 1,64
low_usbV.sys = 1,64
upp_usbV.sys = 1,64

[SourceDisksNames]
1 = %SOURCE_DESCRIPTION%
[DeviceList.ntx86]
%DESCRIPTION%=Driver32, USB\VID_15A2&PID_005A&USB2SER
 
[DeviceList.ntamd64]
%DESCRIPTION%=Driver64WV, USB\VID_15A2&PID_005A&USB2SER

[DeviceList.ntamd64.6.0]
%DESCRIPTION%=Driver64WV, USB\VID_15A2&PID_005A&USB2SER

;------------------------------------------------------------------------------
;  			String Definitions
;------------------------------------------------------------------------------
[Strings]

FILENAME="FSL_Pounce_cdc"
DRIVERFILENAME ="usbser"
MANUFACTURER="Freescale Semiconductor Inc"
INSTDISK="USB2UART"
DESCRIPTION="Freescale CDC Device"
SERVICE="Virtual Com Driver"
SOURCE_DESCRIPTION="Fresscale CDC driver"

