Hello,

  I'm trying to use Schlumberger Cryptoflex 8K and Cyberflex Access 
smart cards in a Gemplus 410 reader driven by pcsc-lite-0.9.3, and I 
have some trouble.

  The testpcsc (test.c) program shipped with pcsc-lite runs 
successfully.  Things go wrong when I try to send APDU command to 
a Schlumberger card.  I'm trying to do that with the formaticc command 
shipped with pcsc-lite (but I tried also with jpcsc and also the 
Perl-wrapper with essentially the same problem).  For each APDU command 
send to the Cryproflex, I get a ".error -2146435050" (This number is 
0x80100016 and is defined as SCARD_E_NOT_TRANSACTED in pcsclite.h)
after a lot of seconds.   The same command gives me a correct APDU 
response when the card is a Gemplus one (GemXpresso, which uses also 
T=0 protocol).

  Does anyone encountered the same problem and/or can help me to solve
it ?

This is the debug output I got :
-----------------------------------------------------------------
Jul 20 01:23:15 arnault pcscd: readerfactory.c
991: RFInitializeReader: Attempting startup of Gemplus 410 reader 0 0. 
Jul 20 01:23:15 arnault pcscd: readerfactory.c
673: RFBindFunctions: Loading IFD Handler 1.0 
Jul 20 01:23:15 arnault pcscd:    pcscdaemon.c 126: main: PC/SC Lite
Daemon Ready. 
Jul 20 01:23:44 arnault pcscd:      winscard.c
61: SCardEstablishContext: Establishing Context: 16978849 
Jul 20 01:23:46 arnault formaticc: winscard_clnt.c
816: SCardGetStatusChange: Event Loop Start 
Jul 20 01:23:52 arnault pcscd:  eventhandler.c
323: EHSpawnEventHandler: Card inserted into Gemplus 410 reader 0 0 
Jul 20 01:23:52 arnault pcscd:  eventhandler.c
327: EHSpawnEventHandler: Card insertion ATR: ^I
Jul 20 01:23:52 arnault pcscd:  
Jul 20 01:23:52 arnault pcscd:      winscard.c
113: SCardConnect: Attempting Connect to Gemplus 410 reader 0 0 
Jul 20 01:23:52 arnault pcscd:      winscard.c 181: SCardConnect: Active
Protocol: 1 
Jul 20 01:23:52 arnault pcscd:      winscard.c 189: SCardConnect: hCard
Identity: 16aee 
Jul 20 01:23:52 arnault formaticc: winscard_clnt.c
907: SCardGetStatusChange: Event Loop End 
Jul 20 01:23:52 arnault pcscd:      winscard.c
509: SCardBeginTransaction: Status: 0. 
Jul 20 01:23:52 arnault pcscd:      winscard.c 704: SCardTransmit: Send
Protocol: 0 
Jul 20 01:24:42 arnault pcscd:      winscard.c
555: SCardEndTransaction: Status: 0. 
Jul 20 01:24:42 arnault pcscd:      winscard.c
427: SCardDisconnect: Active Contexts: 1 
Jul 20 01:24:42 arnault pcscd:      winscard.c 448: SCardDisconnect: Reset
complete. 
Jul 20 01:24:42 arnault pcscd:      winscard.c
72: SCardReleaseContext: Releasing Context: 16978849 
Jul 20 01:24:50 arnault pcscd:  eventhandler.c
267: EHSpawnEventHandler: Card Removed From Gemplus 410 reader 0 0 
---------------------

  Note : I'm using the old driver for the Gemplus 410 reader, not
the new one which was published last week.  (I tried also this new
driver and I did not succeed at all make it work, but that's another
story).

  Thanks in advance for your suggestions.

-----
  F. Arnault ([EMAIL PROTECTED])
  Universite de Limoges
  France

***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to