;---------------------------------------------------------------------------------
;Note: When the driver package is signed, any modifications to this .inf file will
;break the signature, and the driver package will need to be re-signed.
;---------------------------------------------------------------------------------
; Modified Windows USB CDC Abstract Control Model Serial Driver Setup File
; Copyright (C) 2012 Microchip Technology Inc.
;---------------------------------------------------------------------------------
; VKa, 2017-04-04: adapted for use with 173x Power/Energy Loggers in production scenarios.
; VKa, 2017-08-28: adapted for use with 173x, 174x, 354x for END-USER screnarios.
;     changes: 
;	- associate generic gadget-multi with new PID 9020. 
;	- associate gadget-multi with old PID 900C(Aron) and 900F(Mystique).
;   	==> all 900C, 900F, and 9020 instruments use gadget-multi. 
;     consequence: 
;	- FEA+30 installer must remove all associations of 900C and 900F with gadget-serial.
;	- End users must update 173x firmware to rev >= 2.1, 354x >= 1.5

[Version] 
Signature	="$Windows NT$" 
Class		=Ports
ClassGuid	={4D36E978-E325-11CE-BFC1-08002BE10318} 
Provider	=%MFGNAME% 
CatalogFile.ntx86			=FPQ_gadgetMulti_x86.cat
CatalogFile.ntamd64			=FPQ_gadgetMulti_x64.cat
DriverPackageDisplayName	=%DRVDESC%
DriverVer					=08/29/2017,5.1.2600.9

[Manufacturer] 
%MFGNAME%=DeviceList,NTamd64

;------------------------------------------------------------------------------
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; The VID and PID can be changed in the USB device descriptor and on the below 
; lines in this file.  If you modify this .inf file to customize it for your
; device, please remove all existing Microchip (VID 0x04D8) entries from
; the device lists.
;------------------------------------------------------------------------------
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_0F7E&PID_900C&MI_02, USB\VID_0F7E&PID_900F&MI_02, USB\VID_0F7E&PID_9020&MI_02

[DeviceList.NTamd64] 
%DESCRIPTION%=DriverInstall, USB\VID_0F7E&PID_900C&MI_02, USB\VID_0F7E&PID_900F&MI_02, USB\VID_0F7E&PID_9020&MI_02

;------------------------------------------------------------------------------
;  Windows 32bit OSes Section
;------------------------------------------------------------------------------
[DriverInstall.nt] 
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection 
AddReg=DriverInstall.nt.AddReg 

[DriverInstall.nt.AddReg] 
HKR,,DevLoader,,*ntkern 
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys 
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" 

[DriverInstall.NT.Services]
include=mdmcpq.inf 
AddService=usbser, 0x00000002, LowerFilter_Service_Inst 


;------------------------------------------------------------------------------
;  Windows 64bit OSes Section
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.NTamd64.AddReg 

[DriverInstall.NTamd64.AddReg] 
HKR,,DevLoader,,*ntkern 
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys 
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" 

[DriverInstall.NTamd64.Services] 
include=mdmcpq.inf 
AddService=usbser, 0x00000002, LowerFilter_Service_Inst 


;------------------------------------------------------------------------------
;  Common Sections
;------------------------------------------------------------------------------
[DestinationDirs] 
DefaultDestDir=12 

[SourceDisksNames]

[SourceDisksFiles]

[FakeModemCopyFileSection]

[LowerFilter_Service_Inst]
DisplayName= %SERVICE%
ServiceType= 1
StartType  = 3
ErrorControl = 0
ServiceBinary = %12%\usbser.sys


;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------
; These strings can be modified to customize your device
;------------------------------------------------------------------------------
[Strings]
DRIVERFILENAME ="usbser"
DRVDESC			="FPQ USB gadget-multi"
MFGNAME			="Fluke Corporation"			;This name shows up in the device manager properties for the device
DESCRIPTION		="Fluke PQ serial device"		;This is the "friendly name" that shows up in the device manager
SERVICE			="FPQ USB gadget-multi"
