Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with certain cards with PC/SC and GemPC Twin USB



Hello,


Under Leopard (10.5.2), I'm trying to use a GemPC Twin USB reader to read smart cards. When connected and empty, the reader is blinking normally.
When I try to insert a couple of SIM cards and Java cards I have, the light on the reader stops blinking (and is continuously on), which is normal. Using pcsctest works almost(*) fine and one of these cards shows this ATR: 3B 75 94 00 00 62 02 02 01 01, for example.
However, when I try an Aladdin eToken Pro card (ATR: 3B F2 18 00 02 C1 0A 31 FE 58 C8 09 75), the reader doesn't seem to recognise the card as inserted. The light keep blinking and pcsctest says this:
Testing SCardConnect : Card protocol mismatch.


All these cards show the correct ATR using pcsc_scan under linux using the very same reader. Any idea what may be happening? I don't really understand why this particular card wouldn't work.



(*) I was going to write 'works fine' until I tried to run pcsctest once more to copy and paste the result into this e-mail. It turns out this time the ATR is padded with zeros:

Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : CCID Smart Card Reader 00 00
Current Reader State : 34
Current Reader Protocol : 0
Current Reader ATR Size : 21
Current Reader ATR Value : 3B 75 94 00 00 62 02 02 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.


I've seen a similar e-mail on this list some time ago. I don't know what causes this.



Best wishes,

Bruno.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.