;-------------------------------------------------------------------------------
; Novatel Wireless Location Sensor USB Serial Port
; Module Name -- nwgobi3kLocation.inf 
; Copyright (c) 2010-2011 Novatel Wireless Inc.
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; INF Version Section
;-------------------------------------------------------------------------------
 
[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %NW%
CatalogFile.NT = nwhplocation.cat
CatalogFile.NTAMD64 = nwhplocationx64.cat
DriverVer      = 11/14/2011,1.0.0.5

;-------------------------------------------------------------------------------
; INF Manufactuerer Section
;-------------------------------------------------------------------------------

[Manufacturer]
%NW% = Models, NTamd64

;-------------------------------------------------------------------------------
; INF Models Section
;-------------------------------------------------------------------------------

[Models]
%NWHPLocation.DeviceDesc00% = Novatel.HPLocation_Install, USB\VID_03F0&PID_3B1D&MI_04
%NWHPLocation.DeviceDesc01% = Novatel.HPLocation_Install, USB\VID_03F0&PID_411D&MI_04
%NWHPLocation.DeviceDesc02% = Novatel.HPLocation_Install, USB\VID_03F0&PID_421D&MI_04
%NWHPLocation.DeviceDesc03% = Novatel.HPLocation_Install, USB\VID_03F0&PID_431D&MI_04
%NWHPLocation.DeviceDesc04% = Novatel.HPLocation_Install, USB\VID_03F0&PID_441D&MI_04

[Models.NTamd64]
%NWHPLocation.DeviceDesc00% = Novatel.HPLocation_Install64, USB\VID_03F0&PID_3B1D&MI_04
%NWHPLocation.DeviceDesc01% = Novatel.HPLocation_Install64, USB\VID_03F0&PID_411D&MI_04
%NWHPLocation.DeviceDesc02% = Novatel.HPLocation_Install64, USB\VID_03F0&PID_421D&MI_04
%NWHPLocation.DeviceDesc03% = Novatel.HPLocation_Install64, USB\VID_03F0&PID_431D&MI_04
%NWHPLocation.DeviceDesc04% = Novatel.HPLocation_Install64, USB\VID_03F0&PID_441D&MI_04

[SourceDisksNames]
1 = %MediaDescription%

[SourceDisksFiles]
nwhplocation.dll = 1,,
LocationHelper.dll      = 1,,

[SourceDisksFiles.amd64]
nwhplocationx64.dll = 1,,
LocationHelperx64.dll      = 1,,

[UMDriverCopy]
nwhplocation.dll,,,0x20
LocationHelper.dll,,,0x20

[UMDriverCopy.AMD64]
nwhplocation.dll,nwhplocationx64.dll,,0x20
LocationHelper.dll,LocationHelperx64.dll,,0x20


;-------------------------------------------------------------------------------
; INF DDInstall Section
;-------------------------------------------------------------------------------

[Novatel.HPLocation_Install]
CopyFiles       = UMDriverCopy
AddReg          = All00, NWAddReg, DevFunction1, LFSupport
FeatureScore    = 0x20

[Novatel.HPLocation_Install64]
CopyFiles       = UMDriverCopy.AMD64
AddReg          = All00, NWAddReg, DevFunction1, LFSupport
FeatureScore    = 0x20

  
[Novatel.HPLocation_Install.hw]
AddReg          = UpperFilterAddReg

[Novatel.HPLocation_Install64.hw]
AddReg          = UpperFilterAddReg

[UpperFilterAddReg]
HKR,,"UpperFilters",0x00010000,"WUDFRd"


[Novatel.HPLocation_Install.Services]
AddService      = NWHPPort2,  0x00000002, Novatel_USBSerialService
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Novatel.HPLocation_Install64.Services]
AddService      = NWHPPort2,  0x00000002, Novatel_USBSerialService
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Novatel.HPLocation_Install.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles=WUDF_CoInstallers_CopyFiles

[Novatel.HPLocation_Install64.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles=WUDF_CoInstallers_CopyFiles.NTAMD64


[Novatel.HPLocation_Install.Wdf]
UmdfService                = NWHPLocation,UMDFNWHPLocation_Install
UmdfServiceOrder           = NWHPLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients

[Novatel.HPLocation_Install64.Wdf]
UmdfService                = NWHPLocation,UMDFNWHPLocation_Install
UmdfServiceOrder           = NWHPLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients


[Novatel_USBSerialService]
DisplayName   = %NWUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\nwhpser2.sys
AddReg	      = PowerMgt, SSPowerMgt, GPSAutoSense


[All00]
HKR,,NTMPDriver,,nwhpser2.sys

[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

[NWAddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[LFSupport]
HKR,,NVTLLFSupport,0x00010001,1

[PowerMgt]
HKR,,QCDriverPowerManagementEnabled,0x00010001,0x00000001
HKR,,QCDriverWaitWakeEnabled,0x00010001,0x00000000

[SSPowerMgt]
HKR,,QCDriverSelectiveSuspendIdleTime,0x00010001,0x80000005

[GPSAutoSense]
HKR,,QCDriverStartUpDelayInSecs,0x00010001,0x0000000E

; =================== UMDF Service Install section ===================

[UMDFNWHPLocation_Install]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\nwhplocation.dll
DriverCLSID             = {3D675F8A-8657-4918-8EF7-16C14859ECE6}

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base


[WUDF_CoInstallers_CopyFiles]
WudfUpdate_01009.dll


[WUDF_CoInstallers_CopyFiles.NTAMD64]
WudfUpdate_01009.dll,WudfUpdate_01009_amd64.dll,,0x20

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

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFUpdate_01009.dll"

[DestinationDirs]
UMDriverCopy                 = 12,UMDF
UMDriverCopy.AMD64	     = 12,UMDF
WUDF_CoInstallers_CopyFiles  = 11
WUDF_CoInstallers_CopyFiles.NTAMD64 = 11


;-------------------------------------------------------------------------------
; INF Strings Section
;-------------------------------------------------------------------------------
[Strings]
NW               = "Novatel Wireless Inc"
MediaDescription = "Novatel Wireless Installation Media"
ClassName        = "HP lt2522 Location Sensor Driver"
WudfRdDisplayName= "Windows Driver Foundation - User-mode Driver Framework Reflector"
NWHPLocation.DeviceDesc00 = "HP lt2510VZW Mobile Broadband Module NMEA"
NWHPLocation.DeviceDesc01 = "HP lt2522 Mobile Broadband Module NMEA"
NWHPLocation.DeviceDesc02 = "HP lt2523 Mobile Broadband Module NMEA"
NWHPLocation.DeviceDesc03 = "HP lt2527 Mobile Broadband Module NMEA"
NWHPLocation.DeviceDesc04 = "HP lt2528 Mobile Broadband Module NMEA"
NWUSBSER         = "HP Wireless Mobile Broadband Status2 Driver"

