; 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  = 03/19/2020,1.0.1.1
Catalogfile= qcser.cat
; 1.00.61.1 based. With QDLoader support

[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]
%QcomDeviceE0B13%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall00, USB\VID_105B&PID_E0AB

[QcomSerialPort.NTamd64.6.1]
%QcomDeviceE0B13%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall00, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall00, USB\VID_105B&PID_E0AB

[QcomSerialPort.NTx86.10.0]
%QcomDeviceE0B13%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall05, USB\VID_105B&PID_E0AB

[QcomSerialPort.NTamd64.10.0]
%QcomDeviceE0B13%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall05, USB\VID_105B&PID_E0AB

[QcomSerialPort.NTarm.10.0]
%QcomDeviceE0B13%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall05, USB\VID_105B&PID_E0AB

[QcomSerialPort.NTarm64.10.0]
%QcomDeviceE0B13%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_03
%QcomDeviceE0B14%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_04
%QcomDeviceE0B15%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_05
%QcomDeviceE0B16%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_06
%QcomDeviceE0B1A%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0A
%QcomDeviceE0B1C%  = QportInstall05, USB\VID_0489&PID_E0B1&MI_0C
%QcomDeviceE0AB%   = QportInstall05, USB\VID_105B&PID_E0AB

[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   = "Qualcomm"
QcomDeviceE0B13 = "Qualcomm Snapdragon X55 5G Loopback"
QcomDeviceE0B14 = "Qualcomm Snapdragon X55 5G Sahara"
QcomDeviceE0B15 = "Qualcomm Snapdragon X55 5G Diagnostics"
QcomDeviceE0B16 = "Qualcomm Snapdragon X55 5G EFS"
QcomDeviceE0B1A = "Qualcomm Snapdragon X55 5G Boot Logging"
QcomDeviceE0B1C = "Qualcomm Snapdragon X55 5G EDL"
QcomDeviceE0AB  = "Qualcomm Snapdragon X55 5G QDLoader"

