;/*++
;
;Copyright (c) 2010-2011 Intel Corporation
;
;Module Name:
;
;    mt9m114.inf
;
;Abstract:
;    INF file for installing mt9m114 camera sensor (ACPI\INT33F0) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update mt9m114.inf ACPI\INT33F0" 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=mt9m114.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

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

[Manufacturer]
%MT9M114%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%MT9M114.DeviceDesc%=MT9M114_Device, ACPI\INT33F0


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

[MT9M114_Device.NT.Copy]
mt9m114.sys

[CopyDLLs]
MT9M114_12P2SF181A.cpf


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

[MT9M114_Device.NT.Services]
AddService = MT9M114, %SPSVCINST_ASSOCSERVICE%, MT9M114_Service_Inst

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

[MT9M114_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]
mt9m114.sys = 1
MT9M114_12P2SF181A.cpf = 1


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

