;/*++
;
;Copyright (c) 2010-2011 Intel Corporation
;
;


;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=07/08/2015,1.0.12.1
CatalogFile=ov5648.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
CopyCPFFiles=11
CopyX64ExtraCPFFiles=10, SysWOW64

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

[Manufacturer]
%UNICAM%=Standard,NTamd64

; For XP and later
[Standard.NTamd64]




%ov5648.DeviceDesc%=UNICAM_Device, ACPI\INT5648




[UNICAM_Device.NTamd64]
CopyFiles=UNICAM_Device.NT.Copy
CopyFiles=CopyCPFFiles
CopyFiles=CopyX64ExtraCPFFiles

[UNICAM_Device.NTx86]
CopyFiles=UNICAM_Device.NT.Copy
CopyFiles=CopyCPFFiles

[UNICAM_Device.NT.Copy]
ov5648.sys

[CopyCPFFiles]
unicam.default.spf





unicam.INT5648#2.spf
UNI_OV5648_MTD5648.cpf
UNI_OV5648_MTD5648_CHT.cpf
UNI_OV5648_MTD5648_CHT_CR.cpf


[CopyX64ExtraCPFFiles]
unicam.default.spf






unicam.INT5648#2.spf
UNI_OV5648_MTD5648.cpf
UNI_OV5648_MTD5648_CHT.cpf
UNI_OV5648_MTD5648_CHT_CR.cpf

;-------------- Service installation

[UNICAM_Device.NTx86.Services]
AddService = unicam, %SPSVCINST_ASSOCSERVICE%, unicam_Service_Inst

[UNICAM_Device.NTamd64.Services]
AddService = unicam, %SPSVCINST_ASSOCSERVICE%, unicam_Service_Inst

[unicam_Service_Inst]
DisplayName    = %unicam.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ov5648.sys
Dependencies   = SpbCx,inteli2c
AddReg         = UNICAM_Device.AddReg

[UNICAM_Device.AddReg]
;Use same security checks on relative opens
HKR,,DeviceCharacteristics,0x10001,0x0100
;Grant access just to built-in administrators, local system, and usermode drivers
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"

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

[SourceDisksFiles]
ov5648.sys = 1


unicam.default.spf=1



unicam.INT5648#2.spf=1
UNI_OV5648_MTD5648.cpf=1
UNI_OV5648_MTD5648_CHT.cpf=1
UNI_OV5648_MTD5648_CHT_CR.cpf=1
[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
UNICAM = "Camera Sensor UNICAM"
DiskId1 = "Camera UNICAM Installation Disk #1"


ov5648.DeviceDesc = "Camera Sensor Unicam ov5648"



unicam.SVCDESC = "Camera Sensor UNICAM"


