; Windows Virtual Serial Port Setup File
; Manufacturer: Qualcomm Incorporated
; Copyright (c) 2018 Qualcomm Technologies, Inc.
; All rights reserved.
;

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %ManufacturerName%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 08/23/2021,1.0.0.2
Catalogfile= qcser.cat
; 1.00.70 based.

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%ManufacturerName% = QcomSerialPort, NTx86.6.1, NTamd64.6.1, NTx86.10.0, NTamd64.10.0, NTarm.10.0, NTarm64.10.0

[SourceDisksNames.x86]
1000 = %QcomSrcDisk%,"",,\serial\i386

[SourceDisksNames.amd64]
1000 = %QcomSrcDisk%,"",,\serial\amd64

[SourceDisksNames.arm]
1000 = %QcomSrcDisk%,"",,\serial\arm

[SourceDisksNames.arm64]
1000 = %QcomSrcDisk%,"",,\serial\arm64

[SourceDisksFiles]
  qcusbser.sys = 1000

[QcomSerialPort.NTx86.6.1]
%QcomDevice00B43%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall00, USB\VID_1269&PID_00B4

[QcomSerialPort.NTamd64.6.1]
%QcomDevice00B43%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall00, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall00, USB\VID_1269&PID_00B4

[QcomSerialPort.NTx86.10.0]
%QcomDevice00B43%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall05, USB\VID_1269&PID_00B4

[QcomSerialPort.NTamd64.10.0]
%QcomDevice00B43%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall05, USB\VID_1269&PID_00B4

[QcomSerialPort.NTarm.10.0]
%QcomDevice00B43%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall05, USB\VID_1269&PID_00B4

[QcomSerialPort.NTarm64.10.0]
%QcomDevice00B43%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_03
%QcomDevice00B44%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_04
%QcomDevice00B45%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_05
%QcomDevice00B46%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_06
%QcomDevice00B4A%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0A
%QcomDevice00B4C%  = QportInstall05, USB\VID_1E2D&PID_00B4&MI_0C
%QcomDevice00B4%   = QportInstall05, USB\VID_1269&PID_00B4

[QportInstall00.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg

[QportInstall01.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg, DevFunction1

[QportInstall02.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg, DevFunction2

[QportInstall03.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg, DevFunction3

[QportInstall05.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg

[QCUsbDriverFiles]
qcusbser.sys

[DestinationDirs]
DefaultDestDir = 12

[QportInstall00.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall01.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall02.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall03.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall05.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService05

[QC_USBSerialService]
DisplayName   = %QCUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\qcusbser.sys
AddReg        = RegEntries

[QC_USBSerialService05]
DisplayName   = %QCUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\qcusbser.sys
AddReg        = RegEntries

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

[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

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

[DevFunction3]
HKR,,QCDeviceFunction,0x00010001,3

[RegEntries]
HKR, , QCDriverSelectiveSuspendIdleTime, 0x00010001, 0x80000003
HKR, , QCDriverPowerManagementEnabled, 0x00010001, 1


[AddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69025,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69026,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69031,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69032,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69037,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69038,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C690B8,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C690DB,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C690DC,1,1

[Strings]
QCUSBSER = "Qualcomm USB Device for Legacy Serial Communication"
QcomSrcDisk = "QUALCOMM USB Driver Disk"
ManufacturerName   = "Cinterion"
QcomDevice00B43 = "Cinterion PID 0x00B4 PCIe Loopback"
QcomDevice00B44 = "Cinterion PID 0x00B4 PCIe Sahara"
QcomDevice00B45 = "Cinterion PID 0x00B4 PCIe Diagnostics"
QcomDevice00B46 = "Cinterion PID 0x00B4 PCIe EFS"
QcomDevice00B4A = "Cinterion PID 0x00B4 PCIe Boot Logging"
QcomDevice00B4C = "Cinterion PID 0x00B4 PCIe EDL"
QcomDevice00B4  = "Cinterion PID 0x00B4 PCIe QDLoader"

