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



[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %QUECTEL%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 12/08/2017,5.0.1.3
Catalogfile= qcser.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%QUECTEL% = QcomSerialPort, NTx86, NTamd64

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

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

[SourceDisksFiles.x86]
  qcusbser.sys = 1000
  
[SourceDisksFiles.amd64]
  qcusbser.sys = 1001

[QcomSerialPort.NTx86]
;AG35
%Quectel04350% = QportInstall00, USB\VID_2C7C&PID_0435&MI_00
%Quectel04351% = QportInstall00, USB\VID_2C7C&PID_0435&MI_01
%Quectel04352% = QportInstall00, USB\VID_2C7C&PID_0435&MI_02
;BG96
%Quectel02961% = QportInstall00, USB\VID_2C7C&PID_0296&MI_00
%Quectel02962% = QportInstall00, USB\VID_2C7C&PID_0296&MI_01
%Quectel02963% = QportInstall00, USB\VID_2C7C&PID_0296&MI_02
;EC21 EC25 EC20 R2.0
%Quectel01251% = QportInstall00, USB\VID_2C7C&PID_0125&MI_00
%Quectel01252% = QportInstall00, USB\VID_2C7C&PID_0125&MI_01
%Quectel01253% = QportInstall00, USB\VID_2C7C&PID_0125&MI_02
%Quectel01211% = QportInstall00, USB\VID_2C7C&PID_0121&MI_00
%Quectel01212% = QportInstall00, USB\VID_2C7C&PID_0121&MI_01
%Quectel01213% = QportInstall00, USB\VID_2C7C&PID_0121&MI_02
;EP06 EM06 EG06
%Quectel03061% = QportInstall00, USB\VID_2C7C&PID_0306&MI_00
%Quectel03062% = QportInstall00, USB\VID_2C7C&PID_0306&MI_01
%Quectel03063% = QportInstall00, USB\VID_2C7C&PID_0306&MI_02
;EG91 EG95
%Quectel01911% = QportInstall00, USB\VID_2C7C&PID_0191&MI_00
%Quectel01912% = QportInstall00, USB\VID_2C7C&PID_0191&MI_01
%Quectel01913% = QportInstall00, USB\VID_2C7C&PID_0191&MI_02
%Quectel01951% = QportInstall00, USB\VID_2C7C&PID_0195&MI_00
%Quectel01952% = QportInstall00, USB\VID_2C7C&PID_0195&MI_01
%Quectel01953% = QportInstall00, USB\VID_2C7C&PID_0195&MI_02

;Qualcomm 9008
%Quectel90080% = QportInstall00, USB\VID_05C6&PID_9008
[QcomSerialPort.NTia64]
;AG35
%Quectel04350% = QportInstall00, USB\VID_2C7C&PID_0435&MI_00
%Quectel04351% = QportInstall00, USB\VID_2C7C&PID_0435&MI_01
%Quectel04352% = QportInstall00, USB\VID_2C7C&PID_0435&MI_02
;for BG96
%Quectel02961% = QportInstall00, USB\VID_2C7C&PID_0296&MI_00
%Quectel02962% = QportInstall00, USB\VID_2C7C&PID_0296&MI_01
%Quectel02963% = QportInstall00, USB\VID_2C7C&PID_0296&MI_02
;EC21 EC25 EC20 R2.0
%Quectel01251% = QportInstall00, USB\VID_2C7C&PID_0125&MI_00
%Quectel01252% = QportInstall00, USB\VID_2C7C&PID_0125&MI_01
%Quectel01253% = QportInstall00, USB\VID_2C7C&PID_0125&MI_02
%Quectel01211% = QportInstall00, USB\VID_2C7C&PID_0121&MI_00
%Quectel01212% = QportInstall00, USB\VID_2C7C&PID_0121&MI_01
%Quectel01213% = QportInstall00, USB\VID_2C7C&PID_0121&MI_02
;EP06 EM06 EG06
%Quectel03061% = QportInstall00, USB\VID_2C7C&PID_0306&MI_00
%Quectel03062% = QportInstall00, USB\VID_2C7C&PID_0306&MI_01
%Quectel03063% = QportInstall00, USB\VID_2C7C&PID_0306&MI_02
;EG91 EG95
%Quectel01911% = QportInstall00, USB\VID_2C7C&PID_0191&MI_00
%Quectel01912% = QportInstall00, USB\VID_2C7C&PID_0191&MI_01
%Quectel01913% = QportInstall00, USB\VID_2C7C&PID_0191&MI_02
%Quectel01951% = QportInstall00, USB\VID_2C7C&PID_0195&MI_00
%Quectel01952% = QportInstall00, USB\VID_2C7C&PID_0195&MI_01
%Quectel01953% = QportInstall00, USB\VID_2C7C&PID_0195&MI_02

;Qualcomm 9008
%Quectel90080% = QportInstall00, USB\VID_05C6&PID_9008
[QcomSerialPort.NTamd64]
;AG35
%Quectel04350% = QportInstall00, USB\VID_2C7C&PID_0435&MI_00
%Quectel04351% = QportInstall00, USB\VID_2C7C&PID_0435&MI_01
%Quectel04352% = QportInstall00, USB\VID_2C7C&PID_0435&MI_02
;for BG96
%Quectel02961% = QportInstall00, USB\VID_2C7C&PID_0296&MI_00
%Quectel02962% = QportInstall00, USB\VID_2C7C&PID_0296&MI_01
%Quectel02963% = QportInstall00, USB\VID_2C7C&PID_0296&MI_02
;EP06 EM06 EG06
%Quectel03061% = QportInstall00, USB\VID_2C7C&PID_0306&MI_00
%Quectel03062% = QportInstall00, USB\VID_2C7C&PID_0306&MI_01
%Quectel03063% = QportInstall00, USB\VID_2C7C&PID_0306&MI_02
;EC21 EC25 EC20 R2.0
%Quectel01251% = QportInstall00, USB\VID_2C7C&PID_0125&MI_00
%Quectel01252% = QportInstall00, USB\VID_2C7C&PID_0125&MI_01
%Quectel01253% = QportInstall00, USB\VID_2C7C&PID_0125&MI_02
%Quectel01211% = QportInstall00, USB\VID_2C7C&PID_0121&MI_00
%Quectel01212% = QportInstall00, USB\VID_2C7C&PID_0121&MI_01
%Quectel01213% = QportInstall00, USB\VID_2C7C&PID_0121&MI_02
;EG91 EG95
%Quectel01911% = QportInstall00, USB\VID_2C7C&PID_0191&MI_00
%Quectel01912% = QportInstall00, USB\VID_2C7C&PID_0191&MI_01
%Quectel01913% = QportInstall00, USB\VID_2C7C&PID_0191&MI_02
%Quectel01951% = QportInstall00, USB\VID_2C7C&PID_0195&MI_00
%Quectel01952% = QportInstall00, USB\VID_2C7C&PID_0195&MI_01
%Quectel01953% = QportInstall00, USB\VID_2C7C&PID_0195&MI_02

;Qualcomm 9008
%Quectel90080% = QportInstall00, USB\VID_05C6&PID_9008
[QcomSerialPort.NTarm]
;AG35
%Quectel04350% = QportInstall00, USB\VID_2C7C&PID_0435&MI_00
%Quectel04351% = QportInstall00, USB\VID_2C7C&PID_0435&MI_01
%Quectel04352% = QportInstall00, USB\VID_2C7C&PID_0435&MI_02
;for BG96
%Quectel02961% = QportInstall00, USB\VID_2C7C&PID_0296&MI_00
%Quectel02962% = QportInstall00, USB\VID_2C7C&PID_0296&MI_01
%Quectel02963% = QportInstall00, USB\VID_2C7C&PID_0296&MI_02
;EP06 EM06 EG06
%Quectel03061% = QportInstall00, USB\VID_2C7C&PID_0306&MI_00
%Quectel03062% = QportInstall00, USB\VID_2C7C&PID_0306&MI_01
%Quectel03063% = QportInstall00, USB\VID_2C7C&PID_0306&MI_02
;EC21 EC25 EC20 R2.0
%Quectel01251% = QportInstall00, USB\VID_2C7C&PID_0125&MI_00
%Quectel01252% = QportInstall00, USB\VID_2C7C&PID_0125&MI_01
%Quectel01253% = QportInstall00, USB\VID_2C7C&PID_0125&MI_02
%Quectel01211% = QportInstall00, USB\VID_2C7C&PID_0121&MI_00
%Quectel01212% = QportInstall00, USB\VID_2C7C&PID_0121&MI_01
%Quectel01213% = QportInstall00, USB\VID_2C7C&PID_0121&MI_02
;EP06 EM06 EG06
%Quectel03061% = QportInstall00, USB\VID_2C7C&PID_0306&MI_00
%Quectel03062% = QportInstall00, USB\VID_2C7C&PID_0306&MI_01
%Quectel03063% = QportInstall00, USB\VID_2C7C&PID_0306&MI_02
;EG91 EG95
%Quectel01911% = QportInstall00, USB\VID_2C7C&PID_0191&MI_00
%Quectel01912% = QportInstall00, USB\VID_2C7C&PID_0191&MI_01
%Quectel01913% = QportInstall00, USB\VID_2C7C&PID_0191&MI_02
%Quectel01951% = QportInstall00, USB\VID_2C7C&PID_0195&MI_00
%Quectel01952% = QportInstall00, USB\VID_2C7C&PID_0195&MI_01
%Quectel01953% = QportInstall00, USB\VID_2C7C&PID_0195&MI_02

;Qualcomm 9008
%Quectel90080% = QportInstall00, USB\VID_05C6&PID_9008
[QportInstall00.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg

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

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

[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

[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

[RegEntries]
HKR, , QCDriverSelectiveSuspendIdleTime, 0x00010001, 0x80000010
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,IgnoreHWSerNum2C7C0125,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0121,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0435,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0306,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0296,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0191,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum2C7C0195,1,1

[Strings]
QCUSBSER = "Quectel USB Device for Legacy Serial Communication"
QcomSrcDisk = "QUECTEL USB Driver Disk"
QUECTEL   = "Quectel Incorporated"

;AG35
Quectel04350 = "Quectel USB DM Port"
Quectel04351 = "Quectel USB NMEA Port"
Quectel04352 = "Quectel USB AT Port"
;BG96
Quectel02961 = "Quectel USB DM Port"
Quectel02962 = "Quectel USB NMEA Port"
Quectel02963 = "Quectel USB AT Port"
;EC21 EC25 EC20 R2.0
Quectel01251 = "Quectel USB DM Port"
Quectel01252 = "Quectel USB NMEA Port"
Quectel01253 = "Quectel USB AT Port"
Quectel01211 = "Quectel USB DM Port"
Quectel01212 = "Quectel USB NMEA Port"
Quectel01213 = "Quectel USB AT Port"
Quectel90080 = "Quectel QDLoader 9008"
;EP06 EM06 EG06
Quectel03061 = "Quectel USB DM Port"
Quectel03062 = "Quectel USB NMEA Port"
Quectel03063 = "Quectel USB AT Port"
;EG91 EG95
Quectel01911 = "Quectel USB DM Port"
Quectel01912 = "Quectel USB NMEA Port"
Quectel01913 = "Quectel USB AT Port"
Quectel01951 = "Quectel USB DM Port"
Quectel01952 = "Quectel USB NMEA Port"
Quectel01953 = "Quectel USB AT Port"