;/*++
;
;Copyright (c) 2010-2021 Intel Corporation All rights Reserved
;
;Module Name:
;
;    Lm3643.INF
;
;Abstract:
;    INF file for installing Intel flash (ACPI\xxxx) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update Lm3643.inf ACPI\xxxx" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 11/22/2024,64.26100.13.17675
CatalogFile=Lm3643.cat
PnpLockdown=1

;----------------------------------------------------------------------
;   Device Section
;----------------------------------------------------------------------

[Manufacturer]
%INTEL%=Intel,NTamd64.10.0...17134

; For Win2K because it cannot parse decorated sections.
;[Standard]
;
; These are the Lm3643 ids
;
;%Lm3643.DeviceDesc%=Lm3643_Device, root\Lm3643

; For XP and later
[Intel.NTamd64.10.0...17134]
%Lm3643.DeviceDesc%=Driver, ACPI\TXNW3643
%Lm3643.DeviceDesc%=Driver, ACPI\INT347D

;----------------------------------------------------------------------
;   Driver Section
;----------------------------------------------------------------------

[Driver.NT]
CopyFiles=Drivers.Files

[Driver.NT.Services]
AddService = Lm3643,%SPSVCINST_ASSOCSERVICE%, Lm3643.AddService

[Lm3643.AddService]
DisplayName    = %Driver_Service.Desc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\lm3643.sys
LoadOrderGroup = Boot Bus Extender
AddReg         = Lm3643_Service.AddReg

[Lm3643_Service.AddReg]
; bit0~7: config LED1 (0~127); bit8~16: config LED2 (0~127). Set default to 0x263f
HKR,Parameters,FlashLEDsIntensity,0x10001,0x263f

[Driver.NT.HW]
AddReg         = Lm3643.AddReg

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

[Drivers.Files]
lm3643.sys

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

[SourceDisksFiles]
lm3643.sys = 1

[DestinationDirs]
DefaultDestDir = 13

;----------------------------------------------------------------------
;    Strings
;----------------------------------------------------------------------

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Disk #1"
Driver_Service.Desc = "Intel(R) Camera Flash LED"
Lm3643.DeviceDesc = "Intel(R) Camera Flash LED"
