; swg3knm03.inf
; Copyright (c) 2010 Sierra Wireless Incorporated
; Manufacturer: Sierra Wireless Incorporated

[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %SWI%
CatalogFile = swg3kloc03.cat
DriverVer   = 08/25/2014,14.8.1080.9

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

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

[QCOM]
%Gobi3kLocation.SWIDevice90153% = Gobi3kLocation_Install, USB\VID_1199&PID_9015&MI_03
%Gobi3kLocation.SWIDevice90173% = Gobi3kLocation_Install, USB\VID_1199&PID_9017&MI_03
%Gobi3kLocation.SWIDevice68A22% = Gobi3kLocation_Install, USB\VID_1A78&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice90612% = Gobi3kLocation_Install, USB\VID_1199&PID_9061&MI_02

[QCOM.NTx86.6.1]
%Gobi3kLocation.SWIDevice90153% = Gobi3kLocation_Install, USB\VID_1199&PID_9015&MI_03
%Gobi3kLocation.SWIDevice90173% = Gobi3kLocation_Install, USB\VID_1199&PID_9017&MI_03
%Gobi3kLocation.SWIDevice68A22% = Gobi3kLocation_Install, USB\VID_1A78&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice90612% = Gobi3kLocation_Install, USB\VID_1199&PID_9061&MI_02

[QCOM.NTamd64.6.1]
%Gobi3kLocation.SWIDevice90153% = Gobi3kLocation_Install, USB\VID_1199&PID_9015&MI_03
%Gobi3kLocation.SWIDevice90173% = Gobi3kLocation_Install, USB\VID_1199&PID_9017&MI_03
%Gobi3kLocation.SWIDevice68A22% = Gobi3kLocation_Install, USB\VID_1A78&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice90612% = Gobi3kLocation_Install, USB\VID_1199&PID_9061&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      = swg3knmea03,  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%\swg3knmea03.sys

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

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

[All00]
HKR,,NTMPDriver,,swg3knmea03.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\swg3kloc03.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]
swg3kloc03.dll, swg3kloc00.dll
LocationHelper.dll

[gobiUsbDriverFiles]
swg3knmea03.sys, swg3knmea00.sys

; =================== Generic ==================================
[Strings]
QCOM                            = "Qualcomm Incorporated"
MediaDescription                = "Sierra Wireless Location Sensor Driver Installation Media"
ClassName                       = "Sierra Wireless Location Sensor Driver"
WudfRdDisplayName               = "Windows Driver Foundation - User-mode Driver Framework Reflector"
QCUSBSER                        = "Sierra Wireless QMI NMEA Communication - Fujitsu"
SWI                             = "Sierra Wireless Inc."
Gobi3kLocation.SWIDevice90153   = "Sierra Wireless NMEA Port"
Gobi3kLocation.SWIDevice90173   = "Sierra Wireless NMEA Port"
Gobi3kLocation.SWIDevice68A22   = "Sierra Wireless NMEA Port"
Gobi3kLocation.SWIDevice90612   = "Sierra Wireless NMEA Port"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, d3,df,99,de,2c,06,50,82,82,80,8f,c0,2b,eb,48,d0,05,5e,e9,\
  48,ce,91,8e,7f,43,13,20,06,13,a2,dc,5b,52,c3,0a,2e,6d,02,d1,65,e5,4b,61,54,\
  cc,2f,ed,e3,9a,06,d4,7d,ac,b5,19,12,b9,ee,d6,35,03,95,21,0f,cf,a8,5f,6a,ee,\
  41,fd,1a,23,df,5e,63,34,2c,6f,ee,7c,0e,d5,1b,de,63,d3,2b,b9,af,62,f5,0f,a8,\
  b3,f8,be,e6,26,d1,76,88,a7,3a,d6,11,cb,cb,d7,d0,23,6f,63,7c,7d,41,fb,4b,2e,\
  f6,7b,62,55,a7,28,c4,21,ef
