;
; File Name:
;		slusb.inf
;
; Abstract:
;		Senselock usb device driver information file
;
; Environment:
;		kernel mode only
;
; Notes:
;
; Author:
;		nianll
;
; Date:
;		02/24/2011
;
; Revision History:
;		08/06/2004		created by nianll(slmikey.inf)
;		10/27/2007		modify by nianll(slmikey.inf)
;		05/30/2008		modify by nianll(elite.inf)
;		19/01/2009		modify by nianll(slusb.inf)
;		02/24/2011		modify by huangj(slusb.inf)

[Version] 
Signature = "$Windows NT$"
Class=SmartCardReader
ClassGUID={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Senselock%
CatalogFile=slusb.cat
DriverVer= 02/24/2011,2.52.01.00

[DestinationDirs]
slUsb.File.NT = 10,System32\Drivers
slvReader.File.NT = 10,System32\Drivers
slvBus.File.NT = 10,System32\Drivers

[slUsb.File.NT]
slusb.sys,,,%COPY_FLAG_NOSKIP%

[slvReader.File.NT]
slvrd.sys,,,%COPY_FLAG_NOSKIP%

[slvBus.File.NT]
slvbus.sys,,,%COPY_FLAG_NOSKIP%

[SourceDisksNames]
1=%SenseDriverDisk%

[SourceDisksFiles.x86]
slusb.sys=1,i386
slvrd.sys=1,i386
slvbus.sys=1,i386

[SourceDisksFiles.amd64]
slusb.sys=1,amd64
slvrd.sys=1,amd64
slvbus.sys=1,amd64

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

[Senselock]
%Elite4Desc%=slUsb_Inst, USB\VID_0471&PID_485D
%Elite4Desc%=slUsb_Inst, USB\VID_1BC0&PID_0014
%EliteEDesc%=slUsb_Inst, USB\VID_1BC0&PID_0013
%iTokenDesc%=slUsb_Inst, USB\VID_1BC0&PID_0020
%MikeyDesc%=slUsb_Inst, USB\VID_1BC0&PID_0021
%SenseVReaderDesc%=SenseVReader_Inst, Sense\Reader
%SenseVBusDesc%=SenseVBus_Inst, root\Sensebus

[Senselock.NTx86]
%Elite4Desc%=slUsb_Inst, USB\VID_0471&PID_485D
%Elite4Desc%=slUsb_Inst, USB\VID_1BC0&PID_0014
%EliteEDesc%=slUsb_Inst, USB\VID_1BC0&PID_0013
%iTokenDesc%=slUsb_Inst, USB\VID_1BC0&PID_0020
%MikeyDesc%=slUsb_Inst, USB\VID_1BC0&PID_0021
%SenseVReaderDesc%=SenseVReader_Inst, Sense\Reader
%SenseVBusDesc%=SenseVBus_Inst, root\Sensebus

[Senselock.NTamd64]
%Elite4Desc%=slUsb_Inst, USB\VID_0471&PID_485D
%Elite4Desc%=slUsb_Inst, USB\VID_1BC0&PID_0014
%EliteEDesc%=slUsb_Inst, USB\VID_1BC0&PID_0013
%iTokenDesc%=slUsb_Inst, USB\VID_1BC0&PID_0020
%MikeyDesc%=slUsb_Inst, USB\VID_1BC0&PID_0021
%SenseVReaderDesc%=SenseVReader_Inst, Sense\Reader
%SenseVBusDesc%=SenseVBus_Inst, root\Sensebus

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows2000, Windows XP, Windows 2003
; slusb install section
[slUsb_Inst.NT]
CopyFiles = slUsb.File.NT

[slUsb_Inst.NT.Services] 
AddService = slUsb,0x00000002,slUsb_Service_Inst.NT,

[slUsb_Service_Inst.NT]
DisplayName = %slUsbServDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\slusb.sys

; slvReader install section
[SenseVReader_Inst.NT]
CopyFiles = slvReader.File.NT

[SenseVReader_Inst.NT.Services]
AddService = slvReader,0x00000002,SenseVReader_Service_Inst.NT,

[SenseVReader_Service_Inst.NT]
DisplayName = %SenseVReaderServDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\slvrd.sys

; slvbus install section
[SenseVBus_Inst.NT]
CopyFiles = slvBus.File.NT

[SenseVBus_Inst.NT.Services]
AddService = slvbus,0x00000002,SenseVBus_Service_Inst.NT,

[SenseVBus_Service_Inst.NT]
DisplayName = %SenseVbusServDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_SYSTEM_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\slvbus.sys
AddReg = vReaderNum.AddReg

[vReaderNum.AddReg]
HKR,,vReaderNum,0x00010001,%ReaderNumInit%

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; strings

[Strings] 
Senselock= "Beijing Senselock Corp."
SenseDriverDisk= "Senselock USB Token Device Install"
Elite4Desc= "Senselock EliteIV v2.x"
EliteEDesc= "Senselock Elite-e v2.x"
iTokenDesc= "Senselock iToken"
MikeyDesc= "Senselock Mikey"
SenseVReaderDesc= "Senselock Virtual Smartcard Reader"
SenseVBusDesc= "Senselock Virtual Smartcard Enumerater"
slUsbServDesc= "Senselock USB Token Service"
SenseVReaderServDesc= "Senselock Virtual Smartcard Reader Service"
SenseVBusServDesc= "Senselock Virtual Smartcard Enumerater Service"

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

ReaderNumInit = 0x01

COPY_FLAG_NOSKIP = 0x2
