Re: MUSCLE Schlumberger Cards with Gemplus reader

2001-07-21 Thread Francois ARNAULT

On Fri, 20 Jul 2001, Rich Wareham wrote:

 I think I had a similar problem when trying to make the Cambridge
 University smartcard (an IBM MFC) work with a GemCore reader. Eventually,
 after tracing through long sniffer logs of communication with a Windows
 PC, I managed to hack the existing libgemcore to work. It can be
 downloaded from:
 
 http://www.srcf.ucam.org/~rjw57/sc/
 
 Note: /Please/ don't use this for production work as the modifications are
 not clean, neither have they been extensively tested!

  Thanks for your reply.  I tried your libgemcore hacked for IBM cards,
but it does not seem to word with Schlumberger cards.  Perhaps a
modification of it should work but I've not the skill to do that, and
I should better buy other readers.


***
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
***



Re: MUSCLE Schlumberger Cards with Gemplus reader

2001-07-21 Thread Jim Rees

  Apparently, at
  least with the Cyberflex, the card responds with its maximum speed and
  the Gemplus driver interprets this as the requested speed.

If so, that would be a bug in the reader driver.  The card remains at
default timings until the reader sends it a PPS.

By the way, the Cyberflex card actually will run at higher speeds than the
atr would normally indicate.  You can take advantage of the higher speeds by
sending the card a ChangeJavaATR with different timings.
***
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
***



Re: MUSCLE Schlumberger Cards with Gemplus reader

2001-07-20 Thread Rich Wareham

On Fri, 20 Jul 2001, Francois ARNAULT wrote:

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

I think I had a similar problem when trying to make the Cambridge
University smartcard (an IBM MFC) work with a GemCore reader. Eventually,
after tracing through long sniffer logs of communication with a Windows
PC, I managed to hack the existing libgemcore to work. It can be
downloaded from:

http://www.srcf.ucam.org/~rjw57/sc/

Note: /Please/ don't use this for production work as the modifications are
not clean, neither have they been extensively tested!

Rich

 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
 ***


-- 
Rich Wareham

http://www.srcf.ucam.org/~rjw57/...
...sc/   -- Linux Software for the Cambridge University Smartcard
...xine/ -- Xine HOWTO

***
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
***