;/*++
;
;Copyright (c) 2010-2011 Intel Corporation
;
;Module Name:
;
;    ov8830.inf
;
; @@ begin Abstract Block
;Abstract:
;    INF file for installing ov8830 camera sensor (ACPI\INTCF2A) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update ov8830.inf ACPI\INTCF2A" to install
; @@ end Abstract Block
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=07/10/2013,6.2.9200.34861
; @@ begin Catalog Block
CatalogFile=ov8830.cat
; @@ end Catalog Block

[PackageInfo]
Name=ov8830

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

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

[Manufacturer]
%Ov8830%=Standard,NTx86

; For XP and later
; @@ begin Identification Block
[Standard.NTx86]
%ov8830.DeviceDesc%=Ov8830_Device, ACPI\INTCF2A
; @@ end Identification Block


[Ov8830_Device.NT]
CopyFiles=Ov8830_Device.NT.Copy
CopyFiles=CopyDLLs
Reboot

[Ov8830_Device.NT.Copy]
ov8830.sys

[CopyDLLs]
; @@ begin CopyDLLs Block
Preview_UserParameter_OV8830_11P2BA812.prm
Primary_UserParameter_OV8830_11P2BA812.prm
Video_UserParameter_OV8830_11P2BA812.prm
PRMLibraryOV8830_11P2BA812.dll
Preview_UserParameter_OV8830_12P2BA838.prm
Primary_UserParameter_OV8830_12P2BA838.prm
Video_UserParameter_OV8830_12P2BA838.prm
PRMLibraryOV8830_12P2BA838.dll
Preview_UserParameter_OV8830_SB8M11L.prm
Primary_UserParameter_OV8830_SB8M11L.prm
Video_UserParameter_OV8830_SB8M11L.prm
PRMLibraryOV8830_SB8M11L.dll
Preview_UserParameter_OV8830_11P2BA849.prm
Primary_UserParameter_OV8830_11P2BA849.prm
Video_UserParameter_OV8830_11P2BA849.prm
PRMLibraryOV8830_11P2BA849.dll
Preview_UserParameter_OV8830_12P2BA819.prm
Primary_UserParameter_OV8830_12P2BA819.prm
Video_UserParameter_OV8830_12P2BA819.prm
PRMLibraryOV8830_12P2BA819.dll
Preview_UserParameter_OV8830_12P2BA820.prm
Primary_UserParameter_OV8830_12P2BA820.prm
Video_UserParameter_OV8830_12P2BA820.prm
PRMLibraryOV8830_12P2BA820.dll
Preview_UserParameter_OV8830_11P2BA844.prm
Primary_UserParameter_OV8830_11P2BA844.prm
Video_UserParameter_OV8830_11P2BA844.prm
PRMLibraryOV8830_11P2BA844.dll

; Add new copy files ABOVE this line
; @@ end CopyDLLs Block

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

[Ov8830_Device.NT.Services]
AddService = ov8830, %SPSVCINST_ASSOCSERVICE%, ov8830_Service_Inst

[ov8830_Service_Inst]
DisplayName    = %ov8830.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ov8830.sys
Dependencies   = SpbCx,inteli2c
AddReg         = Ov8830_Device.AddReg

[Ov8830_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)"

; @@ begin OEM Device Registry Additions
;Default focus mode is continuous focus, it can be changed to auto focus mode by setting EnableAutoFocus with 1
HKLM,SOFTWARE\Intel\Camera,"EnableAutoFocus",0x10001,1

; Add new registry keys ABOVE this line
; @@ end OEM Device Registry Additions

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

[SourceDisksFiles]
ov8830.sys = 1
; @@ begin SourceDisksFiles Block
Preview_UserParameter_OV8830_11P2BA812.prm = 1
Primary_UserParameter_OV8830_11P2BA812.prm = 1
Video_UserParameter_OV8830_11P2BA812.prm = 1
PRMLibraryOV8830_11P2BA812.dll = 1
Preview_UserParameter_OV8830_12P2BA838.prm = 1
Primary_UserParameter_OV8830_12P2BA838.prm = 1
Video_UserParameter_OV8830_12P2BA838.prm = 1
PRMLibraryOV8830_12P2BA838.dll = 1
Preview_UserParameter_OV8830_SB8M11L.prm = 1
Primary_UserParameter_OV8830_SB8M11L.prm = 1
Video_UserParameter_OV8830_SB8M11L.prm = 1
PRMLibraryOV8830_SB8M11L.dll = 1
Preview_UserParameter_OV8830_11P2BA849.prm = 1
Primary_UserParameter_OV8830_11P2BA849.prm = 1
Video_UserParameter_OV8830_11P2BA849.prm = 1
PRMLibraryOV8830_11P2BA849.dll = 1
Preview_UserParameter_OV8830_12P2BA819.prm = 1
Primary_UserParameter_OV8830_12P2BA819.prm = 1
Video_UserParameter_OV8830_12P2BA819.prm = 1
PRMLibraryOV8830_12P2BA819.dll = 1
Preview_UserParameter_OV8830_12P2BA820.prm = 1
Primary_UserParameter_OV8830_12P2BA820.prm = 1
Video_UserParameter_OV8830_12P2BA820.prm = 1
PRMLibraryOV8830_12P2BA820.dll = 1
Preview_UserParameter_OV8830_11P2BA844.prm = 1
Primary_UserParameter_OV8830_11P2BA844.prm = 1
Video_UserParameter_OV8830_11P2BA844.prm = 1
PRMLibraryOV8830_11P2BA844.dll = 1

; Add new tuning data files ABOVE this line
; @@ end SourceDisksFiles Block

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

