; Windows Virtual Serial Port Setup File
; Copyright (c) 2006-2007 Huawei Incorporated
; Manufacturer: Huawei Incorporated
;
; This INF file installs a virtual COM port on Windows 64bit system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %HUAWEI%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer=08/08/2011,2.1.6.603
CatalogFile= smhwser.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksNames]
1000 = %HuaweiSrcDisk%,"",,

[SourceDisksFiles]
smhwser.sys = 1000

[QcomSerialPort]
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1024
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1022&MI_00
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1022&MI_02
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDevice1%  = QportInstall00, USB\VID_12D1&PID_1021&MI_01
;%HwDevice4%  = QportInstall00, USB\VID_12D1&PID_1021&MI_04
;%HwDevice5%  = QportInstall00, USB\VID_12D1&PID_1021&MI_05

;for window logo test
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_01
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1033&MI_01

[QcomSerialPort.NTia64]
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1024
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1022&MI_00
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1022&MI_02
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDevice4%  = QportInstall00, USB\VID_12D1&PID_1021&MI_04
;%HwDevice5%  = QportInstall00, USB\VID_12D1&PID_1021&MI_05

;for window logo test
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_01

[QcomSerialPort.NTamd64]
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1024
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
%HwDevice0%  = QportInstall00, USB\VID_12D1&PID_1022&MI_00
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1022&MI_02
%HwDevice3%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDevice1%  = QportInstall00, USB\VID_12D1&PID_1021&MI_01
;%HwDevice4%  = QportInstall00, USB\VID_12D1&PID_1021&MI_04
;%HwDevice5%  = QportInstall00, USB\VID_12D1&PID_1021&MI_05

;for window logo test
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_00
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_03
;%HwDeviceLogoTest%  = QportInstall00, USB\VID_12D1&PID_1021&MI_01

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

[QCUsbDriverFiles]
smhwser.sys

[DestinationDirs]
DefaultDestDir = 12

[QportInstall00.NT.Services]
AddService=smhwser,  0x00000002, QC_USBSerialService

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

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

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

[Strings]
HWUSBSER = "USB Device for Legacy Serial Communication (Normal)"
HuaweiSrcDisk = "Huawei USB Driver Disk"
HUAWEI	      = "Huawei Incorporated"
HwDevice0 = "HUAWEI USB DIAG"
HwDevice3 = "HUAWEI USB GPS"
;HwDevice1 = "Android Adapter PCUI"
;HwDevice4 = "DBAdapter Reserved Interface"
;HwDevice5 = "DBConsole Reserved Interface"
;HwDeviceLogoTest = "Android Adapter PCUI (for Logo Test)"
