;-------------------------------------------------------------------------------
; swg3kser05b.inf
;
; Sierra Windows Serial Port Setup File
;
; Copyright (c) 2016 Sierra Windows Inc.  All rights reserved.
;-------------------------------------------------------------------------------

[Version]
signature     = "$WINDOWS NT$"
Class         = Ports
Provider      = %SWI%
ClassGuid     = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer     = 03/07/2016,16.3.1005.41
Catalogfile   = swg3kser05b.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%SWI% = QcomSerialPort, NTamd64

[SourceDisksNames]
1000 = %QcomSrcDisk%,"",,\sys\x86
2000 = %QcomSrcDisk%,"",,\sys\amd64

[SourceDisksFiles.x86]
swg3kser00.sys = 1000

[SourceDisksFiles.amd64]
swg3kser00.sys = 2000

[QcomSerialPort]
%SierraDevice81BD%   = QportInstall00, USB\VID_413C&PID_81BD
%SierraDevice81BE0%  = QportInstall01, USB\VID_413C&PID_81BE&MI_00
%SierraDevice81BF%   = QportInstall00, USB\VID_413C&PID_81BF
%SierraDevice81C00%  = QportInstall01, USB\VID_413C&PID_81C0&MI_00

[QcomSerialPort.NTamd64]
%SierraDevice81BD%   = QportInstall00, USB\VID_413C&PID_81BD
%SierraDevice81BE0%  = QportInstall01, USB\VID_413C&PID_81BE&MI_00
%SierraDevice81BF%   = QportInstall00, USB\VID_413C&PID_81BF
%SierraDevice81C00%  = QportInstall01, USB\VID_413C&PID_81C0&MI_00

[QportInstall00.NT]
CopyFiles = gobiUsbDriverFiles
AddReg    = All00, QCAddReg, DevFunction2, DeviceID.Reg

[QportInstall01.NT]
CopyFiles = gobiUsbDriverFiles
AddReg    = All00, QCAddReg, DeviceID.Reg


[gobiUsbDriverFiles]
swg3kser05b.sys, swg3kser00.sys

[DestinationDirs]
DefaultDestDir = 12

[QportInstall00.NT.Services]
AddService = swg3kser05b,  0x00000002, gobi_USBSerialService, gobi_USBSerialService.EventLog

[QportInstall01.NT.Services]
AddService = swg3kser05b,  0x00000002, gobi_USBSerialService, gobi_USBSerialService.EventLog

[gobi_USBSerialService]
DisplayName   = %GOBI3KSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\swg3kser05b.sys

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

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

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

[DevFunction2]
HKR,,QCDeviceFunction,0x00010001,2

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

[Strings]
GOBI3KSER       = "Sierra Wireless QMI USB Device for Legacy Serial Communication - Dell b"
QcomSrcDisk     = "Sierra Wireless USB Driver Disk"
SWI             = "Sierra Wireless Incorporated"
SierraDevice81BD   = "Dell Wireless 5808e Gobi(TM) 4G LTE Mobile Broadband QDLoader Port"
SierraDevice81BE0  = "Dell Wireless 5808e Gobi(TM) 4G LTE Mobile Broadband DM Port"
SierraDevice81BF   = "Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband QDLoader Port"
SierraDevice81C00  = "Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband DM Port"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, d1,d3,b3,6d,8e,91,56,6f,bc,97,72,86,fa,01,90,d6,7a,10,8f,\
  4c,43,42,3f,72,8b,9c,d6,14,d3,94,18,e1,d2,f1,9c,6f,a6,3b,32,5d,60,3e,b4,f7,\
  eb,19,19,9f,cb,14,fa,4d,6e,63,01,c0,5f,2f,e5,9a,0e,cc,73,ae,01,63,ca,ce,8d,\
  95,2c,31,8e,cc,e5,df,0e,a2,8f,88,c0,ea,6c,09,13,1b,71,72,30,10,c3,57,b5,46,\
  df,47
