;/*++
;
;Copyright (c) 2010-2024 Intel Corporation
;
;Module Name:
;
;    ov13B10.inf
;
;Abstract:
;    INF file for installing OV13B10 camera sensor (ACPI\OVTI13B1) driver
;
;Installation Notes:
;
;    Using PnP Utility tool 
;        Installation - "pnputil /add-driver ov13B10.inf /install"
;        Uninstallation - "pnputil /delete-driver xxx.inf"
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 11/22/2024,64.26100.13.17675
CatalogFile=ov13b10.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13
CopyCPFFiles=13

;*****************************************
; Sensor Device  Install Section
;*****************************************

[Manufacturer]
%INTEL%=Standard,NTamd64.10.0...17134

; For XP and later
[Standard.NTamd64.10.0...17134]
%OV13B10.DeviceDesc%=OV13B10_Device, ACPI\OVTI13B1

[OV13B10_Device.NTamd64]
CopyFiles=CopyDriverFiles
CopyFiles=CopyCPFFiles


[ov13B10_Device.NTamd64.HW]
AddReg=OV13B10_Dev.AddReg

[Ov13B10_Dev.AddReg]
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1

[CopyDriverFiles]
ov13B10.sys
graph_settings_OV13B10_09B13_MTL.xml
graph_settings_OV13B10_09B13_DPC_T3_MTL.xml
graph_settings_OV13B10_09B13U_MTL.xml
graph_settings_OV13B10_09B13W_MTL.xml

[CopyCPFFiles]
OV13B10_09B13_MTL.aiqb
OV13B10_09B13_MTL.cpf
OV13B10_09B13_MTL_PDAF_DPC_T3.aiqb
OV13B10_09B13_MTL_PDAF_DPC_T3.cpf
OV13B10_09B13U_MTL.aiqb
OV13B10_09B13U_MTL.cpf
OV13B10_09B13W_MTL.aiqb
OV13B10_09B13W_MTL.cpf



;-------------- Service installation
[OV13B10_Device.NTamd64.Services]
AddService = OV13B10, %SPSVCINST_ASSOCSERVICE%, OV13B10_Service_Inst

[OV13B10_Service_Inst]
DisplayName    = %OV13B10.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\ov13B10.sys
Dependencies   = SpbCx,inteli2c
AddReg         = OV13B10_Device.AddReg

[OV13B10_Device.AddReg]
;Use same security checks on relative opens
HKR,Parameters,DeviceCharacteristics,0x10001,0x0100
;Grant access just to built-in administrators, local system, and usermode drivers
HKR,Parameters,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"
;Default to disable PDAF. To enable PDAF T3 DPC , set PDAF_Type 0x04
HKR,Parameters,PDAF_Type,0x10001,0x04
HKR,Parameters,IsSupportCameraMask,0x10001, 1

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
ov13B10.sys = 1
OV13B10_09B13_MTL.aiqb = 1
OV13B10_09B13_MTL.cpf = 1
OV13B10_09B13_MTL_PDAF_DPC_T3.aiqb = 1
OV13B10_09B13_MTL_PDAF_DPC_T3.cpf = 1
OV13B10_09B13U_MTL.aiqb = 1
OV13B10_09B13U_MTL.cpf = 1
OV13B10_09B13W_MTL.aiqb = 1
OV13B10_09B13W_MTL.cpf = 1
graph_settings_OV13B10_09B13_MTL.xml = 1
graph_settings_OV13B10_09B13_DPC_T3_MTL.xml = 1
graph_settings_OV13B10_09B13U_MTL.xml = 1
graph_settings_OV13B10_09B13W_MTL.xml = 1

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
OV13B10 = "OV13B10 Camera Sensor"
DiskId1 = "OV13B10 Camera Installation Disk #1"
OV13B10.DeviceDesc = "Camera Sensor OV13B10"
OV13B10.SVCDESC = "Camera Sensor OV13B10"
