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

Contents of /trunk/Drivers/ccid/README

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5