SPRINGCARD SAS PRNHSP01 用户手册
PMD2271-BA
page 114 of 118
S
PRING
C
ARD
PC/SC C
OUPLERS
- H663
GROUP
- Developer's reference manual
9. A
NNEX
B –
ACTIVATING
SC
ARD
C
ONTROL
WITH
THE
DIFFERENT
DRIVERS
Being compliant with the CCID specification, the H663 is supported by (at least) 4 USB drivers:
SpringCard CCID driver for Windows (ref. SDD480),
Microsoft CCID kernel-mode driver (USBCCID) coming with Windows 2000/XP/Vista,
Microsoft CCID user-mode driver (WUDFUsbccidDriver) coming with Windows 7,
The open-source CCID driver from the PCSC-Lite package on Linux, MacOS X, and other
UNIX operating systems.
9.1. D
IRECT
CONTROL
USING
S
PRING
C
ARD
SDD480
Direct control is always enabled in SpringCard SDD480 driver.
With this driver, in SCardControl function call, parameter dwControlCode shall be set to
With this driver, in SCardControl function call, parameter dwControlCode shall be set to
SCARD_CTL_CODE(2048).
SCARD_CTL_CODE is a macro defined in header winscard.h from Windows SDK. For non-C/C++
languages, replace SCARD_CTL_CODE(2048) by constant value
languages, replace SCARD_CTL_CODE(2048) by constant value
h
00241FE4 (
d
3219456).
9.2. D
IRECT
CONTROL
USING
MS USBCCID
With MS USBCCID driver, direct control of the coupler must be enabled on a per-coupler basis:
each coupler has its own USB serial number, and the direct control has to be unequivocally
each coupler has its own USB serial number, and the direct control has to be unequivocally
enabled for this serial number.
This is done by writing a value in registry, either using regedit or custom software. See for instance
the command line tool ms_ccid_escape_enable, available with its source code in SpringCard
This is done by writing a value in registry, either using regedit or custom software. See for instance
the command line tool ms_ccid_escape_enable, available with its source code in SpringCard
PC/SC SDK.
The target key in registry is
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Enum
USB
VID_1C34&PID_91B1
yyyyyyyy
Device Parameters
where yyyyyyyy is the coupler’s Serial Number.
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.