Thank you very much, Dr. Ludovic Rousseau. I have successfully install DT3500 and PCSC Lite and run testpcsc program. But the first time I run testpcsc, the result is :
MUSCLE PC/SC Lite Test Program Testing SCardEstablishContext : Command successful. Testing SCardGetStatusChange Please insert a working reader : Command successful. Testing SCardListReaderGroups : Command successful. Group 01: SCard$DefaultReaders Testing SCardListReaders : Command successful. Reader 01: DT3500 Reader 00 00 Waiting for card insertion : Command successful. Testing SCardConnect : Card is unresponsive. Then I run testpcsc again, the result is : MUSCLE PC/SC Lite Test Program Testing SCardEstablishContext : Command successful. Testing SCardGetStatusChange Please insert a working reader : Command successful. Testing SCardListReaderGroups : Command successful. Group 01: SCard$DefaultReaders Testing SCardListReaders : Command successful. Reader 01: DT3500 Reader 00 00 Waiting for card insertion : Command successful. Testing SCardConnect : Command successful. Testing SCardControl : Transaction failed. (don't panic) Testing SCardGetAttrib : Transaction failed. (don't panic) Testing SCardSetAttrib : Transaction failed. (don't panic) Testing SCardStatus : Command successful. Current Reader Name : DT3500 Reader 00 00 Current Reader State : 0x0034 Current Reader Protocol : T=-3 Current Reader ATR Size : 12 bytes Current Reader ATR Value : 3B 19 14 55 90 01 01 01 00 05 08 B0 Testing SCardDisconnect : Command successful. Testing SCardReleaseContext : Command successful. PC/SC Test Completed Successfully ! Why are the two results not the same? Another question is if I'd like to write some program such as reading and writing smart card, what API should I read? and where can I get some examples? Thanks in advanced. Best regards, TowerGee On Sun, 20 Feb 2005 21:42:59 +0100, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > Le Friday 18 February 2005 � 00:34:11, mail mail a �crit: > > Hello, *.* > > Hello "mail mail". > > Note that *.* is a DOS idiom. Under Unix you should use * to get all the > "files". > > > Thirdly, tar zxvf infDT3500-1.0.0.tar.gz and cp -r infDT3500/ > > /usr/local/pcsc/drivers/infDT3500.bundle/, then type "make" to get > > libDT3500.so. After that, create the Info.plist file in > > /usr/local/pcsc/drivers/infDT3500.bundle/Contents. The content are: > > > > <key>ifdProductString</key> > > <string>Infineer3500</string> > > > > <key>ifdVendorID</key> > > <string>0x0802</string> > > > > <key>ifdProductID</key> > > <string>0x2800</string> > > > > <key>ifdFriendlyName</key> > > <string>Infineer3500</string> > > > > Your file is incomplete. You can get an example at [1] and read the > documentation at [2]. > > Bye, > > [1] > http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/Drivers/ccid/src/Info.plist?rev=1.12&content-type=text/x-cvsweb-markup&cvsroot=pcsclite > [2] http://pcsclite.alioth.debian.org/ifdhandler-3/node7.html > > -- > Dr. Ludovic Rousseau [EMAIL PROTECTED] > -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. -- > _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
