/[pcsclite]/trunk/Drivers/ccid/README
ViewVC logotype

Contents of /trunk/Drivers/ccid/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (hide annotations) (download)
Thu Jan 15 08:18:38 2004 UTC (9 years, 4 months ago) by rousseau
File size: 7019 byte(s)
created an "Should work but untested by me" section and add SCM Micro
SPR 532 and ActivCard USB reader 2.0
1 rousseau 269 USB CCID IFD Handler
2     ====================
3    
4     This package provides the source code for a generic USB CCID
5     (Chip/Smart Card Interface Devices) driver. See [1] for the USB CCID
6 rousseau 273 specifications from the USB working group.
7 rousseau 269
8    
9     Author:
10     =======
11    
12     - Ludovic Rousseau <ludovic.rousseau@free.fr>
13    
14    
15     Supported CCID readers:
16     =======================
17    
18 rousseau 273 (in alphabetical order)
19     - Gemplus GemPC 433 SL [2]
20     - Gemplus GemPC Key [3]
21     - Gemplus GemPC Twin [4]
22 rousseau 523 - LTC31 from C3PO [8]
23 rousseau 273 - OmniKey CardMan 3121 [5]
24     - SCM Micro SCR 331 [6]
25     - SCM Micro SCR 335 [7]
26 rousseau 606
27    
28     Should work but untested by me:
29     ===============================
30    
31     I would like to get these readers to perform test and validation and
32     move them in the supported list above. If you are one of the
33     manufacturers, please, contact me.
34    
35 rousseau 553 - SCM Micro SPR 532 [9]
36 rousseau 606 - ActivCard USB reader 2.0 [10]
37 rousseau 269
38    
39     Unsupported CCID readers:
40     =========================
41    
42 rousseau 523 None known.
43 rousseau 269
44    
45 rousseau 321 Supported operating systems:
46     ============================
47    
48     - GNU/Linux (libusb 0.1.7)
49     - MacOS X/Darwin (libusb 0.1.8beta, CVS snapshot. See "Known problems")
50     to libusb)
51    
52    
53     Known problems:
54     ===============
55    
56 rousseau 326 All platforms
57 rousseau 465 T=1 and TPDU
58     """"""""""""
59     I do not yet included support of T=1 cards when the reader is in
60     TPDU mode.
61     If you have a T=1 card I recommand you to use a reader working in
62     APDU mode. T=1 and TPDU will be supported in a future version of
63     the driver.
64    
65 rousseau 321 readers enumeration
66 rousseau 326 """""""""""""""""""
67     You may have wrong reader identification if you connect two or
68     more reader at the exact same time.
69 rousseau 321
70 rousseau 326 The daemon pcscd and the CCID driver do not list connected readers
71     in the same order. The driver has no way to know which reader has
72     been detected as a new reader by pcscd.
73    
74     So if you plug two readers at the same time (for example if you
75     start pcscd with two readers connected or if you plug a USB hub
76     with two readers on the hub) you may have this (with two readers
77     foo and bar):
78     - pcscd scans the USB bus and finds a new CCID reader foo and
79     calls the driver
80     - the CCID driver scan the USB bus and finds a new different
81     reader bar
82 rousseau 321 - pcscd continues scanning the USB bus and finds the second reader
83     bar and calls the driver
84     - the CCID driver scan the USB bus and finds an unused reader foo.
85    
86 rousseau 326 Now the reader foo will be called bar by pcscd and bar will be
87     called foo. This may not be a problem if the two readers have
88     the same name. But it is strange to insert a card in the
89     physical reader foo and see pcscd detect the card insertion in
90     the reader he calls bar.
91    
92     The solution is to use IFDHCreateChannelByName() instead of
93     IFDHCreateChannel() and specify the USB device to use. But pcscd
94     does not implement IFDHCreateChannelByName() yet. Maybe in the
95     future.
96    
97     Another solution is to plug readers one after the other and not
98     at the same time.
99    
100 rousseau 340 *BSD
101     libusb
102     """"""
103     The libusb does not yet support USB interrupt endpoints. You will
104     notice that the driver will stop working as soon as you insert a
105     card in the reader.
106     A new version of libusb should fix this bug.
107 rousseau 321
108 rousseau 340
109 rousseau 273 Licence:
110     ========
111    
112 rousseau 269 This program is free software; you can redistribute it and/or modify
113     it under the terms of the GNU General Public License as published by the
114     Free Software Foundation; either version 2 of the License, or (at your
115     option) any later version.
116    
117     This program is distributed in the hope that it will be useful, but
118     WITHOUT ANY WARRANTY; without even the implied warranty of
119     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
120     General Public License for more details.
121    
122     You should have received a copy of the GNU General Public License
123     along with this program; if not, write to the Free Software Foundation,
124     Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
125    
126    
127     History:
128     ========
129    
130 rousseau 552 0.3.2 - 4 November 2003, Ludovic Rousseau
131     - src/commands.c: correct a stupid bug that occurs with an APDU with
132     2 bytes response.
133     - Info.plist: add SPR 532 in list of supported readers
134     - parse.c: do not exit if the InterfaceClass is 0xFF (proprietary).
135     It is the case with old readers manufactured before the final
136     release of the CCID specs.
137     - move LTC31 reader from unsupported to supported reader list. It
138     was my f ault since in used odd INS byte in my test applet and odd
139     INS bytes are forbidden by ISO 7816-4 ch. 5.4.2 Instruction byte.
140     Thanks to Josep Moné s Teixidor for pointing the problem.
141     - src/commands.c: comment out the automatic GET RESPONSE part. I
142     don't think it should be in the driver. Maybe in pcscd instead?
143    
144 rousseau 467 0.3.1 - 23 September 2003, Ludovic Rouseau
145     - add --enable-multi-thread (enabled by default) for thread safe
146     support an APDU multiplexing. You will need pcsc-lite-1.2.0-rc3 or
147     above to use this feature.
148     - add --enable-libusb=PATH option is your libusb is not installed in
149     /usr or /usr/local
150     - honor DESTDIR in install rules (closes [ #300110 ]). Thanks to
151     Ville Skyttä for the patch.
152     - src/ccid.c: do not switch the GemPC Key and GemPC Twin in APDU
153     mode since it also swicth in EMV mode and may not work with non
154     EMV cards
155     - src/ccid_serial.c: complete reimplementation of the Twin serial
156     protocol using a finite state automata (code much simpler)
157    
158 rousseau 423 0.3.0 - 10 September 2003, Ludovic Rousseau
159     - support of GemPC Twin connected to a serial port. Thanks to Niki
160     W. Waibel for a working prototype.
161     - support of auto voltage at power up if the reader support it
162     instead of forcing a 5V in all cases.
163     - support of APDU mode instead of just TPDU if the reader support
164     it. Thanks to Jean-Luc Giraud for the idea and inspiration I got
165     from his "concurrent" driver.
166 rousseau 425 - support of "time request" from the card.
167 rousseau 423 - parse: new indentation for more readability of supported features.
168     - switch the GemPC Key and GemPC Twin in APDU mode since they
169     support it but do not announce it in the dwFeatures.
170     - new build process using autoconf/automake.
171    
172 rousseau 342 0.2.0 - 26 August 2003, Ludovic Rousseau
173     - Works under MacOS X
174     - Info.plist: use an <array></array> for the alias enumeration
175     - Makefile rework for *BSD and MacOS X
176    
177 rousseau 273 0.1.0 - 13 August 2003, Ludovic Rousseau
178     - First public release
179 rousseau 269
180    
181 rousseau 425 Bibliography:
182     =============
183 rousseau 269
184     [1] http://www.usb.org/developers/devclass_docs/ccid_classspec_1_00a.pdf
185 rousseau 273 [2] http://www.gemplus.com/products/gempc433/
186     [3] http://www.gemplus.com/products/gempckey/
187 rousseau 269 [4] http://www.gemplus.com/products/gempctwin/
188 rousseau 273 [5] http://www.omnikey.com/en/produkt_details.php3?produkt=1&variante=47
189     [6] http://www.scmmicro.com/security/SCR331.html
190     [7] http://www.scmmicro.com/security/SCR335.html
191 rousseau 423 [8] http://www.c3po.es/pcsc.htm
192 rousseau 553 [9] http://www.scmmicro.com/security/SPR532.html
193 rousseau 606 [10] http://www.activcard.com/products/usb_reader.html
194 rousseau 269
195     $Id$
196    
197     vim:ts=20

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5