; ADXL345accel.inf
;
; Installation inf for ADXL345 g-sensor driver.
;
;
 
 
[Version] 
Signature = "$Windows NT$" 
Class=System
ClassGUID={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%Intel% 
CatalogFile.NTx86=ADXL345accelx86.cat
CatalogFile.NTAMD64=ADXL345accelamd64.cat
DriverVer=08/12/2009,1.0.0.0

[DestinationDirs] 
Accelerometer.Files.x86_12 = 12 
Accelerometer.Files.NTamd64 = 12 

[SourceDisksNames.x86]
1=%DiskId%,,,\i386

[SourceDisksNames.amd64]
1=%DiskId%,,,\amd64


[SourceDisksFiles]
ADXL345accel.sys=1,,


[Manufacturer] 
%Intel%=Intel,NTx86, NTamd64

[Intel.NTx86]
%AccelerometerDesc%=Accelerometer_Inst,*ACCE0001

[Intel.NTamd64]
%AccelerometerDesc%=Accelerometer_Inst.NTamd64,*ACCE0001

[Accelerometer_Inst.ntx86] 
CopyFiles = Accelerometer.Files.x86_12 

[Accelerometer_Inst.NTamd64] 
CopyFiles = Accelerometer.Files.NTamd64

[Accelerometer_Inst.ntx86.Services] 
AddService = accel,0x00000002,Accelerometer_Service_Instx86, 

[Accelerometer_Inst.NTamd64.Services] 
AddService = accel,0x00000002,Accelerometer_Service_Inst_NTamd64, 

[Accelerometer_Service_Instx86] 
DisplayName = %AccelerometerDesc%
ServiceType = %SERVICE_KERNEL_DRIVER% 
; StartType = %SERVICE_SYSTEM_START% 
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE% 
ServiceBinary = %12%\ADXL345accel.sys 
; LoadOrderGroup = "System Bus Extender"

[Accelerometer_Service_Inst_NTamd64] 
DisplayName = %AccelerometerDesc%
ServiceType = %SERVICE_KERNEL_DRIVER% 
; StartType = %SERVICE_SYSTEM_START% 
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE% 
ServiceBinary = %12%\ADXL345accel.sys 
; LoadOrderGroup = "System Bus Extender"


[Accelerometer.Files.x86_12] 
ADXL345accel.sys

[Accelerometer.Files.NTamd64] 
ADXL345accel.sys

[Strings] 

;  *******Localizable Strings******* 
Intel= "Intel" 
DiskId= "IntelAccel" 
AccelerometerDesc= "Accelerometer0001" 

;  *******Non Localizable Strings******* 

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 
