; swg3knm05.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 = swg3kloc05.cat
DriverVer   = 01/23/2015,15.1.1080.10

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

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

[QCOM]
%Gobi3kLocation.SWIDevice81A22% = Gobi3kLocation_Install, USB\VID_413C&PID_81A2&MI_02
%Gobi3kLocation.SWIDevice81A32% = Gobi3kLocation_Install, USB\VID_413C&PID_81A3&MI_02
%Gobi3kLocation.SWIDevice81A42% = Gobi3kLocation_Install, USB\VID_413C&PID_81A4&MI_02
%Gobi3kLocation.SWIDevice81A82% = Gobi3kLocation_Install, USB\VID_413C&PID_81A8&MI_02
%Gobi3kLocation.SWIDevice81A92% = Gobi3kLocation_Install, USB\VID_413C&PID_81A9&MI_02
%Gobi3kLocation.SWIDevice81B12% = Gobi3kLocation_Install, USB\VID_413C&PID_81B1&MI_02
%Gobi3kLocation.SWIDevice81B13% = Gobi3kLocation_Install, USB\VID_413C&PID_81B3&MI_02

[QCOM.NTx86.6.1]
%Gobi3kLocation.SWIDevice81A22% = Gobi3kLocation_Install, USB\VID_413C&PID_81A2&MI_02
%Gobi3kLocation.SWIDevice81A32% = Gobi3kLocation_Install, USB\VID_413C&PID_81A3&MI_02
%Gobi3kLocation.SWIDevice81A42% = Gobi3kLocation_Install, USB\VID_413C&PID_81A4&MI_02
%Gobi3kLocation.SWIDevice81A82% = Gobi3kLocation_Install, USB\VID_413C&PID_81A8&MI_02
%Gobi3kLocation.SWIDevice81A92% = Gobi3kLocation_Install, USB\VID_413C&PID_81A9&MI_02
%Gobi3kLocation.SWIDevice81B12% = Gobi3kLocation_Install, USB\VID_413C&PID_81B1&MI_02
%Gobi3kLocation.SWIDevice81B13% = Gobi3kLocation_Install, USB\VID_413C&PID_81B3&MI_02

[QCOM.NTamd64.6.1]
%Gobi3kLocation.SWIDevice81A22% = Gobi3kLocation_Install, USB\VID_413C&PID_81A2&MI_02
%Gobi3kLocation.SWIDevice81A32% = Gobi3kLocation_Install, USB\VID_413C&PID_81A3&MI_02
%Gobi3kLocation.SWIDevice81A42% = Gobi3kLocation_Install, USB\VID_413C&PID_81A4&MI_02
%Gobi3kLocation.SWIDevice81A82% = Gobi3kLocation_Install, USB\VID_413C&PID_81A8&MI_02
%Gobi3kLocation.SWIDevice81A92% = Gobi3kLocation_Install, USB\VID_413C&PID_81A9&MI_02
%Gobi3kLocation.SWIDevice81B12% = Gobi3kLocation_Install, USB\VID_413C&PID_81B1&MI_02
%Gobi3kLocation.SWIDevice81B13% = Gobi3kLocation_Install, USB\VID_413C&PID_81B3&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      = swg3knmea05,  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%\swg3knmea05.sys

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

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

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

[gobiUsbDriverFiles]
swg3knmea05.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 - Dell"
SWI                             = "Sierra Wireless Inc."
Gobi3kLocation.SWIDevice81A22   = "Dell Wireless 5806 Gobi(TM) 4G LTE Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81A32   = "Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81A42   = "Dell Wireless 5570e HSPA+ (42Mbps) Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81A82   = "Dell Wireless 5808 Gobi(TM) 4G LTE Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81A92   = "Dell Wireless 5808e Gobi(TM) 4G LTE Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81B12   = "Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81B13   = "Dell Wireless 5809e GobiTM HSPA+ Mobile Broadband NMEA Port"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, 39,26,84,0d,a9,cf,dd,05,bc,2b,ef,64,80,09,83,3e,5a,5b,7d,\
  53,2b,4a,ca,31,ac,78,c2,3a,f6,6e,02,32,ca,a2,31,e0,30,34,e1,a8,6c,13,cc,da,\
  cf,4e,84,0f,39,ee,26,12,65,ab,de,a3,c8,fa,8b,35,19,a5,40,91,1c,58,ea,3d,ac,\
  ed,29,0e,29,a9,35,8d,25,bd,9e,12,5c,6e,0a,ee,41,35,a8,2c,89,79,a0,a7,1a,ef,\
  bb,ee,08,b3,57,f5,d9,45,b0,d2,62,44,c4,f4,2c,8b,f1,ef,ca,a2,31,e0,30,34,e1,\
  a8,6c,13,cc,da,cf,4e,84,0f,49,89,9a,94,7a,3c,1e,de,a7,f8,1d,05,68,35,84,70,\
  e9,bf,aa,05,40,f5,ab,e5,18,13,6d,e8,23,96,e1,82,96,e1,12,0f,7b,3e,58,01,96,\
  e8,0d,84,df,63,ac,24,6a,c4,f0,fb,f3,76,43,65,91,73,97,69,f7,55,67,01,d2,f1,\
  9c,6f,a6,3b,32,5d,60,3e,b4,f7,eb,19,19,9f,d3,55,bf,16,bf,75,d2,d0,6b,95,bb,\
  1a,b8,13,88,1a,ab,d1,f3,d9,e5,b9,ec,01,15,d2,3d,ee,84,29,37,a8,2c,bd,bb,2b,\
  c0,33,c6,81,f6,44,ea,bc,f4,c8,c8,11,33,06,ad,af,35,23,d0,50,74,2d,ab,72,6a,\
  41,5a,eb,43,1e,89,a2,22,9c,18,6a,77,41,6d,80,49,c1,c4,6d

