; swg3knm02.inf
; Copyright (c) 2012 Qualcomm Incorporated
; Manufacturer: Qualcomm Incorporated

[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %SWI%
CatalogFile = swg3kloc02.cat
DriverVer   = 01/23/2015,15.1.1080.10

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%SWI% = QCOM, NTx86.6.1, NTamd64.6.1

[QCOM]
%HPGobi3kLocation.DeviceDesc% = Gobi3kLocation_Install, USB\VID_03F0&PID_371D&MI_03
%HPltLocation.DeviceDesc%     = Gobi3kLocation_Install, USB\VID_03F0&PID_4E1D&MI_02

[QCOM.NTx86.6.1]
%HPGobi3kLocation.DeviceDesc% = Gobi3kLocation_Install, USB\VID_03F0&PID_371D&MI_03
%HPltLocation.DeviceDesc%     = Gobi3kLocation_Install, USB\VID_03F0&PID_4E1D&MI_02

[QCOM.NTamd64.6.1]
%HPGobi3kLocation.DeviceDesc% = Gobi3kLocation_Install, USB\VID_03F0&PID_371D&MI_03
%HPltLocation.DeviceDesc%     = Gobi3kLocation_Install, USB\VID_03F0&PID_4E1D&MI_02

; =================== Location Sensor Device ==================================

[Gobi3kLocation_Install]
CopyFiles       = UMDriverCopy
AddReg          = All00, QCAddReg, DevFunction1, DeviceID.Reg  
FeatureScore    = 0x20  
CopyFiles       = gobiUsbDriverFiles

[Gobi3kLocation_Install.hw]
AddReg          = UpperFilterAddReg

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

[Gobi3kLocation_Install.Services]
AddService      = swg3knmea02,  0x00000002, QC_USBSerialService, QC_USBSerialService.EventLog
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Gobi3kLocation_Install.CoInstallers]
AddReg          = WUDF_CoInstallers_AddReg
CopyFiles       = WUDF_CoInstallers_CopyFiles

[Gobi3kLocation_Install.Wdf]
UmdfService                = Gobi3kLocation,UMDFGobi3kLocation_Install
UmdfServiceOrder           = Gobi3kLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients

[QC_USBSerialService]
DisplayName   = %QCUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\swg3knmea02.sys

[QC_USBSerialService.EventLog]
AddReg = QC_USBSerialService.AddEventLog.Reg

[QC_USBSerialService.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\swg3knmea02.sys"
HKR, , TypesSupported,   0x00010001, 7

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

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

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

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

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

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

[SourceDisksNames]
1 = %MediaDescription%,,,\sys\x86
2 = %MediaDescription%,,,\sys\amd64

[SourceDisksFiles.x86]
swg3kloc00.dll      = 1
LocationHelper.dll  = 1
swg3knmea00.sys     = 1

[SourceDisksFiles.amd64]
swg3kloc00.dll      = 2
LocationHelper.dll  = 2
swg3knmea00.sys     = 2

[WUDF_CoInstallers_CopyFiles]

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

[DestinationDirs]
UMDriverCopy                 = 12,UMDF
WUDF_CoInstallers_CopyFiles  = 11
gobiUsbDriverFiles           = 12

[UMDriverCopy]
swg3kloc02.dll, swg3kloc00.dll
LocationHelper.dll

[gobiUsbDriverFiles]
swg3knmea02.sys, swg3knmea00.sys

; =================== Generic ==================================
[Strings]
QCOM                            = "Qualcomm Incorporated"
MediaDescription                = "Sierra Wireless Gobi 3000 Location Sensor Driver Installation Media"
ClassName                       = "Sierra Wireless Gobi 3000 Location Sensor Driver"
WudfRdDisplayName               = "Windows Driver Foundation - User-mode Driver Framework Reflector"
QCUSBSER                        = "Sierra Wireless QMI NMEA Communication - HP"
HPGobi3kLocation.DeviceDesc     = "HP un2430 Mobile Broadband Module NMEA"
HPltLocation.DeviceDesc         = "HP lt4111 LTE/EV-DO/HSPA+ Mobile Broadband Module NMEA" 
SWI                             = "Sierra Wireless Inc."

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, 8d,1b,66,04,f3,1d,4b,8b,a5,b5,a5,8c,31,d2,8f,7d,9e,2c,c1,\
  cb,a3,da,52,2d,5e,6e,1b,74,5b,65,2b,31,6b,8b,c4,fd,2a,05,63,30,3d,6b,b5,05,\
  af,25,1e,68,50,52,4f,75,3f,aa,55,05,64,63,c8,67,27,44,3b,72,40,dd,47,86,0c,\
  8a,11,38,62,8b,6d,53,ed,93,27,a9,a5,d2,ad,ec,26,3b,81,a5,fa,6e,75,d2,ce,47,\
  2b,ed,7e,cb,b9,be,91,0a,7c,6b,68,39,5d,bb,85,22,af,75
