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

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

[ControlFlags]
ExcludeFromSelect = *

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

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

[SourceDisksFiles]
zgdcnmea.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
%ZTENMEA19D20133% = ZTEportInstall6k, USB\VID_19D2&PID_0133&MI_02
%ZTENMEA19D20176% = ZTEportInstall6k, USB\VID_19D2&PID_0176&MI_02
%ZTENMEA19D20178% = ZTEportInstall6k, USB\VID_19D2&PID_0178&MI_02
%ZTENMEA19D20168% = ZTEportInstall6k, USB\VID_19D2&PID_0168&MI_01
%ZTENMEA19D20152% = ZTEportInstall6k, USB\VID_19D2&PID_0152&MI_04
;AL621
%ZTENMEA19D20167% = ZTEportInstall6k, USB\VID_19D2&PID_0167&MI_01
;EuFi890
%ZTENMEA19D20191% = ZTEportInstall6k, USB\VID_19D2&PID_0191&MI_01
;download mode
%ZTENMEA19D21333% = ZTEportInstall6k, USB\VID_19D2&PID_1333&MI_01

[ZTEcomSerialPort.NTamd64]
%ZTENMEA19D20133% = ZTEportInstall6k, USB\VID_19D2&PID_0133&MI_02
%ZTENMEA19D20176% = ZTEportInstall6k, USB\VID_19D2&PID_0176&MI_02
%ZTENMEA19D20178% = ZTEportInstall6k, USB\VID_19D2&PID_0178&MI_02
%ZTENMEA19D20168% = ZTEportInstall6k, USB\VID_19D2&PID_0168&MI_01
%ZTENMEA19D20152% = ZTEportInstall6k, USB\VID_19D2&PID_0152&MI_04
;AL621
%ZTENMEA19D20167% = ZTEportInstall6k, USB\VID_19D2&PID_0167&MI_01
;EuFi890
%ZTENMEA19D20191% = ZTEportInstall6k, USB\VID_19D2&PID_0191&MI_01
download mode
%ZTENMEA19D21333% = ZTEportInstall6k, USB\VID_19D2&PID_1333&MI_01

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

[ZTEportInstall6k.NT.Copy]
zgdcnmea.sys

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

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

[All6k]
HKR,,NTMPDriver,,zgdcnmea.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"
ZTENMEA19D20133          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20176          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20178          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20168          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20152          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20191          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D20167          = "ZTE Mobile Broadband NMEA Port"
ZTENMEA19D21333          = "ZTE Mobile Broadband NMEA Port"
ZTEcomSerialPortName6k   = "ZTE Datacard NMEA Port"
FLG_ADDREG_TYPE_DWORD    = 0x00010001
