; Windows Virtual Serial Port Setup File
; Copyright (c) 2011 ZTE CORPORATION
; Manufacturer: ZTE CORPORATION
;
;This INF file installs ZTE USB Diag port on 32-bit and 64-bit Windows OS, such as Windows 2000, Windows XP , Vista and Win7.

[Version]
signature   = "$WINDOWS NT$"
Class       = Ports
Provider    = %ZTE%
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer   = 12/05/2011,8.2088.0.1
CatalogFile = zgdcat.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
1000 = %ZTESRCDISK%,,,\i386

[SourceDisksNames.amd64]
1000 = %ZTESRCDISK%,,,\amd64

[SourceDisksFiles]
zgdcat.sys = 1000,,

[DestinationDirs]
DefaultDestDir = 12
ZTEportInstall6k.NT.Copy=12

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
%ZTEAT19D20059% = ZTEportInstall6k, USB\VID_19D2&PID_0059&MI_01
%ZTEAT19D20070% = ZTEportInstall6k, USB\VID_19D2&PID_0070&MI_02
%ZTEAT19D20073% = ZTEportInstall6k, USB\VID_19D2&PID_0073&MI_01
%ZTEAT19D20094% = ZTEportInstall6k, USB\VID_19D2&PID_0094&MI_02
%ZTEAT19D20130% = ZTEportInstall6k, USB\VID_19D2&PID_0130&MI_03
%ZTEAT19D20141% = ZTEportInstall6k, USB\VID_19D2&PID_0141&MI_01
%ZTEAT19D20133% = ZTEportInstall6k, USB\VID_19D2&PID_0133&MI_04
%ZTEAT19D20176% = ZTEportInstall6k, USB\VID_19D2&PID_0176&MI_04
%ZTEAT19D20178% = ZTEportInstall6k, USB\VID_19D2&PID_0178&MI_04
%ZTEAT19D20168% = ZTEportInstall6k, USB\VID_19D2&PID_0168&MI_02
;AL621
%ZTEAT19D20167% = ZTEportInstall6k, USB\VID_19D2&PID_0167&MI_02
;EuFi890
%ZTEAT19D20191% = ZTEportInstall6k, USB\VID_19D2&PID_0191&MI_02
;MF821
%ZTEAT19D20257% = ZTEportInstall6k, USB\VID_19D2&PID_0257&MI_01
;MF821V
%ZTEAT19D21018% = ZTEportInstall6k, USB\VID_19D2&PID_1018&MI_01
;MF91
%ZTEAT19D21426% = ZTEportInstall6k, USB\VID_19D2&PID_1426&MI_01
;download mode
%ZTEAT19D20147% = ZTEportInstall6k, USB\VID_19D2&PID_0147&MI_01
%ZTEAT19D20152% = ZTEportInstall6k, USB\VID_19D2&PID_0152&MI_02

[ZTEcomSerialPort.NTamd64]
%ZTEAT19D20059% = ZTEportInstall6k, USB\VID_19D2&PID_0059&MI_01
%ZTEAT19D20070% = ZTEportInstall6k, USB\VID_19D2&PID_0070&MI_02
%ZTEAT19D20073% = ZTEportInstall6k, USB\VID_19D2&PID_0073&MI_01
%ZTEAT19D20094% = ZTEportInstall6k, USB\VID_19D2&PID_0094&MI_02
%ZTEAT19D20130% = ZTEportInstall6k, USB\VID_19D2&PID_0130&MI_03
%ZTEAT19D20141% = ZTEportInstall6k, USB\VID_19D2&PID_0141&MI_01
%ZTEAT19D20133% = ZTEportInstall6k, USB\VID_19D2&PID_0133&MI_04
%ZTEAT19D20176% = ZTEportInstall6k, USB\VID_19D2&PID_0176&MI_04
%ZTEAT19D20178% = ZTEportInstall6k, USB\VID_19D2&PID_0178&MI_04
%ZTEAT19D20168% = ZTEportInstall6k, USB\VID_19D2&PID_0168&MI_02
;AL621
%ZTEAT19D20167% = ZTEportInstall6k, USB\VID_19D2&PID_0167&MI_02
;EuFi890
%ZTEAT19D20191% = ZTEportInstall6k, USB\VID_19D2&PID_0191&MI_02
;MF821
%ZTEAT19D20257% = ZTEportInstall6k, USB\VID_19D2&PID_0257&MI_01
;MF821V
%ZTEAT19D21018% = ZTEportInstall6k, USB\VID_19D2&PID_1018&MI_01
;MF91
%ZTEAT19D21426% = ZTEportInstall6k, USB\VID_19D2&PID_1426&MI_01
;download mode
%ZTEAT19D20147% = ZTEportInstall6k, USB\VID_19D2&PID_0147&MI_01
%ZTEAT19D20152% = ZTEportInstall6k, USB\VID_19D2&PID_0152&MI_02

; ###### Installation Section ######
[ZTEportInstall6k.NT]
CopyFiles=ZTEportInstall6k.NT.Copy
AddReg = All6k, AddReg.NT

[ZTEportInstall6k.NT.Copy]
zgdcat.sys

[ZTEportInstall6k.NT.Services]
AddService = zgdcat, 0x00000002, ZTEport_Service_Inst6k

[ZTEport_Service_Inst6k]
DisplayName   = %ZTEcomSerialPortName6k%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
AddReg        = PortDriver.Service.Reg
ServiceBinary = %12%\zgdcat.sys

[All6k]
HKR,,NTMPDriver,,zgdcat.sys

[PortDriver.Service.Reg]
HKR,,QCDriverSelectiveSuspendIdleTime,%FLG_ADDREG_TYPE_DWORD%, 0x00000030
HKR,,QCDriverPowerManagementEnabled,%FLG_ADDREG_TYPE_DWORD%, 0x00000001

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

[Strings]
ZTE                     = "ZTE Corporation"
ZTESRCDISK              = "ZTE Multimedia USB COM Driver Disk"
ZTEAT19D20059           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20070           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20073           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20094           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20130           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20141           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20133           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20176           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20178           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20168           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20147           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20152           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20191           = "ZTE Mobile Broadband AT Port"
ZTEAT19D20257           = "ZTE Mobile Broadband AT Port"
ZTEAT19D21018           = "Vodafone Mobile Broadband Secondary Port(ZTE)"
ZTEAT19D20167           = "ZTE Mobile Broadband AT Port"
ZTEAT19D21426           = "ZTE Mobile Broadband AT Port"
ZTEcomSerialPortName6k  = "ZTE Datacard AT Port"
FLG_ADDREG_TYPE_DWORD   = 0x00010001
