;
; __________________________________________________________________________
;|                                                                          |
;| Copyright, ST Microelectronics, Inc.                                     |
;| All Rights Reserved.                                                     |
;| This software contains the valuable trade secrets of ST Microelectronics.|
;| The software is protected under copyright laws as an unpublished work of |
;| ST Microelectronics. Notice is for informational purposes only and does  |
;| not imply publication. The user of this software may make copies of the  |
;| software for use with parts manufactured by ST Microelectronics or under |
;| license from ST Microelectronics and for no other use.                   |
;|__________________________________________________________________________|
;
;Module Name:
;
;    accelern.inf
;
;Abstract:
; Installation inf for the Accelerometer sensor driver.

[Version]
Signature   = "$WINDOWS NT$"
Class       = System
ClassGuid   = {4d36e97d-e325-11ce-bfc1-08002be10318}
Provider    = %STM%
CatalogFile = accelern.cat
DriverVer=08/30/2012,1.00.00.20
PnPLockDown = 0

[SourceDisksNames]
1 = %DISK_NAME%,,,

[SourceDisksFiles]
accelern.sys=1,,
accelernco02.dll=1
stdcfltn.cab=1

[DestinationDirs]
DefaultDestDir = 12  ; DIRID_DRIVERS
ACCELERN_CoInstaller_CopyFiles = 11
StdcFltn_CopyFiles = 16422,STMicroelectronics\AccelerometerP11\stdcfltn

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

[Manufacturer]
%STM%=ST,NTx86

; For XP and later
[ST.NTx86]
; DisplayName                   Section           DeviceId
; -----------                   -------           --------
%ACCELERN.DeviceDesc%=          ACCELERN,         *SMO8800

[ACCELERN.NT]
CopyFiles=ACCELERN.NT.Copy

[ACCELERN.NT.Copy]
accelern.sys

[ACCELERN.NT.HW]
AddReg=ACCELERN.NT.HW.AddReg

[ACCELERN.NT.HW.AddReg]
HKLM,"System\CurrentControlSet\Services\Acceler",InterruptEnable,0x00010001 ,0
HKLM,"System\CurrentControlSet\Services\Acceler",FixedIRQ,0x00010001 ,23

;*****************************************
; Service Section
;*****************************************

[ACCELERN.NT.Services]
AddService = Acceler, %SPSVCINST_ASSOCSERVICE%, ACCELERN_Service_Inst

[ACCELERN_Service_Inst]
DisplayName     = %Accelern.SVCDESC%
ServiceType     = 1               ; SERVICE_KERNEL_DRIVER
StartType       = 3               ; SERVICE_DEMAND_START
ErrorControl    = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\accelern.sys

;*****************************************
; Device Coinstaller installation 
;*****************************************


[ACCELERN.NT.CoInstallers]
AddReg          = ACCELERN_CoInstaller_AddReg
CopyFiles       = ACCELERN_CoInstaller_CopyFiles
CopyFiles       = StdcFltn_CopyFiles

[ACCELERN_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"accelernco02.dll,AccelernCoInstaller"

[ACCELERN_CoInstaller_CopyFiles]
accelernco02.dll

[StdcFltn_CopyFiles]
stdcfltn.cab

[CoInstallerInfo]
; info for the co-installer
; used to find the original media location
OriginalInfSourcePath = %1%




[Strings]
SPSVCINST_ASSOCSERVICE   = 0x00000002
STM                      = "ST Microelectronics"
DISK_NAME                = "Accelerometer Install Disk"
Accelern.SVCDESC = "Accelerometer Service"
ACCELERN.DeviceDesc = "ST Micro Accelerometer"
MfgName = "ST Microelectronics"
ClassName = "Accelerometer"

