D.L.Kumar wrote: > Hi all, > Thanx Karsten for ur response > > But(/usr/(local/)pcsc/services/../Info.plist ) Info.plist file contains > ATR value... > > The output we are getting with comments is as follows. > > * Comments are printed by us. > > -====================================================================- > ./muscletest > > ******************************************************** > > Token #0 > Token name : MuscleCard Applet > Slot name : SCR331 USB Smart Card Reader 0 0 > Token id : > 3B7F1800000031C0739E010B6452D90400829000 > Token state : 0022 > ******************************************************** > > Token #0 > Token name : MuscleCard Applet > Slot name : SCR331 USB Smart Card Reader 0 0 > Token id :3B7F1800000031C0739E010B6452D90400829000 > Token state : 0022 > ##comment :: In function > MSCEstablishConnection(in musclecard.c) > ##comment ::After calling SCardConnect : Command > successful. > ##comment :: After Calling SCardStatus :Command > successful. > ##comment :: sharingMode is not MSC_SHARE_DIRECT and > (applicationName !=0 || namesSize !=0 ) : > Feature unsupported > EstablishConn returns : Token is unsupported > -========================================================================- > We are getting eroor in this part of the code.. > In musclecard.c function(pcsc-lite-1.2.0/src) > > //this is the code that is returning "Feature is > Unsupported" > -================================================================- > memcpy(pConnection->tokenInfo.tokenApp, > applicationName, > nameSize); > > rv = (*libPL_MSCIdentifyToken) (pConnection); > -===================================================================- > may be > rv = > (*libPL_MSCIdentifyToken) (pConnection); > > is configuration of pcsc stack to support this card.so How to configure.. > otherwise what could be the problem?
Is it not possible to take a newer version of pcsclite? Then the problems will or may be fixed. The problem you have has something to do with libmusclecard or MCardPlugin, not pcsc (but which contains also the libmusclecard library). If you cannot take a newer version of pcsc-lite, you can take a newer version of libmusclecard (Why?). You can try to check out the new one and copy the libmusclecard concerning files (maybe only musclecard.c, musclecard.h, mscdefines.h and muscletest.c ...) and build pcsc-lite. Karsten > > Thanks in advance > D.L.Kumar > > > Send instant messages to your online friends http://in.messenger.yahoo.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
