; swg3knm01.inf
; Copyright (c) 2010 Qualcomm Incorporated
; Manufacturer: Qualcomm Incorporated

[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %SWI%
CatalogFile = swg3kloc01.cat
DriverVer   = 12/16/2013,13.12.1080.6

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

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

[QCOM]
%Gobi3kLocation.SWIDevice90133% = Gobi3kLocation_Install, USB\VID_1199&PID_9013&MI_03
%Gobi3kLocation.SWIDevice90193% = Gobi3kLocation_Install, USB\VID_1199&PID_9019&MI_03
%Gobi3kLocation.SWIDevice901B3% = Gobi3kLocation_Install, USB\VID_1199&PID_901B&MI_03
%Gobi3kLocation.SWIDevice77002% = Gobi3kLocation_Install, USB\VID_0F3D&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice77502% = Gobi3kLocation_Install, USB\VID_114F&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice901C2% = Gobi3kLocation_Install, USB\VID_1199&PID_901C&MI_02
%Gobi3kLocation.SWIDevice901F2% = Gobi3kLocation_Install, USB\VID_1199&PID_901F&MI_02

[QCOM.NTx86.6.1]
%Gobi3kLocation.SWIDevice90133% = Gobi3kLocation_Install, USB\VID_1199&PID_9013&MI_03
%Gobi3kLocation.SWIDevice90193% = Gobi3kLocation_Install, USB\VID_1199&PID_9019&MI_03
%Gobi3kLocation.SWIDevice901B3% = Gobi3kLocation_Install, USB\VID_1199&PID_901B&MI_03
%Gobi3kLocation.SWIDevice77002% = Gobi3kLocation_Install, USB\VID_0F3D&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice77502% = Gobi3kLocation_Install, USB\VID_114F&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice901C2% = Gobi3kLocation_Install, USB\VID_1199&PID_901C&MI_02
%Gobi3kLocation.SWIDevice901F2% = Gobi3kLocation_Install, USB\VID_1199&PID_901F&MI_02

[QCOM.NTamd64.6.1]
%Gobi3kLocation.SWIDevice90133% = Gobi3kLocation_Install, USB\VID_1199&PID_9013&MI_03
%Gobi3kLocation.SWIDevice90193% = Gobi3kLocation_Install, USB\VID_1199&PID_9019&MI_03
%Gobi3kLocation.SWIDevice901B3% = Gobi3kLocation_Install, USB\VID_1199&PID_901B&MI_03
%Gobi3kLocation.SWIDevice77002% = Gobi3kLocation_Install, USB\VID_0F3D&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice77502% = Gobi3kLocation_Install, USB\VID_114F&PID_68A2&MI_02
%Gobi3kLocation.SWIDevice901C2% = Gobi3kLocation_Install, USB\VID_1199&PID_901C&MI_02
%Gobi3kLocation.SWIDevice901F2% = Gobi3kLocation_Install, USB\VID_1199&PID_901F&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      = swg3knmea01,  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%\swg3knmea01.sys

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

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

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

[gobiUsbDriverFiles]
swg3knmea01.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 - Lenovo"
SWI                             = "Sierra Wireless Inc."
Gobi3kLocation.SWIDevice90133   = "Sierra Wireless MC8355 – Gobi(TM) 3000 HS-USB NMEA 9013"
Gobi3kLocation.SWIDevice90193   = "Sierra Wireless MC8355 – Gobi(TM) 3000 HS-USB NMEA 9019"
Gobi3kLocation.SWIDevice901B3   = "Sierra Wireless MC7770 HS-USB NMEA 901B"
Gobi3kLocation.SWIDevice77002   = "Sierra Wireless MC7700 - Gobi(TM) 4000 HS-USB NMEA 68A2"
Gobi3kLocation.SWIDevice77502   = "Sierra Wireless MC7750 - Gobi(TM) 4000 HS-USB NMEA 68A2"
Gobi3kLocation.SWIDevice901C2   = "Sierra Wireless EM7700 - Gobi(TM) 4000 HS-USB NMEA 901C"
Gobi3kLocation.SWIDevice901F2   = "Sierra Wireless EM7355 - Gobi(TM) 5000 HS-USB NMEA 901F"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, 4c,74,94,0a,92,69,3a,db,b5,9e,f4,5b,40,f6,5a,cf,93,78,9f,\
  da,ea,cc,1d,99,df,52,12,fe,90,7a,cc,45,8a,a8,a1,85,60,3e,ea,e5,d1,14,04,72,\
  af,3f,04,a2,d3,26,85,db,c4,c1,a8,97,b9,72,b6,9a,f6,1d,bb,e0,a3,c7,4c,37,9b,\
  65,84,a2,62,00,f8,ae,b7,5b,bc,04,44,bb,a4,89,ab,9b,c6,30,af,6f,fa,98,16,dd,\
  10,7a,17,4a,d2,d9,36,6c,b7,1b,c7,be,d2,a0,01,bb,bb,92,87,5a,df,71,c2,64,90,\
  43,a8,c7,4f,76,fe,93,e1,65,7d,e2,80,eb,9f,dd,e5,b4,0e,19,31,62,b8,6c,60,97,\
  04,4d,8c,29,1c,53,65,77,59,2d,82,af,a5,b7,85,f9,fe,bf,1a,2f,b5,7f,71,8e,6e,\
  4d,ea,8f,07,8d,e9,7c,3b,24,88,06,ab,e3,c5,66,75,9a,27,0f,87,41,ff,73
