; 
; fsl_usb_sensor.inf
; Freescale USB Sensor Platform DFU (Device Firmware Upgrade) INF file
; Copyright (c) 2012 Freescale, Inc.  All rights Reserved.
;



[Version]
Signature = "$Windows NT$"
Class = "DFU Devices"
ClassGuid = {4801C980-CE68-4DBF-BF4C-253F762ABFD0}
Provider = %ProviderName%
CatalogFile = fsl_usb_sensor.cat
DriverVer = 05/22/2012,1.3.0.0

; ================== Class section ==================

[ClassInstall32]
Addreg=DFU Devices_Reg

[DFU Devices_Reg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ProviderName% = FreescaleUSBSensorPlatform_WinUSB,NTx86,NTamd64

[FreescaleUSBSensorPlatform_WinUSB.NTx86]
%USB\FreescaleUSBSensorPlatform.DeviceDesc% =FreescaleUSBSensorPlatformDfu_Install, USB\VID_15A2&PID_0064, USB\VID_15A2&PID_0065&MI_01

[FreescaleUSBSensorPlatform_WinUSB.NTamd64]
%USB\FreescaleUSBSensorPlatform.DeviceDesc% =FreescaleUSBSensorPlatformDfu_Install, USB\VID_15A2&PID_0064, USB\VID_15A2&PID_0065&MI_01

; =================== Installation ===================

[FreescaleUSBSensorPlatformDfu_Install]
Include=winusb.inf
Needs=WINUSB.NT

[FreescaleUSBSensorPlatformDfu_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[FreescaleUSBSensorPlatformDfu_Install.Wdf]
KmdfService=WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion=1.11

[FreescaleUSBSensorPlatformDfu_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{CEA473AC-8110-43CB-A830-1A0398DE39C0}"
HKR,,DeviceIdleEnabled,0x00010001,1
HKR,,DeviceIdleIgnoreWakeEnable,0x00010001,1
HKR,,DefaultIdleState,0x00010001,1
HKR,,DefaultIdleTimeout,0x00010001,5000

[FreescaleUSBSensorPlatformDfu_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WinUsbCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================

[SourceDisksNames]
1 = %DISK_NAME%,,,\x86
2 = %DISK_NAME%,,,\x64

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2

; =================== Strings ===================

[Strings]
ProviderName="Freescale"
USB\FreescaleUSBSensorPlatform.DeviceDesc="Freescale USB Sensor Platform DFU"
WinUSB_SvcDesc = "WinUSB Driver Service"
DISK_NAME="Install Disk"
ClassName="DFU Devices"
