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

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %HONOR%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer=01/01/2021,1.0.0.0
CatalogFile= hn_quser.cat

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

[SourceDisksFiles]
hn_quusbmdm.sys = 1000

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%HONOR% = HWSerialPort

[HWSerialPort]
%HONOR010% = HWPortInstallSPTMO02,USB\VID_339B&PID_1034&MI_01
%HONOR04%  = HWPortInstallSPTMO04,USB\VID_339B&PID_1034&MI_04
%HONOR05%  = HWPortInstallSPTMO05,USB\VID_339B&PID_1034&MI_05
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_1035&MI_01
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_1035&MI_04
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_105C&MI_02
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_105C&MI_04
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_105D&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_105E&MI_02
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_1080&MI_04
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_1080&MI_06
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_1081&MI_05
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_1081&MI_07

%HONOR200%  = HWPortInstallSP04,   USB\VID_05C6&PID_900E

;for window logo test
%HONOR000% = HWPortInstallSPTMO02,USB\VID_339B&PID_1032&MI_01
%HONOR00%  = HWPortInstallSP02,   USB\VID_339B&PID_1033&MI_01


;
%HONOR11% = HWPortInstallFP02,  USB\VID_339B&PID_1802&MI_01
%HONOR12% = HWPortInstallFP0A,  USB\VID_339B&PID_1802&MI_02
%HONOR11% = HWPortInstallFP02,  USB\VID_339B&PID_1803&MI_01
%HONOR12% = HWPortInstallFP0A,  USB\VID_339B&PID_1803&MI_02
%HONOR14% = HWPortInstallFP02,  USB\VID_339B&PID_1804&MI_01
%HONOR15% = HWPortInstallFP0A,  USB\VID_339B&PID_1804&MI_02
%HONOR14% = HWPortInstallFP02,  USB\VID_339B&PID_1805&MI_01
;

%HONOR23% = HWPortInstallFWT1,  USB\VID_339B&PID_1010&MI_01
%HONOR24% = HWPortInstallFWT102,USB\VID_339B&PID_1010&MI_02
%HONOR24% = HWPortInstallFWT1,  USB\VID_339B&PID_1011&MI_01
%HONOR21% = HWPortInstallFWT0,  USB\VID_339B&PID_101D&MI_01
%HONOR22% = HWPortInstallFWT02, USB\VID_339B&PID_101D&MI_02
%HONOR20% = HWPortInstallFWT02, USB\VID_339B&PID_101E&MI_01


%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_03
%HONOR34%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_04
%HONOR35%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_05
%HONOR36%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_06
%HONOR37%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_07
%HONOR31%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_08
%HONOR32%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_09
%HONOR38%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_0a
%HONOR39%  = HWPortInstallSP02,   USB\VID_339B&PID_1057&MI_0b

%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_02
%HONOR34%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_03
%HONOR35%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_04
%HONOR36%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_05
%HONOR37%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_06
%HONOR31%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_07
%HONOR32%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_08
%HONOR38%  = HWPortInstallSP02,   USB\VID_339B&PID_1058&MI_09

%HONOR204% = HWPortInstallFWT1,  USB\VID_339B&PID_1001&MI_01
%HONOR203% = HWPortInstallFWT102,USB\VID_339B&PID_1001&MI_02
%HONOR203% = HWPortInstallFWT102,USB\VID_339B&PID_1003&MI_01

%HONOR01% = HWPortInstallSP02, USB\VID_339B&PID_3619&MI_04
%HONOR01% = HWPortInstallSP02, USB\VID_339B&PID_3629&MI_03

;for mediapad
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_3612&MI_04
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_3612&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_3622&MI_03
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&PID_3622&MI_01
%HONOR06%  = HWPortInstallSP04,   USB\VID_339B&PID_3650&MI_00

;for mtk sp
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_0005&MI_02
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_1066&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_200A&MI_02
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2493&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2493&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2498&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2498&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2540&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2540&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2541&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2541&MI_03

%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2552&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2552&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_2553&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_2553&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_255B&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_255B&MI_03
%HONOR04%  = HWPortInstallSP02,   USB\VID_339B&PID_255C&MI_01
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&PID_255C&MI_03

;pnp2.1
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&Subclass_11&Prot_12
%HONOR01%  = HWPortInstallSP02,   USB\VID_339B&Subclass_11&Prot_22
%HONOR04%  = HWPortInstallSP04,   USB\VID_339B&Subclass_11&Prot_23


; ===================== Installation Section Begin =============================
; ===================== Installation FP Section ================================
[HWPortInstallFP02.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

[HWPortInstallFP02.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFP

[HWPortInstallFP0A.NT]
CopyFiles = CopyFileSection00
AddReg = All0A, AddReg.NT

[HWPortInstallFP0A.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFP

[HW_USBSerialServiceFP]
DisplayName   = "HNUSBSERFP"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg

; =================== Installation FWT0(FC612E) Section ========================
[HWPortInstallFWT0.NT]
CopyFiles = CopyFileSection00
AddReg = All00, AddReg.NT

[HWPortInstallFWT0.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFWT0

[HWPortInstallFWT02.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

[HWPortInstallFWT02.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFWT0

[HW_USBSerialServiceFWT0]
DisplayName   = "HNUSBSERFWT0"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg

; ============== Installation FWT1(ETS6630-FP615H) Section =====================
[HWPortInstallFWT1.NT]
CopyFiles = CopyFileSection00
AddReg = All00, AddReg.NT

[HWPortInstallFWT1.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFWT1

[HWPortInstallFWT102.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

[HWPortInstallFWT102.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceFWT1

[HW_USBSerialServiceFWT1]
DisplayName   = "HNUSBSERFWT1"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg

;=====================Installation SP Section ===================================
[HWPortInstallSP02.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

[HWPortInstallSP02.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSP

[HWPortInstallSP04.NT]
CopyFiles = CopyFileSection00
AddReg = All04, AddReg.NT

[HWPortInstallSP04.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSP

[HWPortInstallSP05.NT]
CopyFiles = CopyFileSection00
AddReg = All05, AddReg.NT

[HWPortInstallSP05.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSP

[HW_USBSerialServiceSP]
DisplayName   = "HNUSBSERSP"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg

; ======================= Installation SP-TMO Section ============================
[HWPortInstallSPTMO02.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

[HWPortInstallSPTMO02.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSPTMO

[HWPortInstallSPTMO04.NT]
CopyFiles = CopyFileSection00
AddReg = All04, AddReg.NT

[HWPortInstallSPTMO04.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSPTMO

[HWPortInstallSPTMO05.NT]
CopyFiles = CopyFileSection00
AddReg = All05, AddReg.NT

[HWPortInstallSPTMO05.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceSPTMO

[HW_USBSerialServiceSPTMO]
DisplayName   = "HNUSBSERSPTMO"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg
;
;>>>>>>>>>>>>>>>>>>>>>>>>> The Union Version <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[HWPortInstall.NT]
CopyFiles = CopyFileSection00
AddReg = All00, AddReg.NT

;HWPCUI
[HWPortInstall02.NT]
CopyFiles = CopyFileSection00
AddReg = All02, AddReg.NT

;HWDIAG
[HWPortInstall03.NT]
CopyFiles = CopyFileSection00
AddReg = All03, AddReg.NT

;HWDBAPTER
[HWPortInstall04.NT]
CopyFiles = CopyFileSection00
AddReg = All04, AddReg.NT

;HWDBCONSOLE
[HWPortInstall05.NT]
CopyFiles = CopyFileSection00
AddReg = All05, AddReg.NT

;HWGPS
[HWPortInstall08.NT]
CopyFiles = CopyFileSection00
AddReg = All08, AddReg.NT

;HWRMNET
[HWPortInstall09.NT]
CopyFiles = CopyFileSection00
AddReg = All09, AddReg.NT

;HWNMEA
[HWPortInstall0A.NT]
CopyFiles = CopyFileSection00
AddReg = All0A, AddReg.NT

[HWPortInstall.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall02.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall03.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall04.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall05.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall08.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall09.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HWPortInstall0A.NT.Services]
AddService = HWHandSet,  0x00000002, HW_USBSerialServiceUnion

[HW_USBSerialServiceUnion]
DisplayName   = "HNUSBSERUNION"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hn_quusbmdm.sys
;AddReg        = PowerReg
;
; ======================== Installation Section End ====================================
[CopyFileSection00]
hn_quusbmdm.sys,,,0x20

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

[All02]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWPCUI

[All03]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWDIAG

[All04]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWDBAPTER

[All05]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWDBCONSOLE

[All08]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWGPS

[All09]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWRMNET

[All0A]
HKR,,NTMPDriver,,hn_quusbmdm.sys
HKR,,PortIdentify,,HWNMEA

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

;[PowerReg]
;HKR,,QCDriverResident,0x00010001,1

[Strings]
HONOR   = "Honor Incorporated"
HWSRCDISK = "HONOR Multimedia USB Driver Disk"
;
HWUSBSERSPTMO = "USB Device for Legacy Serial Communication (T-Mobile)"
HWUSBSERSP = "USB Device for Legacy Serial Communication (Normal)"
HONOR00      = "Android Adapter PCUI (for Logo Test)"
HONOR000     = "T-Mobile 3G Phone PCUI (for Logo Test)"
HONOR01      = "Android Adapter PCUI"
HONOR010     = "T-Mobile 3G Phone PCUI"
;HONOR02     = ""
HONOR04      = "DBAdapter Reserved Interface"
HONOR05      = "DBConsole Reserved Interface"
HONOR06      = "HONOR USB COM 1.0"

;
HWUSBSERFP = "Honor FP Handset USB Modem and USB Serial"
HONOR11 = "HONOR CDMA Handset - Application Interface"
HONOR12 = "HONOR CDMA Handset - NMEA"
HONOR14 = "HONOR FP Handset - PC UI Interface"
HONOR15 = "HONOR FP Handset - NMEA"
;
HWUSBSERFWT0 = "High Speed USB Modem and USB Serial For Normal"
HWUSBSERFWT1 = "Honor Mobile Adapter USB Modem and USB Serial"
HONOR20 = "Mobile Adapter - PC UI Interface"
HONOR21 = "DBAdapter - Reserved Interface"
HONOR22 = "DBAdapter - PC UI Interface"
HONOR23 = "Mobile Adapter - ETS Application Interface"
HONOR24 = "Mobile Adapter - ETS PC UI Interface"


HONOR31      = "HONOR Mobile Connect - Application Interface"
HONOR32      = "HONOR Mobile Connect - GPS Interface"
HONOR33      = "HONOR Mobile Connect - 3G PC UI Interface"
HONOR34      = "HONOR Mobile Connect - 3G Application Interface"
HONOR35      = "HONOR Mobile Connect - 3G GPS Interface"
HONOR36      = "HONOR Mobile Connect - Bluetooth Interface"
HONOR37      = "HONOR Mobile Connect - Control Interface"
HONOR38      = "HONOR Mobile Connect - CDMA Modem Interface"
HONOR39      = "HONOR Mobile Connect - SKYTONE Modem Interface"

HONOR203 = "HONOR Mobile Connect - 3G PC UI Interface"
HONOR204 = "HONOR Mobile Connect - 3G Application Interface"
;
;>>>New Union programed Products Later <<<
HWUSBSERUNION = "Honor HandSet USB Modem and USB Serial"
;HONOR90 = "Honor HandSet - Modem"
HONOR91  = "Honor HandSet - PC UI Interface"
HONOR92  = "Honor HandSet - Diagnostics Port"
HONOR93  = "Honor HandSet - DBAdapter Reserved Interface"
HONOR94  = "Honor HandSet - DBConsole Reserved Interface"
;HONOR95 = "Honor HandSet - Sooner Single ADB Interface"
;HONOR96 = "Honor HandSet - ADB Interface"
HONOR97  = "Honor HandSet - GPS Interface"
HONOR98  = "Honor HandSet - RMNET Interface"
HONOR99  = "Honor HandSet - NMEA Port"
;HONOR9A = "Honor HandSet Connect - USB Device"
HONOR200 = "Qualcomm HS-USB Diagnostics 900E"
;
