;/*++
;
;
;Module Name:
;
;    NXPGENERICUSB.INF
;
;Abstract:
;    Installation inf for nxp Genric Usb -PN533 device
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider=%NXP%
DriverVer=07/25/2012,1.0.0.5
CatalogFile=nxpGenericUsb.cat


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

[nxpGenericUsb.AddReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

; ================= Device section =====================

[Manufacturer]
%MfgName%=NXPSemiConductor,NTx86,NTAMD64

; For Win2K
[NXPSemiConductor]
%USB\VID_04CC&PID_2533.DeviceDesc%=nxpGenericUsb.Dev, USB\VID_04CC&PID_2533

; For XP and later
[NXPSemiConductor.NTx86]
%USB\VID_04CC&PID_2533.DeviceDesc%=nxpGenericUsb.Dev, USB\VID_04CC&PID_2533

[NXPSemiConductor.NTAMD64]
%USB\VID_04CC&PID_2533.DeviceDesc%=nxpGenericUsb.Dev, USB\VID_04CC&PID_2533

[nxpGenericUsb.Dev.NT]
CopyFiles=nxpGenericUsb.Files.Ext

[nxpGenericUsb.Dev.NTamd64]
CopyFiles=nxpGenericUsb.Files.Ext

[nxpGenericUsb.Dev.NT.Services]
AddService = nxpgeu, %SPSVCINST_ASSOCSERVICE%, nxpGenericUsb.AddService

[nxpGenericUsb.Dev.NTamd64.Services]
AddService = nxpgeu, %SPSVCINST_ASSOCSERVICE%, nxpGenericUsb.AddService


[nxpGenericUsb.Dev.NTAMD64.Hw]
AddReg    = NXP_CustomSettingReg

[NXP_CustomSettingReg]
HKR,,IdleTimeOut,0x00010001,5000 ; idle time out set to 5 Sec =>5000 msec



[nxpGenericUsb.AddService]
DisplayName    = %nxpGenericUsb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\nxpGenericUsb.sys
AddReg         = nxpGenericUsb.AddReg


[nxpGenericUsb.Files.Ext]
nxpGenericUsb.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
nxpGenericUsb.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[nxpGenericUsb.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[nxpGenericUsb.Dev.NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

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

[nxpGenericUsb.Dev.NT.Wdf]
KmdfService = nxpgeu, nxpGenericUsb_wdfsect

[nxpGenericUsb.Dev.NTamd64.Wdf]
KmdfService = nxpgeu, nxpGenericUsb_wdfsect

[nxpGenericUsb_wdfsect]
KmdfLibraryVersion = 1.9

;---------------------------------------------------------------;

[Strings]
NXP="NXP Semiconductors"
MfgName="NXP"
Disk_Description="NXP Generic Usb Driver"
USB\VID_04CC&PID_2533.DeviceDesc="PN533 NFC Device"
nxpGenericUsb.SvcDesc="NXP Generic Usb Driver "
ClassName       = "USB Device"
SPSVCINST_ASSOCSERVICE= 0x00000002

