[Pcsclite-cvs-commit] r2346 - in tags/ccid: . rel-1.2.0
Ludovic Rousseau
rousseau at alioth.debian.org
Fri Jan 19 20:54:43 CET 2007
Author: rousseau
Date: 2007-01-19 20:54:43 +0100 (Fri, 19 Jan 2007)
New Revision: 2346
Added:
tags/ccid/rel-1.2.0/
tags/ccid/rel-1.2.0/README
tags/ccid/rel-1.2.0/configure.in
Removed:
tags/ccid/rel-1.2.0/README
tags/ccid/rel-1.2.0/config.h.in
tags/ccid/rel-1.2.0/configure.in
Log:
release 1.2.0
Copied: tags/ccid/rel-1.2.0 (from rev 2341, trunk/Drivers/ccid)
Deleted: tags/ccid/rel-1.2.0/README
===================================================================
--- trunk/Drivers/ccid/README 2007-01-19 14:52:32 UTC (rev 2341)
+++ tags/ccid/rel-1.2.0/README 2007-01-19 19:54:43 UTC (rev 2346)
@@ -1,527 +0,0 @@
-USB CCID IFD Handler
-====================
-
- This package provides the source code for a generic USB CCID
-(Chip/Smart Card Interface Devices) driver. See [1] for the USB CCID
-specifications from the USB working group.
-
-
-Authors:
-========
-
-- Ludovic Rousseau <ludovic.rousseau at free.fr>
-- Carlos Prados for the PPS and ATR parsing code (taken from his
- towitoto driver) in towitoko/ directory.
-- Olaf Kirch for the T=1 TPDU code (from the OpenCT package) in openct/
- directory. I (Ludovic Rousseau) greatly improved this code.
-
-
-Supported CCID readers:
-=======================
-
-(in alphabetical order)
-- ActivCard USB reader 3.0
-- Advanced Card Systems ACR 38U-CCID [16]
- old versions of this reader have a bug: the reader do timeout when a
- special USB frame is sent from the reader. If the frame size if a
- multiple of wMaxPacketSize the communication is stopped.
-- Alcor Micro AU9520 [46]
- Firmware 1.01 is bogus. The time request sent by the card is not
- forwarded by the reader to the host.
-- Athena ASE IIIe USB V2 [29]
-- Athena ASE IIIe KB USB [42]
-- C3PO LTC31 (new model, USB product id 0x0006) [8]
-- Cherry XX33 keyboard [?]
-- Cherry XX44 keyboard (SmartBoard G83-6744) [18]
-- Cherry SmartTerminal ST2000U [35]
-- Cherry ST-1044U [27]
-- Dell keyboard SK-3106 [?]
-- Dell smart card reader keyboard [?]
-- Eutron SIM Pocket Combo [25]
-- Eutron CryptoIdentity [26]
-- Gemplus GemPC 433 SL [2]
-- Gemplus GemPC Card [41]
-- Gemplus GemPC Key [3]
-- Gemplus GemPC PinPad
-- Gemplus GemPC Twin [4]
-- Gemplus GemCore POS Pro
-- Gemplus GemCore SIM Pro
-- Kobil KAAN Base [19]
-- Kobil KAAN Advanced [20]
-- Kobil KAAN SIM III [21]
-- Kobil mIDentity [22]
-- OmniKey CardMan 3121 [5]
-- RSA SecureID SID800 [50]
-- SCM Micro SCR 331 [6]
- You shall upgrade the firmware [17] using version 5.18 or later.
-- SCM Micro SCR 331-DI [11]
- You shall upgrade the firmware [17] using version 6.22 or later.
-- SCM Micro SCR 335 [7]
- The firmware of this reader can't be upgraded so be sure to buy a
- recent model with firmware 5.14 or later
-- SCM Micro SCR 355
-- SCM Micro SCR 3310 [30]
-- SCM Micro SCR 3311 [31]
-- SCM Micro SPR 532 [9]
- You shall contact Torsten Maykranz <tmaykranz at scmmicro.de> to get a
- firmware upgrade.
-- SmartEpad (v 2.0) [32]
- The firmware gives a very strange description of the reader (like a
- dwDefaultClock: 1024.000 MHz). So do not expect a perfect behavior.
-- Verisign Secure Storage Token [24]
-- Verisign Secure Token [?]
-- Xiring Teo [52]
-
-
-Should work but untested by me:
-===============================
-
-I would like to get these readers to perform test and validation and
-move them in the supported list above. If you are one of the
-manufacturers, please, contact me.
-
-- Axalto Reflex USB v3 [38]
-- C3PO LTC32 [13]
-- C3PO TLTC2USB
-- C3PO KBR36
-- Gemplus GemPC Express
-- HP USB Smart Card Keyboard [44]
-- HP USB Smartcard Reader
-- id3 Semiconductors CL1356D [45] (tested by me but I don't have the
- reader anymore)
-- id3 Semiconductors CL1356T [48] (it should be the same firmware as the
- CL1356D)
-- OmniKey CardMan 1021
-- OmniKey CardMan 3021 [49]
-- OmniKey CardMan 3621 [43]
-- OmniKey CardMan 3821 [37]
-- OmniKey CardMan 5121 [33]
-- OmniKey CardMan 5125 [51]
-- OmniKey CardMan 6121 [36]
-- SCM Micro SCR 331-DI NTTCom [23]
-- SCM Micro SCR 3310-NTTCOM [28]
-- SCM Micro SCR 3320 [32]
-- SCM Micro SCR 333 [15]
-- SCM Micro SDI 010 [39]
-- SCM SCR 3340 ExpressCard54 [34]
-- Silitek SK-3105 keyboard [12] or C3PO TLTC2USB [14]
-- Winbond Electronics (for OEM only) [40]
-
-
-Unsupported or partly supported CCID readers:
-=============================================
-
-- ActivCard USB reader 2.0 [10]
- The reader do timeout when a special USB frame is sent from the
- reader. If the frame size if a multiple of wMaxPacketSize the
- communication is stopped.
-- C3PO LTC31 (old model, USB product id 0x0003) [8]
- The reader works fine with Linux kernel 2.4 but does not with Linux
- kernel 2.6. The ioctl() syscall returns EINVAL (Invalid argument)
-- iDream (THRC2002-2) [47]
- PPS fails with a Cryptoflex card
- powerup fails with a Setcos card
- does work with the belgium eID (the reader is sold for this
- application)
-- O2Micro Oz7762
- This reader is common as an internal reader in laptops like the Dell
- D420. You will then have different problems :
- * lots of "pcscd: commands.c:693:CmdGetSlotStatus Card absent or
- mute" messages in you logs
- * you can't use a command with 52 bytes of result, the reader will
- time out and the command will fail
- O2 Micro said the second problem would be corrected in a new
- firmware version so you may be lucky to have a mostly working
- reader. Until I get one working reader and can verify it does behave
- correctly I will list it in the unsupported reader list.
-
-
-Supported operating systems:
-============================
-
-- GNU/Linux (libusb 0.1.7)
-- MacOS X/Darwin (libusb 0.1.8beta, CVS snapshot. See "Known problems")
- to libusb)
-
-
-Debug informations:
-===================
-
-The driver uses the debug function provided by pcscd. So if pcscd sends
-its debug to stderr (pcscd --foreground) then the CCID will also send
-its debug to stderr. If pcscd sends its debug to syslog (by default)
-then the CCID will also send its debug to syslog.
-
-You can change the debug level using the Info.plist configuration file.
-The Info.plist is installed, by default, in
-/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
-
-The debug level is set in the ifdLogLevel field. It is a binary OR
-combinaison of 4 different levels.
-- 1: critical: important error messages
-- 2: info: informative messages like what reader was detected
-- 4: comm: a dump of all the bytes exchanged between the host and the
- reader
-- 8: periodic: periodic info when pcscd test if a card is present (every
- 1/10 of a second)
-
-By default the debug level is set to 3 (1 + 2) and correspond to the
-critical and info levels.
-
-You have to restart the driver so it read the configuration file again
-and use the new debug level value. To restart the driver you just need
-to unplug all your CCID readers so the the driver is unloaded and then
-replug your readers. You can also restart pcscd.
-
-
-Known problems:
-===============
-
-MacOSX libusb
-"""""""""""""
- There is a bug in libusb that crash the libusb library when you
- unplug a reader and replug it in another USB socket. So if you
- unplug a reader replug it in the same USB socket.
-
- see http://sourceforge.net/tracker/index.php?func=detail&aid=886778&group_id=1674&atid=101674
-
-
-Licence:
-========
-
- This library is free software; you can redistribute it and/or modify it
-under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at
-your option) any later version.
-
- This library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
-General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
-along with this library; if not, write to the Free Software Foundation,
-Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-
-History:
-========
-
-1.1.0 - 11 August 2006, Ludovic Rousseau
- - support Extended APDU (up to 64KB) for readers in TPDU mode (many
- readers) or Extended APDU mode (very rare). This only works for
- T=1 cards.
- - add support for C3PO LTC31 (new version), OmniKey CardMan 3021, HP
- USB Smart Card Keyboard, Actividentity (ActiveCard) Activkey Sim,
- id3 Semiconductors CL1356D and CL1356T, Alcor Micro AU9520
- - support the contactless interface of the SCR331-DI-NTTCOM
- - add support of FreeBSD
- - increase the USB timeout used for PIN verify/modify to not timeout
- before the reader
- - the 4-bytes value returned by CM_IOCTL_GET_FEATURE_REQUEST shall
- be encoded in big endian as documented in PCSC v2 part 10 ch 2.2
- page 2. The applications using this feature shall be updated (to
- respect the PCSC specification).
- - use ./configure --enable-twinserial to compile and install the the
- driver for the GemPC Twin serial
- - some minor bugs removed
-
-
-1.0.1 - 22 April 2006, Ludovic Rousseau
- - add support for Axalto Reflex USB v3, SCM Micro SDI 010, Winbond
- Electronics W81E381 chipset, Gemplus GemPC Card, Athena ASE IIIe
- KB USB, OmniKey CardMan 3621
- - support Solaris (Solaris uses a different libusb)
- - better documentation for ./configure arguments
- - improve support of Cherry XX44 keyboard for PIN verify and change
- (circumvent firmware bugs)
- - do not use LTPBundleFindValueWithKey() from pcscd since this
- function has been removed from pcscd API
- - use -fvisibility=hidden is available to limit the number of
- exported symbols
-
-
-1.0.0 - 3 March 2006, Ludovic Rousseau
- - add support for ActivCard USB Reader 3.0, Athena ASE IIIe USB V2,
- SCM Micro SCR 355, SCR 3311, SCR 3320, SCR 3340 ExpressCard54,
- Gemplus GemCore SIM Pro, GemCore POS Pro (serial and USB), GemPC
- Express (ExpressCard/54 interface), SmartEpad (v 2.0), OmniKey
- CardMan 5121
- - greatly improve support of PIN PAD readers. We now support TPDU
- readers with T=1 cards
- - use l10n strings for the Gemplus GemPC PIN PAD (it has a screen).
- Supported languages are: de, en, es, fr, it
- - rename ACS ACR 38 in ACR 38U-CCID since the ACR 38 is a different
- reader and is not CCID compatible
- - allow to select the Power On voltage using Info.plist instead of
- recompiling the source code
- - correct bugs in the support of multi-slots readers
- - if the card is faster than the reader (TA1=97 for example) we try
- to use a not-so-bad speed (corresponding to TA1=96, 95 or 94)
- instead of the default speed of TA1=11
- - the src/parse tool do not use the driver anymore. No need to
- update the Info.plist file first.
- - some minor bugs removed
-
-
-0.9.4 - 27 November 2005, Ludovic Rousseau
- - add support for Eutron SIM Pocket Combo, Eutron CryptoIdentity,
- Verisign Secure Token and VeriSign Secure Storage Token, GemPC
- Card (PCMCIA), SCM SCR331-DI NTTCom, SCM Micro SCR 3310-NTTCom,
- Cherry ST-1044U, Cherry SmartTerminal ST-2XXX
- - add support of PC/SC v2 part 10 CM_IOCTL_GET_FEATURE_REQUEST add
- support of FEATURE_VERIFY_PIN_DIRECT and FEATURE_MODIFY_PIN_DIRECT
- remove support of IOCTL_SMARTCARD_VENDOR_VERIFY_PIN (now
- obsoleted). A sample code is available in examples/scardcontrol.c
- - we need pcsc-lite 1.2.9-beta9 since some structures used for PIN
- pad readers are defined by pcsc-lite
- - some (bogus) cards require an extra EGT but the ATR does not say
- so. We try to detect the bogus cards and set TC1=2
- - IFDHSetProtocolParameters(): only use a data rate supported by the
- reader in the PPS negociation, otherwise we stay at the default
- speed.
- - calculate and store the read timeout according to the card ATR
- instead of using a fixed value of 60 seconds
- - increase the read timeout if the card sends and WTX request
- - improve support of GemPC Twin and GemPC Card (serial protocol)
- - reset the device on close only if DRIVER_OPTION_RESET_ON_CLOSE is
- set. The problem was that a device reset also disconnects the
- keyboard on a keyboard + reader device.
- - use color logs
- - some minor bugs removed
-
-
-0.9.3 - 14 March 2005, Ludovic Rousseau
- - change the licence from GNU GPL to GNU Lesser GPL (LGPL)
- - add support for ACS ACR 38, Kobil KAAN Base, Kobil KAAN Advanced,
- Kobil KAAN SIM III, Kobil KAAN mIDentity, SCM Micro SCR 331,
- SCM Micro SCR 331-DI, SCM Micro SCR 335, SCM Micro SCR 3310,
- SCM Micro SCR 532, Cherry XX44 readers
- - improve communication speed with readers featuring "Automatic PPS
- made by the CCID"
- - switch the Cherry xx33 reader in ISO mode if power up in EMV mode
- fails.
- - add support of character level readers. Thanks to O2Micro for the
- patch
- - add support for the O2Micro OZ776S reader but the reader firmware
- is still bogus
- - check firmware version to avoid firmwares with bugs. You can still
- use a bogus firmware by setting DRIVER_OPTION_USE_BOGUS_FIRMWARE
- in Info.plist
- - some minor bugs removed
-
-0.9.2 - 15 August 2004, Ludovic Rousseau
- - T=1 TPDU code:
- . the work on T=1 TPDU code was possible thanks to Gemplus
- validation team who helped me test, debug and bring the code to
- an EMV validation level. Thanks to Jérôme, Jean-Yves, Xavier and
- the Gemplus readers department
- . error code was not checked correctly
- . avoid a (nearly) infinite loop when resynch are needed.
- . correctly initialise an internal value to allow more than one
- reader to work
- - multi-slots readers
- . add support for multi-slots readers. The only one I have is a
- SCM Micro SCR 331-DI with a contact and a contactless interface.
- The contactless interface may or may not work for you since the
- reader uses proprietary (undocumented) commands.
- - GemPC Twin serial reader
- . perform a command (get the reader firmware) to be sure a GemPC
- Twin (serial or pcmcia) reader is connected
- . use a dynamic timeout when reading the serial port.
- The first timeout used when detecting the reader is 2 seconds to
- not wait too long if no reader is connected. Later timeouts are
- set to 1 minute to allow long time APDU.
- - use `pkg-config libpcsclite --cflags` to locate the pcsc-lite
- header files
- - use `pkg-config --print-errors --atleast-version=1.2.9-beta5 libpcsclite`
- to test the pcsc-lite version
- - code improvements thanks to the splint tool (http://www.splint.org/)
-
-0.9.1 - 1 July 2004, Ludovic Rousseau
- - I forgot to define IFD_PARITY_ERROR in a .h file
-
-0.9.0 - 1 July 2004, Ludovic Rousseau
- - The T=1 TPDU automata from Carlos Prados' Towitoko driver is very
- limited and do not support error management mechanisms.
- I then used the T=1 TPDU automata from OpenCT (OpenSC project).
- This automata is much more powerful but still lacks a lot of error
- management code.
- I then added all the needed code to reach the quality level
- requested by the EMV standard.
- - add support for new readers:
- . Advanced Card Systems ACR 38
- . Cherry XX33
- . Dell keyboard SK-3106
- . Dell smart card reader keyboard
- . SCR 333
- - add support of multi procotol cards (T=0 and T=1)
- - the debug level is now dynamic and set in the Info.plist file (no
- need to recompile the driver any more)
- - add support for the libusb naming scheme: usb:%04x/%04x:libusb:%s
- - INSTALL: add a "configuring the driver for the serial reader
- (GemPC Twin)" part
- - use `pkg-config libpcsclite --variable=usbdropdir` so you do not
- have to use --enable-usbdropdir=DIR or --enable-ccidtwindir=DIR
- even if pcscd does not use the default /usr/local/pcsc/drivers
- - add support of IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
- IOCTL_SMARTCARD_VENDOR_VERIFY_PIN in IFDHControl()
- - read ifdDriverOptions from Info.plist to limit the use of
- IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE (idea from Peter Williams)
- - provide an example of use of SCardControl()
- IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
- IOCTL_SMARTCARD_VENDOR_VERIFY_PIN in example/
- - add a --enable-pcsclite option (default to yes) so that the driver
- can be compiled for a different framework (one needing
- tokenparser.l like Solaris)
- - Reset action is power off and power on, not just power on
- - use the include files from pcsc-lite
- - add a mechanism to allow power on at 1.8V, 3V and then 5V as
- specified by ISO 7816. We still use 5V for now to avoid problems
- with non ISO compliant cards
-
-0.4.1 - 14 February 2004, Ludovic Rousseau
- - distribute missing files readers/supported_readers.txt and
- src/create_Info_plist.pl
- 'make install' failed because of this.
-
-0.4.0 - 13 February 2004, Ludovic Rousseau
- - support of T=1 with TPDU readers. A lot of the T=1 code comes from
- Carlos Prados towitoko driver.
- My code is GNU GPL, his code is GNU LGPL so the global driver is
- GNU GPL
- - PPS negotiation if the reader does not do it automatically
- - add support for the Silitek SK-3105 keyboard. It's a USB device
- with multiple interfaces
- - use the create_Info_plist.pl script to generate the installed
- Info.plist from an Info.plist template and a list of supported
- readers. The Info.plist was too "complex" to maintain by hand
- since it now contains 11 entries
- - add support of IFDHCreateChannelByName to avoid wrong reader
- enumeration. This is not complete if you have multiple _identical_
- readers. You need to use a > 1.2.0 pcsc-lite version (not yet
- released at that time)
- - build but do not install the serial ccidtwin driver by default
- since it is useless on computers without a serial port or without
- this reader for example.
- - read and write timeouts are not symmetric. write timout can be
- shorter since the reader and card is not supposed to do anything
- before receiving (write) a command
- - do not try to find usb.h and other libusb files if
- --disable-libusb is used. Needed if you only want to build the
- serial driver. Thanks to Niki Waibel for the patch
- - add a --enable-ccidtwindir argument to ./configure to specify the
- serial GemPC Twin installation directory
- - debug and code improvements and simplifications
-
-0.3.2 - 4 November 2003, Ludovic Rousseau
- - src/commands.c: correct a stupid bug that occurs with an APDU with
- 2 bytes response.
- - Info.plist: add SPR 532 in list of supported readers
- - parse.c: do not exit if the InterfaceClass is 0xFF (proprietary).
- It is the case with old readers manufactured before the final
- release of the CCID specs.
- - move LTC31 reader from unsupported to supported reader list. It
- was my f ault since in used odd INS byte in my test applet and odd
- INS bytes are forbidden by ISO 7816-4 ch. 5.4.2 Instruction byte.
- Thanks to Josep Moné s Teixidor for pointing the problem.
- - src/commands.c: comment out the automatic GET RESPONSE part. I
- don't think it should be in the driver. Maybe in pcscd instead?
-
-0.3.1 - 23 September 2003, Ludovic Rouseau
- - add --enable-multi-thread (enabled by default) for thread safe
- support an APDU multiplexing. You will need pcsc-lite-1.2.0-rc3 or
- above to use this feature.
- - add --enable-libusb=PATH option is your libusb is not installed in
- /usr or /usr/local
- - honor DESTDIR in install rules (closes [ #300110 ]). Thanks to
- Ville Skyttä for the patch.
- - src/ccid.c: do not switch the GemPC Key and GemPC Twin in APDU
- mode since it also swicth in EMV mode and may not work with non
- EMV cards
- - src/ccid_serial.c: complete reimplementation of the Twin serial
- protocol using a finite state automata (code much simpler)
-
-0.3.0 - 10 September 2003, Ludovic Rousseau
- - support of GemPC Twin connected to a serial port. Thanks to Niki
- W. Waibel for a working prototype.
- - support of auto voltage at power up if the reader support it
- instead of forcing a 5V in all cases.
- - support of APDU mode instead of just TPDU if the reader support
- it. Thanks to Jean-Luc Giraud for the idea and inspiration I got
- from his "concurrent" driver.
- - support of "time request" from the card.
- - parse: new indentation for more readability of supported features.
- - switch the GemPC Key and GemPC Twin in APDU mode since they
- support it but do not announce it in the dwFeatures.
- - new build process using autoconf/automake.
-
-0.2.0 - 26 August 2003, Ludovic Rousseau
- - Works under MacOS X
- - Info.plist: use an <array></array> for the alias enumeration
- - Makefile rework for *BSD and MacOS X
-
-0.1.0 - 13 August 2003, Ludovic Rousseau
- - First public release
-
-
-References:
-===========
-
-[1] http://www.usb.org/developers/devclass_docs/ccid_classspec_1_00a.pdf
-[2] http://www.gemplus.com/products/gempc433/
-[3] http://www.gemplus.com/products/gempckey/
-[4] http://www.gemplus.com/products/gempctwin/
-[5] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=21
-[6] http://www.scmmicro.com/security/SCR331.html
-[7] http://www.scmmicro.com/security/SCR335.html
-[8] http://www.c3po.es/ltc31.html
-[9] http://www.scmmicro.com/security/SPR532.html
-[10] http://www.activcard.com/products/usb_reader.html
-[11] http://www.scmmicro.com/security/SCR331-DI.html
-[12] http://www.silitek.com/prod/getProduct.do?xml_id=4_2&menu_id=4_2_8&cid=1_8_5
-[13] http://www.c3po.es/ltc32.html
-[14] http://www.c3po.es/tltc2usb.html
-[15] http://www.scmmicro.com/security/SCR333.html
-[16] http://www.acs.com.hk/Product_Readers.asp?productID=107&PCate=Products_PC_Linked_SmartCard_Readers
-[17] http://www.scmmicro.com/support/pcs_product_drivers.html
-[18] http://www.cherrycorp.com/english/advanced-line/advanced-line_smartboard_g83-6744.htm
-[19] http://www.kobil.com/e/products/smartcard/kaan-base.php
-[20] http://www.kobil.com/e/products/smartcard/kaan-advanced.php
-[21] http://www.kobil.com/d/products/smartcard/kaansim3.php
-[22] http://www.kobil.com/e/products/index.php?s=midentity
-[23] http://www.ntt.com/jpki/SCR331DI.html
-[24] http://www.verisign.co.uk/products-services/security-services/unified-authentication/usb-tokens/
-[25] http://www.eutron.com/simpocket.asp
-[26] http://www.cryptoidentity.eutron.com/eng/home.asp
-[27] http://www.cherry.de/english/advanced-line/advanced_smartterminal_st-1044u.htm
-[28] http://www.ntt.com/jpki/scr3310.html
-[29] http://www.asedrive.com/product.asp?pid=1
-[30] http://www.scmmicro.com/security/SCR3310.html
-[31] http://scmmicro.com/security/SCR3311.html
-[31] http://scmmicro.com/security/SCR3320.html
-[32] http://www.smartepad.com.br/
-[33] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=37
-[34] http://www.scmmicro.com/security/SCR3340.html
-[35] http://www.cherry.de/deutsch/advanced-line/advanced_smart_terminal_st-2000u.htm
-[36] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=29
-[37] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=33
-[38] http://www.reflexreaders.com/Products/reflex_usbnew.html
-[39] http://www.scmmicro.com/security/SDI_010.html
-[40] http://www.winbond.com.tw/E-WINBONDHTM/partner/b_2_e_4.htm
-[41] http://www.gemplus.com/products/gempc_card/
-[42] http://www.asedrive.com/product.asp?pid=2
-[43] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=31
-[44] http://h18000.www1.hp.com/products/quickspecs/12346_na/12346_na.HTML
-[45] http://www.id3semiconductors.com/produits/cl1356D.htm
-[46] http://www.alcormicro.com/products_detail.php?main_id=8&p_id=21
-[47] http://www.tai-hao.com/english/products_detail.php?main_id=4&second_id=13&p_id=53&now_rows=1
-[48] http://www.id3semiconductors.com/produits/cl1356T.htm
-[49] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=48
-[50] http://www.rsasecurity.com/products/securid/datasheets/SID800_DS_0205.pdf
-[51] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=39
-[52] http://www.teobyxiring.com/
-
-$Id$
-
- vim:ts=20
Copied: tags/ccid/rel-1.2.0/README (from rev 2345, trunk/Drivers/ccid/README)
Deleted: tags/ccid/rel-1.2.0/config.h.in
===================================================================
--- trunk/Drivers/ccid/config.h.in 2007-01-19 14:52:32 UTC (rev 2341)
+++ tags/ccid/rel-1.2.0/config.h.in 2007-01-19 19:54:43 UTC (rev 2346)
@@ -1,117 +0,0 @@
-/* config.h.in. Generated from configure.in by autoheader. */
-
-/* bundle directory name */
-#undef BUNDLE
-
-/* Define to 1 if you have the <arpa/inet.h> header file. */
-#undef HAVE_ARPA_INET_H
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Define to 1 if you have the <errno.h> header file. */
-#undef HAVE_ERRNO_H
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#undef HAVE_FCNTL_H
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the `pcsclite' library (-lpcsclite). */
-#undef HAVE_LIBPCSCLITE
-
-/* Define to 1 if you have the `memcpy' function. */
-#undef HAVE_MEMCPY
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define if you have POSIX threads libraries and header files. */
-#undef HAVE_PTHREAD
-
-/* Define to 1 if you have the `select' function. */
-#undef HAVE_SELECT
-
-/* Define to 1 if you have the <stdarg.h> header file. */
-#undef HAVE_STDARG_H
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the `strerror' function. */
-#undef HAVE_STRERROR
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the `strncpy' function. */
-#undef HAVE_STRNCPY
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#undef HAVE_SYS_TIME_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <termios.h> header file. */
-#undef HAVE_TERMIOS_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to 1 if you have the <usb.h> header file. */
-#undef HAVE_USB_H
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* directory containing USB drivers */
-#undef PCSCLITE_HP_DROPDIR
-
-/* Define to the necessary symbol if this constant uses a non-standard name on
- your system. */
-#undef PTHREAD_CREATE_JOINABLE
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#undef TIME_WITH_SYS_TIME
-
-/* Version number of package */
-#undef VERSION
-
-/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
- `char[]'. */
-#undef YYTEXT_POINTER
-
-/* Define to empty if `const' does not conform to ANSI C. */
-#undef const
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-#undef size_t
Deleted: tags/ccid/rel-1.2.0/configure.in
===================================================================
--- trunk/Drivers/ccid/configure.in 2007-01-19 14:52:32 UTC (rev 2341)
+++ tags/ccid/rel-1.2.0/configure.in 2007-01-19 19:54:43 UTC (rev 2346)
@@ -1,267 +0,0 @@
-# Process this file with autoconf to produce a configure script.
-# You may need to use autoconf 2.56 or newer
-
-# $Id$
-
-# Require autoconf 2.52
-AC_PREREQ(2.52)
-
-AC_INIT(ccid, 1.1.0)
-AC_CONFIG_SRCDIR(src/ifdhandler.c)
-AC_CONFIG_AUX_DIR(build)
-AM_INIT_AUTOMAKE
-
-# Default install dir
-AC_PREFIX_DEFAULT(/usr/local)
-
-# Automake boilerplate.
-AC_CANONICAL_HOST
-
-# create a config.h file (Automake will add -DHAVE_CONFIG_H)
-AM_CONFIG_HEADER(config.h)
-
-# Options
-AM_MAINTAINER_MODE
-
-# Checks for programs.
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-AC_PROG_LN_S
-AM_PROG_LEX
-PKG_PROG_PKG_CONFIG
-
-# check pcsc-lite version
-PCSC_NEEDED_VERSION="1.3.3"
-PKG_CHECK_MODULES(PCSC, libpcsclite >= $PCSC_NEEDED_VERSION, [],
- [ AC_MSG_RESULT([no])
- if test -f /usr/local/lib/pkgconfig/libpcsclite.pc -a "x$PKG_CONFIG" != x ; then
- AC_MSG_ERROR([use PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure])
- else
- AC_MSG_WARN([install pcsc-lite $PCSC_NEEDED_VERSION or later])
- fi
- ])
-
-saved_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PCSC_CFLAGS"
-AC_CHECK_HEADER(ifdhandler.h,,
- [AC_MSG_ERROR([ifdhandler.h not found, install pcsc-lite $PCSC_NEEDED_VERSION or later, or use ./configure PCSC_CFLAGS=...])])
-AC_CHECK_DECL(IFD_NO_SUCH_DEVICE,, [AC_MSG_ERROR([install pcsc-lite $PCSC_NEEDED_VERSION or later])], [#include <ifdhandler.h>])
-AC_CHECK_HEADER(reader.h,,
- [AC_MSG_ERROR([reader.h not found, install pcsc-lite $PCSC_NEEDED_VERSION or later, or use ./configure PCSC_CFLAGS=...])])
-CPPFLAGS="$saved_CPPFLAGS"
-
-# Add libtool support.
-AM_PROG_LIBTOOL
-
-# Automatically update the libtool script if it becomes out-of-date.
-AC_SUBST(LIBTOOL_DEPS)
-
-# Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS(errno.h fcntl.h stdlib.h unistd.h termios.h string.h errno.h sys/time.h sys/types.h stdarg.h arpa/inet.h,,
- [AC_MSG_ERROR([some header files not found])])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-
-# Checks for library functions.
-AC_CHECK_FUNCS(select strerror strncpy memcpy)
-
-# Select OS specific versions of source files.
-AC_SUBST(BUNDLE_HOST)
-AC_SUBST(DYN_LIB_EXT)
-case "$host" in
-*-*-darwin*)
- BUNDLE_HOST="MacOS"
- DYN_LIB_EXT="dylib"
-
- AC_SUBST(COREFOUNDATION)
- COREFOUNDATION="-Wl,-framework,CoreFoundation"
-
- AC_SUBST(IOKIT)
- IOKIT="-Wl,-framework,IOKit"
- if test "$GCC" = "yes"; then
- CFLAGS="$CFLAGS -no-cpp-precomp"
- fi
- ;;
-*-*-freebsd*)
- BUNDLE_HOST="FreeBSD"
- DYN_LIB_EXT="so"
- ;;
-*-*-openbsd*)
- BUNDLE_HOST="OpenBSD"
- DYN_LIB_EXT="so.0.0"
- ;;
-*-*-solaris*)
- BUNDLE_HOST="Solaris"
- DYN_LIB_EXT="so"
- ;;
-*)
- BUNDLE_HOST="Linux"
- DYN_LIB_EXT="so"
-esac
-
-# --disable-libusb
-AC_ARG_ENABLE(libusb,
- AC_HELP_STRING([--disable-libusb],[do not use libusb]),
- [ use_libusb="${enableval}" ], [ use_libusb=yes ] )
-
-# check if libusb is used
-if test "x$use_libusb" != xno ; then
- PKG_CHECK_MODULES(LIBUSB, libusb, [],
- [
- AC_MSG_RESULT([no])
- AC_CHECK_PROG([LIBUSBCONFIG], [libusb-config], [yes])
-
- if test "$LIBUSBCONFIG" = "yes" ; then
- LIBUSB_CFLAGS="$LIBUSB_CFLAGS `libusb-config --cflags`"
- LIBUSB_LIBS="$LIBUSB_LIBS `libusb-config --libs`"
- else
- AC_MSG_WARN([libusb-config not found.])
- fi
- ])
-
- saved_CPPFLAGS="$CPPFLAGS"
- saved_LIBS="$LIBS"
-
- CPPFLAGS="$CPPFLAGS $LIBUSB_CFLAGS"
- LIBS="$LDFLAGS $LIBUSB_LIBS"
-
- AC_CHECK_HEADERS(usb.h, [],
- [ AC_MSG_ERROR([usb.h not found, use ./configure LIBUSB_CFLAGS=...]) ])
-
- LIBS="$LIBS $COREFOUNDATION $IOKIT"
-
- AC_MSG_CHECKING([for usb_init])
- AC_TRY_LINK_FUNC(usb_init, [ AC_MSG_RESULT([yes]) ],
- [ AC_MSG_ERROR([libusb not found, use ./configure LIBUSB_LIBS=...]) ])
-
- AC_MSG_CHECKING([for usb_get_string_simple])
- AC_TRY_LINK_FUNC(usb_get_string_simple, [ AC_MSG_RESULT([yes]) ],
- [ AC_MSG_ERROR([your libusb is too old. install version 0.1.7 or above]) ])
-
- CPPFLAGS="$saved_CPPFLAGS"
- LIBS="$saved_LIBS"
-
- use_libusb=yes
-fi
-AC_SUBST(LIBUSB_CFLAGS)
-AC_SUBST(LIBUSB_LIBS)
-
-AC_MSG_RESULT([use libusb : $use_libusb])
-
-# check if the compiler support -fvisibility=hidden (GCC >= 4)
-saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -fvisibility=hidden"
-AC_MSG_CHECKING([for -fvisibility=hidden])
-AC_COMPILE_IFELSE([char foo;],
- [ AC_MSG_RESULT([yes])
- SYMBOL_VISIBILITY="-fvisibility=hidden" ],
- AC_MSG_RESULT([no]))
-CFLAGS="$saved_CFLAGS"
-AC_SUBST(SYMBOL_VISIBILITY)
-
-# --disable-multi-thread
-AC_ARG_ENABLE(multi-thread,
- AC_HELP_STRING([--disable-multi-thread],[disable multi threading]),
- [ multithread="${enableval}" ], [ multithread=yes ] )
-
-if test "${multithread}" != no ; then
- ACX_PTHREAD(
- [ AC_DEFINE(HAVE_PTHREAD, 1,
- [Define if you have POSIX threads libraries and header files.])
- ], [ AC_MSG_ERROR([POSIX thread support required]) ])
-
- multithread=yes
-fi
-AC_MSG_RESULT([multi threading : $multithread])
-
-# --enable-bundle=NAME
-AC_ARG_ENABLE(bundle,
- AC_HELP_STRING([--enable-bundle=NAME],[bundle directory name
- (default ifd-ccid.bundle)]),
- [bundle="${enableval}"], [bundle=false])
-if test "${bundle}" = false ; then
- bundle="ifd-ccid.bundle"
-fi
-AC_MSG_RESULT([bundle directory name : $bundle])
-AC_DEFINE_UNQUOTED(BUNDLE, "$bundle", [bundle directory name])
-
-# --enable-usbdropdir=DIR
-AC_ARG_ENABLE(usbdropdir,
- AC_HELP_STRING([--enable-usbdropdir=DIR],[directory containing USB
- drivers (default to pcscd config or $(prefix)/pcsc/drivers)]),
- [usbdropdir="${enableval}"], [usbdropdir=false])
-if test "${usbdropdir}" = false ; then
- usbdropdir=`pkg-config libpcsclite --variable=usbdropdir`
-fi
-AC_MSG_RESULT([USB drop directory : $usbdropdir])
-AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, "$usbdropdir", [directory containing USB drivers])
-if test "${usbdropdir}" = "" ; then
- AC_MSG_ERROR([use --enable-usbdropdir=DIR])
-fi
-
-# --enable-twinserial
-AC_ARG_ENABLE(twinserial,
- AC_HELP_STRING([--enable-twinserial],[also compile and install the serial Twin driver]),
- [twinserial="${enableval}"], [twinserial=no])
-AC_MSG_RESULT([build and install serial Twin driver : $twinserial])
-AM_CONDITIONAL(WITH_TWIN_SERIAL, test "${twinserial}" != "no")
-
-# --enable-ccidtwindir=DIR
-AC_ARG_ENABLE(ccidtwindir,
- AC_HELP_STRING([--enable-ccidtwindir=DIR],[directory to install the
- serial Twin driver (default to pcscd config or $(prefix)/pcsc/drivers/serial)]),
- [ccidtwindir="${enableval}"], [ccidtwindir=false])
-if test "${ccidtwindir}" = false ; then
- ccidtwindir=`pkg-config libpcsclite --variable=usbdropdir`/serial
-fi
-AC_MSG_RESULT([serial twin install dir : $ccidtwindir])
-
-# --disable-pcsclite
-AC_ARG_ENABLE(pcsclite,
- AC_HELP_STRING([--disable-pcsclite],[do not use pcsc-lite debug support]),
- [ pcsclite="${enableval}" ], [ pcsclite=yes ] )
-
-if test "${pcsclite}" != no ; then
- # check that pcsc-lite is installed
- OLD_LIBS="$LIBS"
- LIBS="$LIBS $PCSC_LIBS"
- AC_MSG_CHECKING([for SCardEstablishContext])
- AC_TRY_LINK_FUNC(SCardEstablishContext,
- [ AC_MSG_RESULT([yes]) ],
- [ AC_MSG_ERROR([SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta9 or later,or use LDLIBS=... ./configure]) ])
- LIBS="$OLD_LIBS"
-
- pcsclite=yes
-fi
-AC_MSG_RESULT([compiled for pcsc-lite : $pcsclite])
-AM_CONDITIONAL(WITHOUT_PCSC, test "${pcsclite}" != "yes")
-
-# --enable-udev
-AC_ARG_ENABLE(udev,
- AC_HELP_STRING([--enable-udev],[udev support for pcscd hotplug]),
- [udev="${enableval}"], [udev=no])
-AC_MSG_RESULT([udev support : $udev])
-AM_CONDITIONAL(UDEV, test "${udev}" != "no")
-
-
-# Setup dist stuff
-AC_SUBST(ac_aux_dir)
-AC_SUBST(bundle)
-AC_SUBST(usbdropdir)
-AC_SUBST(ccidtwindir)
-
-# Write Makefiles.
-AC_CONFIG_FILES(Makefile
- aclocal/Makefile
- src/Makefile
- readers/Makefile
- examples/Makefile)
-
-AC_OUTPUT
-
Copied: tags/ccid/rel-1.2.0/configure.in (from rev 2345, trunk/Drivers/ccid/configure.in)
More information about the Pcsclite-cvs-commit
mailing list