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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=09/09/2013,603.9600.1948.23756

CatalogFile=imx175.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

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

[Manufacturer]
%Imx175%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%imx175.DeviceDesc%=Imx175_Device, ACPI\INTCF1A


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

[Imx175_Device.NT.Copy]
imx175.sys

[CopyDLLs]
imx175_13P2BA807.cpf


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

[Imx175_Device.NT.Services]
AddService = imx175, %SPSVCINST_ASSOCSERVICE%, imx175_Service_Inst

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

[Imx175_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)"
;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

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

[SourceDisksFiles]
imx175.sys = 1
imx175_13P2BA807.cpf = 1


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

