; VERSION: 1.0
; Windows Vista Virtual Serial Port Setup File
; Copyright (c) 2012 Quectel Incorporated
; Manufacturer: Quectel Incorporated
;

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

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%QUECTEL% = QcomSerialPort, NTia64, NTamd64, NTarm

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

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

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

[SourceDisksFiles]
  qcusbser.sys = 1000

[QcomSerialPort]
%QcomDevice90080%  = QportInstall00, USB\VID_05C6&PID_9008
%QcomDevice90030%  = QportInstall00, USB\VID_05C6&PID_9003&MI_00
%QcomDevice90031%  = QportInstall00, USB\VID_05C6&PID_9003&MI_01
%QcomDevice90032%  = QportInstall00, USB\VID_05C6&PID_9003&MI_02
;Quectel UC20 support
%QcomDevice90900%  = QportInstall00, USB\VID_05C6&PID_9090&MI_00
%QcomDevice90901%  = QportInstall00, USB\VID_05C6&PID_9090&MI_01
%QcomDevice90902%  = QportInstall00, USB\VID_05C6&PID_9090&MI_02
;Quectel UC15 support
%QcomDevice92150%  = QportInstall00, USB\VID_05C6&PID_9215&MI_00
%QcomDevice92151%  = QportInstall00, USB\VID_05C6&PID_9215&MI_01
%QcomDevice92152%  = QportInstall00, USB\VID_05C6&PID_9215&MI_02
;Quectel EC20 support
;for USA customer
%QcomDeviceCustomer001%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_00
%QcomDeviceCustomer002%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_01
%QcomDeviceCustomer003%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_02

[QcomSerialPort.NTia64]
%QcomDevice90080%  = QportInstall00, USB\VID_05C6&PID_9008				
%QcomDevice90030%  = QportInstall00, USB\VID_05C6&PID_9003&MI_00
%QcomDevice90031%  = QportInstall00, USB\VID_05C6&PID_9003&MI_01
%QcomDevice90032%  = QportInstall00, USB\VID_05C6&PID_9003&MI_02
;Quectel UC20 support
%QcomDevice90900%  = QportInstall00, USB\VID_05C6&PID_9090&MI_00
%QcomDevice90901%  = QportInstall00, USB\VID_05C6&PID_9090&MI_01
%QcomDevice90902%  = QportInstall00, USB\VID_05C6&PID_9090&MI_02
;Quectel UC15 support
%QcomDevice92150%  = QportInstall00, USB\VID_05C6&PID_9215&MI_00
%QcomDevice92151%  = QportInstall00, USB\VID_05C6&PID_9215&MI_01
%QcomDevice92152%  = QportInstall00, USB\VID_05C6&PID_9215&MI_02
;Quectel EC20 support
;for USA customer
%QcomDeviceCustomer001%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_00
%QcomDeviceCustomer002%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_01
%QcomDeviceCustomer003%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_02

[QcomSerialPort.NTamd64]
%QcomDevice90080%  = QportInstall00, USB\VID_05C6&PID_9008
%QcomDevice90030%  = QportInstall00, USB\VID_05C6&PID_9003&MI_00
%QcomDevice90031%  = QportInstall00, USB\VID_05C6&PID_9003&MI_01
%QcomDevice90032%  = QportInstall00, USB\VID_05C6&PID_9003&MI_02
;Quectel UC20 support
%QcomDevice90900%  = QportInstall00, USB\VID_05C6&PID_9090&MI_00
%QcomDevice90901%  = QportInstall00, USB\VID_05C6&PID_9090&MI_01
%QcomDevice90902%  = QportInstall00, USB\VID_05C6&PID_9090&MI_02
;Quectel UC15 support
%QcomDevice92150%  = QportInstall00, USB\VID_05C6&PID_9215&MI_00
%QcomDevice92151%  = QportInstall00, USB\VID_05C6&PID_9215&MI_01
%QcomDevice92152%  = QportInstall00, USB\VID_05C6&PID_9215&MI_02
;Quectel EC20 support
;for USA customer
%QcomDeviceCustomer001%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_00
%QcomDeviceCustomer002%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_01
%QcomDeviceCustomer003%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_02

[QcomSerialPort.NTarm]
%QcomDevice90080%  = QportInstall00, USB\VID_05C6&PID_9008
%QcomDevice90030%  = QportInstall00, USB\VID_05C6&PID_9003&MI_00
%QcomDevice90031%  = QportInstall00, USB\VID_05C6&PID_9003&MI_01
%QcomDevice90032%  = QportInstall00, USB\VID_05C6&PID_9003&MI_02
;Quectel UC20 support
%QcomDevice90900%  = QportInstall00, USB\VID_05C6&PID_9090&MI_00
%QcomDevice90901%  = QportInstall00, USB\VID_05C6&PID_9090&MI_01
%QcomDevice90902%  = QportInstall00, USB\VID_05C6&PID_9090&MI_02
;Quectel UC15 support
%QcomDevice92150%  = QportInstall00, USB\VID_05C6&PID_9215&MI_00
%QcomDevice92151%  = QportInstall00, USB\VID_05C6&PID_9215&MI_01
%QcomDevice92152%  = QportInstall00, USB\VID_05C6&PID_9215&MI_02
;Quectel EC20 support
;for USA customer
%QcomDeviceCustomer001%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_00
%QcomDeviceCustomer002%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_01
%QcomDeviceCustomer003%  = QportInstall00, USB\VID_1FAC&PID_FF00&MI_02

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

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

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

[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

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

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

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

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

[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

[Strings]
QCUSBSER = "Quectel USB Device for Legacy Serial Communication"
QcomSrcDisk = "QUECTEL USB Driver Disk"
QUECTEL   = "Quectel Incorporated"
QcomDevice90080 = "USB QDLoader Port"
QcomDevice90030 = "USB DM Port"
QcomDevice90031 = "USB NMEA Port"
QcomDevice90032 = "USB AT Port"

QcomDevice90900 = "USB DM Port"
QcomDevice90901 = "USB RESERVED Port"
QcomDevice90902 = "USB AT Port"

QcomDevice92150 = "USB DM Port"
QcomDevice92151 = "USB NMEA Port"
QcomDevice92152 = "USB AT Port"

;for USB Customer
QcomDeviceCustomer001 = "USB DM Port"
QcomDeviceCustomer002 = "USB NMEA Port"
QcomDeviceCustomer003 = "USB AT Port"

QcomDevice12340103 = "USB QDSS Test Interface"

