1; SPR332.INF
2;
3; Installation file (.inf) for the SPRx3x USB Smart Card Readers for Windows 2K/XP/Server 2003/VISTA
4; Common INF for x86 and x64 bit processors,
5; Copyright � SCM Microsystems Inc.,2001-2007
6;
7
8[Version]
9Signature	=	"$CHICAGO$"
10Class	=	SmartCardReader
11ClassGuid	=	{50DD5230-BA8A-11D1-BF5D-0000F805F530}
12Provider	=	%SCM%
13CatalogFile=	SPR332.cat
14DriverVer	=	05/18/2007,4.39.00.01
15
16[Manufacturer]
17%SCM%		=	SCM_Models, NTamd64
18%CHERRY%	=	CHERRY_Models, NTamd64
19
20[ClassInstall32]
21AddReg=AddClassReg
22
23[SCM_Models]
24%SPRx32%	=	PCSC_CCID,USB\VID_04E6&PID_E003
25
26[SCM_Models.NTamd64]
27%SPRx32%	=	PCSC_CCIDx64,USB\VID_04E6&PID_E003
28
29[CHERRY_Models]
30%SPR330%	=	PCSC_CCID,USB\VID_046A&PID_003E
31
32[CHERRY_Models.NTamd64]
33%SPR330%	=	PCSC_CCIDx64,USB\VID_046A&PID_003E
34
35[SourceDisksFiles]
36SPR3322K.sys	=	1
37S332x64.sys 	=	1
38
39[SourceDisksNames]
401		=	%Floppy_Description%,SPR3322K.sys,,
411		=	%Floppy_Description%,S332x64.sys,,
42
43[DestinationDirs]
44DefaultDestDir		=	10,system32\drivers
45PCSC_CCID.NTCopyFiles	=	10,system32\drivers
46PCSC_CCIDx64.NTCopyFiles	=	10,system32\drivers
47
48[AddClassReg]
49HKR,,,0,%ClassName%
50HKR,,NoInstallClass,,1
51HKR,,Installer32,,"winscard.dll,ClassInstall32"
52
53;
54; x86 specific section
55;
56[PCSC_CCID.NT]
57CopyFiles		=	PCSC_CCID.NTCopyFiles
58AddReg		=	PCSC_CCID.Reader.AddReg
59
60[ClassInstall32]
61AddReg=AddClassReg
62
63[PCSC_CCID.NTCopyFiles]
64SPR3322K.sys,,
65
66[ControlFlags]
67ExcludeFromSelect.NT	=	USB\VID_04E6&PID_E003
68ExcludeFromSelect.NT	=	USB\VID_046A&PID_003E
69
70[PCSC_CCID.Reader.AddReg]
71HKR,,ShortProviderName,0,%ShortProviderName%
72HKR,,ReaderName,0,%PCSC_CCID%
73HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
74HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
75HKLM, System\CurrentControlSet\Services\CertPropSvc,Start,0x00010001,2
76HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
77HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
78HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
79HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
80HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
81HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
82HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
83HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1
84; Configurable F and D values
85;HKR,, FValue , 0x00010001, 1
86;HKR,, DValue , 0x00010001, 1
87HKR,, BufferSize , 0x00010001, 131072
88;HKR,, CardSpecificATR, 1, 3B,34,D6,00,30,42,30,30
89;HKR,, TranslatedATR, 1, 3B,34,B5,00,30,42,30,30
90
91[PCSC_CCID.NT.Services]
92AddService	=	SPR3322K,0x00000002,PCSC_CCID_Service_Inst,PCSC_CCID_EventLog_Inst
93
94[PCSC_CCID_Service_Inst]
95ServiceType	=	1 ;%SERVICE_KERNEL_DRIVER%
96StartType	=	3 ;%SERVICE_AUTO_START%
97ErrorControl	=	1 ;%SERVICE_ERROR_NORMAL%
98ServiceBinary	=	%12%\SPR3322K.sys
99DisplayName     =	%DisplayName%
100
101[PCSC_CCID_EventLog_Inst]
102AddReg		=	PCSC_CCID.AddEventLogReg
103
104[PCSC_CCID.AddEventLogReg]
105HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\SPR3322K.sys"
106HKR,,TypesSupported,0x00010001,7
107
108[PCSC_CCID.NT.HW]
109AddReg		=	PCSC_CCID.Reader.AddReg.HW
110
111[PCSC_CCID.Reader.AddReg.HW]
112HKR,, SelectiveSuspend, 0x00010001, 1
113HKR,, WaitWakeEnabled, 0x00010001, 1
114HKR,, IdleTime, 0x00010001, 5
115
116;
117; x64 specific section
118;
119[PCSC_CCIDx64.NT]
120CopyFiles		=	PCSC_CCIDx64.NTCopyFiles
121AddReg		=	PCSC_CCIDx64.Reader.AddReg
122
123[PCSC_CCIDx64.NTCopyFiles]
124S332x64.sys,,
125
126[ControlFlags]
127ExcludeFromSelect.NT	=	USB\VID_04E6&PID_E003
128ExcludeFromSelect.NT	=	USB\VID_046A&PID_003E
129
130[PCSC_CCIDx64.Reader.AddReg]
131HKR,,ShortProviderName,0,%ShortProviderName%
132HKR,,ReaderName,0,%PCSC_CCID%
133HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
134HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
135HKLM, System\CurrentControlSet\Services\CertPropSvc,Start,0x00010001,2
136HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
137HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
138HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
139HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
140HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
141HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
142HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
143HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1
144; Configurable F and D values
145;HKR,, FValue , 0x00010001, 1
146;HKR,, DValue , 0x00010001, 1
147HKR,, BufferSize , 0x00010001, 131072
148;HKR,, CardSpecificATR, 1, 3B,34,D6,00,30,42,30,30
149;HKR,, TranslatedATR, 1, 3B,34,B5,00,30,42,30,30
150
151[PCSC_CCIDx64.NT.Services]
152AddService	=	S332x64,0x00000002,PCSC_CCIDx64_Service_Inst,PCSC_CCIDx64_EventLog_Inst
153
154[PCSC_CCIDx64_Service_Inst]
155ServiceType	=	1 ;%SERVICE_KERNEL_DRIVER%
156StartType	=	3 ;%SERVICE_AUTO_START%
157ErrorControl	=	1 ;%SERVICE_ERROR_NORMAL%
158ServiceBinary	=	%12%\S332x64.sys
159DisplayName     =	%DisplayName%
160
161[PCSC_CCIDx64_EventLog_Inst]
162AddReg		=	PCSC_CCIDx64.AddEventLogReg
163
164[PCSC_CCIDx64.AddEventLogReg]
165HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\S332x64.sys"
166HKR,,TypesSupported,0x00010001,7
167
168[PCSC_CCIDx64.NT.HW]
169AddReg		=	PCSC_CCIDx64.Reader.AddReg.HW
170
171[PCSC_CCIDx64.Reader.AddReg.HW]
172HKR,, SelectiveSuspend, 0x00010001, 1
173HKR,, WaitWakeEnabled, 0x00010001, 1
174HKR,, IdleTime, 0x00010001, 5
175
176[Strings]
177SCM			=	"SCM Microsystems Inc."
178CHERRY			=	"Cherry GmbH"
179ShortProviderName		=	"SCM"
180Floppy_Description		=	"Installation Disk"
181PCSC_CCID		=	"SPRx3x USB Smart Card Reader"
182PCSC_CCIDx64		=	"SPRx3x x64 USB Smart Card Reader"
183SPRx32			=	"SPRx32 USB Smart Card Reader"
184SPR330			=	"SmartTerminal ST-2xxx"
185DisplayName		= 	"SPRx3x USB SmartCard Reader"
186ClassName		=	"Smart Card Readers"