2010/6/21 Drasko DRASKOVIC <[email protected]>: > Hi all,
Hello, > during development process of a SC controller driver for one embedded > device, I'd like to use Linux apps and drivers to connect some SC > reader with my PC and verify SIM card information. > > My question qould be following: > 1) What SC reader do you reccomend, which is supported by Linux > drivers and can be used with pcsc-tools. I have seen this one PC USB > TR from Gemalto : > http://boutique.gemalto.com/boutique/GEMALTO-B2CCORP-Site/2CATEGORY1BIS/PC-Twin-USB/pdu-WFS-en_US-EUR-wrAKAwOEefAAAAEizsko8Cyo-lI4KAwOE0TEAAAElGeseUAux?JumpTo=OfferList&ParcoursTracking=.Cat.2CATALOGBIS I guess that "PC USB TR" is the new marketing name of the "GemPC Twin". > However, here I do not find driver support for it : > http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/index.html No. The GemPC Twin reader [1] is supported by my CCID driver [2]. > Is PC USB TR supported by Linux drivers and can it be used with pcsc-tools ? Yes. > 2) Are there some Linux applications that you recommend that can be > used to easily read and analyze content of the SIM card ? You can try my "SIM explorer v3.0" [3] software. It uses the Perl PC/SC wrapper [4]. > This will permit me be sure that received ATR is correct and help me > further with SC driver development for my embedded device. > > BTW, the ATR I have gotten so far (though maybe wrong) is : > > USIMPtr->scidata = 0x3b > USIMPtr->scidata = 0x9d > USIMPtr->scidata = 0x94 > USIMPtr->scidata = 0x80 > USIMPtr->scidata = 0x1f > USIMPtr->scidata = 0xc7 > USIMPtr->scidata = 0x80 > USIMPtr->scidata = 0x31 > USIMPtr->scidata = 0xe0 > USIMPtr->scidata = 0x65 > USIMPtr->scidata = 0xd0 > USIMPtr->scidata = 0 > USIMPtr->scidata = 0x2b > USIMPtr->scidata = 0xe6 > USIMPtr->scidata = 0x8 > USIMPtr->scidata = 0x73 > USIMPtr->scidata = 0xfe > USIMPtr->scidata = 0x21 > USIMPtr->scidata = 0x13 > USIMPtr->scidata = 0xcf > > I have no idea at the moment if this is a correct ATR, as I have not > seen this pattern here: > http://ludovic.rousseau.free.fr/softwares/pcsc-tools/smartcard_list.txt You can also use my online ATR parsing [5]. > How can I analyze this this sequence and confirm at least that it is > in good shape (my concern is that I think that it should have 13 > historical chars (T0 char is 0x9d), but it seems that it list them 15 > here). I can't use your ATR without reformatting. You should give it on one line only like: 3B 02 14 50 Bye [1] http://pcsclite.alioth.debian.org/supported.html#0x08E60x3437 [2] http://pcsclite.alioth.debian.org/ccid.html [3] http://ludovic.rousseau.free.fr/softwares/index.html [4] http://ludovicrousseau.blogspot.com/2010/04/pcsc-sample-in-perl.html [5] http://ludovicrousseau.blogspot.com/2010/04/if-you-have-atr-and-would-like-to.html -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
