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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=06/15/2013,6.2.9200.34330
CatalogFile=mt9e013.cat

[PackageInfo]
Name=mt9e013

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

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

[Manufacturer]
%Mt9e013%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%mt9e013.DeviceDesc%=Mt9e013_Device, ACPI\INTCF0A


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

[Mt9e013_Device.NT.Copy]
mt9e013.sys

[CopyDLLs]
Preview_UserParameter_LiteOn8M.prm
Primary_UserParameter_LiteOn8M.prm
Video_UserParameter_LiteOn8M.prm
PRMLibraryLiteOn8M.dll
YGamma_LiteOn8M.csv
CGamma_LiteOn8M.csv


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

[Mt9e013_Device.NT.Services]
AddService = mt9e013, %SPSVCINST_ASSOCSERVICE%, mt9e013_Service_Inst

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

[Mt9e013_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]
mt9e013.sys = 1
Preview_UserParameter_LiteOn8M.prm = 1
Primary_UserParameter_LiteOn8M.prm = 1
Video_UserParameter_LiteOn8M.prm = 1
PRMLibraryLiteOn8M.dll = 1
YGamma_LiteOn8M.csv = 1
CGamma_LiteOn8M.csv = 1

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

