; Windows Virtual Serial Port Setup File
; Copyright (c) 2002,2003 Huawei Incorporated
; Manufacturer: Huawei Incorporated
;
; This INF file installs a virtual COM port on Win2K system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %HUAWEI%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 01/07/2016,1.01.00.00
CatalogFile.NTx86 = hw_ctrlfakedev86.cat
CatalogFile.NTamd64 =hw_ctrlfakedeva64.cat

[SourceDisksNames]
1 = %HWSRCDISK%,,,
2 = %HWSRCDISK%,,,

[SourceDisksFiles.x86]
hw_ctrlfakedev.sys = 1

[SourceDisksFiles.amd64]
hw_ctrlfakedev.sys = 2

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

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

[QcomSerialPort.NTx86]
;for switch to diag prot in manufature
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1051
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1053
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1062
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1063&MI_00
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1064
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1065&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1073&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1074&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1075&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1076&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1077&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1078&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1079&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_107A&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1082&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1083&MI_00

;for pnp2.1
%QcomDevice02% = QportInstall00, USB\SWITCH_MASS_STORAGE
%QcomDevice02% = QportInstall00, USB\VID_12D1&Subclass_ff&Prot_00
%QcomDevice02% = QportInstall00, USB\VID_12D1&Subclass_01&Prot_01

;for window logo test
%QcomDevice00% = QportInstall00, USB\VID_12D1&PID_1033&MI_04
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1032&MI_04

;for WHCK
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_105A&MI_06

[QcomSerialPort.NTamd64]
;for switch to diag prot in manufature
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1051
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1053
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1062
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1063&MI_00
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1064
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1065&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1073&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1074&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1075&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1076&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1077&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1078&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1079&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_107A&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1082&MI_00
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1083&MI_00

;for pnp2.1
%QcomDevice02% = QportInstall00, USB\SWITCH_MASS_STORAGE
%QcomDevice02% = QportInstall00, USB\VID_12D1&Subclass_ff&Prot_00
%QcomDevice02% = QportInstall00, USB\VID_12D1&Subclass_01&Prot_01

;for window logo test
%QcomDevice00% = QportInstall00, USB\VID_12D1&PID_1033&MI_04
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_1032&MI_04

;for WHCK
%QcomDevice01% = QportInstall00, USB\VID_12D1&PID_105A&MI_06

; ###### Installation Section ######

[QportInstall00]
CopyFiles = CopyFileSection00
AddReg = All00, AddReg

[QportInstall00.Services]
AddService = hw_ctrlfakedev,  0x00000002, Qport_Service_Inst00

[Qport_Service_Inst00]
DisplayName   = "HUAWEI SmartPhone ctrl fake USB switch driver"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hw_ctrlfakedev.sys

[CopyFileSection00]
hw_ctrlfakedev.sys

[All00]
HKR,,NTMPDriver,,hw_ctrlfakedev.sys
HKR,,PortIdentify,,HWPNP

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

[Strings]
HUAWEI   = "HUAWEI Incorporated"
HWSRCDISK = "Multimedia Ctrl Fake USB Driver Disk"
QcomDevice00 = "Ctrl Swtich to diag port - USB Device"
QcomDevice01 = "Ctrl Swtich Composite to diag port - USB Device"
QcomDevice02 = "Ctrl Swtich to diag port - Fake Acm Interface"

