;-------------------------------------------------------------------------------
; hpser.inf
; Copyright (c) 2012 HP Incorporated
; Manufacturer: HP Incorporated
;-------------------------------------------------------------------------------

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %HP%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 03/30/2015,1.0.1.23
Catalogfile= hpser.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%HP% = QcomSerialPort, NTia64, NTamd64, NTarm

[SourceDisksNames.x86]
1000 = %QcomSrcDisk%,"",,\serial\i386

[SourceDisksNames.amd64]
1000 = %QcomSrcDisk%,"",,\serial\amd64

[SourceDisksNames.arm]
1000 = %QcomSrcDisk%,"",,\serial\arm

[SourceDisksFiles]
  hpusbser.sys = 1000

[QcomSerialPort]
%HPDevice921D0%  = QportInstall00, USB\VID_03F0&PID_921D&MI_00

[QcomSerialPort.NTia64]
%HPDevice921D0%  = QportInstall00, USB\VID_03F0&PID_921D&MI_00

[QcomSerialPort.NTamd64]
%HPDevice921D0%  = QportInstall00, USB\VID_03F0&PID_921D&MI_00

[QcomSerialPort.NTarm]
%HPDevice921D0%  = QportInstall00, USB\VID_03F0&PID_921D&MI_00

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

[QportInstall01.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg, DevFunction1

[QportInstall02.NT]
CopyFiles=QCUsbDriverFiles
AddReg = All00, AddReg, DevFunction2

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

[QCUsbDriverFiles]
hpusbser.sys

[DestinationDirs]
DefaultDestDir = 12

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

[QportInstall01.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall02.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService

[QportInstall05.NT.Services]
AddService=qcusbser,  0x00000002, QC_USBSerialService05

[QC_USBSerialService]
DisplayName   = %HPUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hpusbser.sys
AddReg        = RegEntries

[QC_USBSerialService05]
DisplayName   = %HPUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hpusbser.sys
AddReg        = RegEntries

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

[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

[DevFunction2]
HKR,,QCDeviceFunction,0x00010001,2

[RegEntries]
HKR, , QCDriverSelectiveSuspendIdleTime, 0x00010001, 0x00000005
HKR, , QCDriverPowerManagementEnabled, 0x00010001, 1
HKR, , QCDriverWaitWakeEnabled, 0x00010001, 1

[AddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69025,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69026,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69031,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69032,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69037,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69038,1,1

[Strings]
HPUSBSER = "HP USB Device for Legacy Serial Communication"
QcomSrcDisk = "HP USB Driver Disk"
HP   = "HP"
HPDevice921D0 = "HP lt4211 Gobi 4G Diagnostic"



