;
; rismc32.INF
;
; Ricoh PCI DEVICE DRIVER INF FILE for Card-Bay Controller
;
; INF file for Windows 2000/XP
;
; Copyright © RICOH Company, Ltd., 2002-2007

[Version]
Signature="$CHICAGO$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Mfg%
CatalogFile=rismc32.cat
DriverVer=03/09/2007,1.08.00.01

[Manufacturer]
%Mfg% = Models


[Models]
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-2E48
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-6950
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-A0CE
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay_Controller-2AD9
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-7057
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-72AF
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-F1B2
; IRQ Low disable
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-5196
; IRQ all disable
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-B477
;%RICOH.DeviceDesc%=Ricoh,PCI\VEN_1180&DEV_0596

[ControlFlags]
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-2E48
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-6950
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-A0CE
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay_Controller-2AD9
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-7057
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-72AF
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-F1B2
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-5196
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-B477
;ExcludeFromSelect.nt=PCI\VEN_1180&DEV_0596

[SourceDisksNames]
1 = %Floppy_Description%,,,""
1 = %Floppy_Description%,rismc32.sys,,

[SourceDisksFiles]
rismc32.sys=1

[SourceDisksFiles.x86]
rismc32.sys=1

[DestinationDirs]
DefaultDestDir=10,system32\drivers
RICOH.CopyFiles = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS


[RICOH.CopyFiles]
rismc32.sys


[RICOH.AddReg]
HKR,,ShortProviderName,0,%ShortProviderName%
HKR,,ReaderName,0,%RICOH.DeviceDesc%
;HKR,, ClassB , 0x00010001,1
;HKR,, Poll , 0x00010001,1
; Configurable F and D values
;HKR,, FValue , 0x00010001, 1
;HKR,, DValue , 0x00010001, 1
;HKR,, ReduceCpuUtil , 0x00010001,1
;HKR,,ClockType,0x00010001,1
;HKR,, TrayIcon , 0x00010001,1
HKR,, CheckETUReg , 0x00010001,1
HKR,, BufferSize , 0x00010001, 131072
;HKR,, CardSpecificATR, 1, 3B,34,D6,00,30,42,30,30
;HKR,, TranslatedATR, 1, 3B,34,B5,00,30,42,30,30
HKR,, IFDType,0,%PCSC_CCID%
HKR,, VendorName,0,%Mfg%


[RICOH.NT.AddReg]
;HKR,, ClassB , 0x00010001,1
;HKR,, Poll , 0x00010001,1
; Configurable F and D values
;HKR,, FValue , 0x00010001, 1
;HKR,, DValue , 0x00010001, 1
;HKR,, ReduceCpuUtil , 0x00010001,1
;HKR,,ClockType,0x00010001,1
HKR,, TrayIcon , 0x00010001,1
HKR,, CheckETUReg , 0x00010001,1
HKR,, BufferSize , 0x00010001, 131072
;HKR,, CardSpecificATR, 1, 3B,34,D6,00,30,42,30,30
;HKR,, TranslatedATR, 1, 3B,34,B5,00,30,42,30,30
HKR,, IFDType,0,%PCSC_CCID%
HKR,, VendorName,0,%Mfg%
HKLM, System\CurrentControlSet\Services\Pcmcia\Parameters,DisableIsaToPciRouting,0x00010001,0
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
HKLM, System\CurrentControlSet\Services\CertPropSvc,Start,0x00010001,2
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1


[RICOH.NT]
CopyFiles= RICOH.CopyFiles
AddReg = RICOH.NT.AddReg

[RICOH.NT.Services]
AddService = rismc32,0x00000002,RICOH_Service_Inst,RICOH_EventLog_Inst

[RICOH_Service_Inst]
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\rismc32.sys
DisplayName     = %DisplayName%
AddReg= RICOH.AddReg

[RICOH_EventLog_Inst]
AddReg=RICOH.AddEventLogReg

[RICOH.AddEventLogReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\rismc32.sys"
HKR,,TypesSupported,0x00010001,7

[Strings]
Mfg = "RICOH Company, Ltd."
ShortProviderName = "RICOH"
Floppy_Description = "Installation Disk"
RICOH.DeviceDesc="RICOH SmartCard Reader"
PCSC_CCID="RICOH SmartCard Reader"
ClassName="Smart Card Readers"
Description="Server for SmartCard Reader"
DisplayName="RICOH Smart Card Reader"
