; swg3knm06.inf
; Copyright (c) 2013 Sierra Wireless Incorporated
; Manufacturer: Sierra Wireless Incorporated

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

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

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

[QCOM]
%Gobi3kLocation.SWIDevice90632% = Gobi3kLocation_Install, USB\VID_1199&PID_9063&MI_02
%Gobi3kLocation.SWIDevice90652% = Gobi3kLocation_Install, USB\VID_1199&PID_9065&MI_02

[QCOM.NTx86.6.1]
%Gobi3kLocation.SWIDevice90632% = Gobi3kLocation_Install, USB\VID_1199&PID_9063&MI_02
%Gobi3kLocation.SWIDevice90652% = Gobi3kLocation_Install, USB\VID_1199&PID_9065&MI_02

[QCOM.NTamd64.6.1]
%Gobi3kLocation.SWIDevice90632% = Gobi3kLocation_Install, USB\VID_1199&PID_9063&MI_02
%Gobi3kLocation.SWIDevice90652% = Gobi3kLocation_Install, USB\VID_1199&PID_9065&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      = swg3knmea06,  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%\swg3knmea06.sys

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

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

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

[gobiUsbDriverFiles]
swg3knmea06.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 Serial Communication - Toshiba"
SWI                             = "Sierra Wireless Inc."
Gobi3kLocation.SWIDevice90632   = "Sierra Wireless NMEA Port"
Gobi3kLocation.SWIDevice90652   = "Sierra Wireless NMEA Port"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, 1a,51,3f,11,5f,a4,c6,b7,24,67,71,dd,a7,00,89,c7,d5,55,c6,\
  c5,5e,21,ac,aa,b8,b3,66,42,b1,f0,a8,52,a9,eb,d1,ee,ae,13,d4,8a,2d,a7,b4,77,\
  f7,9e,3a,d7,8d,65,a8,19,53,40,1a,ef,88,dd,f2,3b,1a,d0,56,a8,20,e0,19,3e,e5,\
  ea,65,ca,94,cb,dd,ca,91,79,d2,fa
