Kenguva Gangadhar wrote:
> 
> --- Karsten Ohme <[EMAIL PROTECTED]> wrote:
> 
> 
>>Kenguva Gangadhar wrote:
>>
>>>Hi all
>>>
>>>         I have the following problem after installing the pcsclite 1.2.0, 
>>> muscleframework
>>>1.1.3/MCardPlugin, scr33x 2.6 driver.
>>>
>>>         After executing the bundleTool, it is saying:
>>>
>>>-->Output of bundleTool
>>>
>>>Select the approprate token driver:
>>>-----------------------------------
>>>  1.     mscMuscleCard.bundle
>>>-----------------------------------
>>>Enter the number: 1
>>> 
>>>Insert your token in: SCR331 USB Smart Card Reader 0 0
>>> 
>>>Token support updated successfully !
>>>
>>>
>>>        And now if I run the muscletest provided by pcsclite 1.2.0 it is 
>>> saying that Token is
>>>unsupported:
>>>
>>>-->Output of muscletest
>>>
>>>********************************************************
>>>Value/Key not defined for: spAtrValue, indice: 4, tokenValue:
>>
>>3F6D000080318065B00501025E83009000
>>
>>>Value/Key not defined for: spAtrValue, indice: 4, tokenValue:
>>
>>3F6D000080318065B00501025E83009000
>>
>>>Token #0
>>>Token name     : Token Unknown
>>>Slot name      : SCR331 USB Smart Card Reader 0 0
>>>Token id       :
>>>Token state    : 0222
>>> 
>>>********************************************************
>>>Value/Key not defined for: spAtrValue, indice: 4, tokenValue:
>>
>>3F6D000080318065B00501025E83009000
>>
>>>Token #0
>>>Token name     : Token Unknown
>>>Slot name      : SCR331 USB Smart Card Reader 0 0
>>>Token id       :
>>>Token state    : 0222
>>> 
>>>EstablishConn returns     : Token is unsupported
>>>
>>>
>>>       The file 
>>> /usr/local/pcsc/services/mscMuscleCard.bundle/Contents/Info.plist exist and 
>>> is
>>>getting updated whenever bundleTool is executed.
>>>
>>>       Also when the "testpcsc" (provided in pcsclite) is executed, it is 
>>> not giving the ATR
>>
>>size
>>
>>>and its value:
>>>
>>>-->Output of testpcsc
>>>
>>>MUSCLE PC/SC Lite Test Program
>>> 
>>>Testing SCardEstablishContext    : Command successful.
>>>Testing SCardGetStatusChange
>>>Please insert a working reader   : Command successful.
>>>Testing SCardListReaders         : Command successful.
>>>Reader 01: SCR331 USB Smart Card Reader 0 0
>>>Enter the reader number          : 01
>>> 
>>>Waiting for card insertion
>>>                                 : Command successful.
>>>Testing SCardConnect             : Command successful.
>>>Testing SCardStatus              : Command successful.
>>>Current Reader Name              : SCR331 USB Smart Card Reader 0 0
>>>Current Reader State             : c
>>>Current Reader Protocol          : ffffffff
>>>Current Reader ATR Size          : 0
>>>Current Reader ATR Value         :
>>>Testing SCardDisconnect          : Command successful.
>>>Testing SCardReleaseContext      : Command successful.
>>> 
>>>PC/SC Test Completed Successfully !
>>>
>>>
>>>        What could be the problem? Whether the card or installation?
>>
>>The thing with the ATR is strange, also the reader protocol, it seems
>>that your card has a problem (what transmission protocol does it use?).
>>
>>Do the following:
>>
>>Stop pcscd (The PC/SC Lite daemon) and execute a pcscd -f -a -d (I hope
>>these switches exist also in version 1.2.0, what this command should do
>>is, run the damon in forground, log to console and display send APDUs.)
>>
>>Insert a card. Now the card should be recognized and an ATR displayed.
>>Try different cards, you certainly have more chip cards in your purse.
>>
>>So, you can find out, if something is wrong with your card.
> 
> 
>         When I have started pcscd using the options -a -f -d stdout
> and made the operations inserting and removing the card I have got the 
> message saying Error
> Powering up the Card. It goes like this:
> 
> 
> 
> [EMAIL PROTECTED] pcsc-lite-1.2.0]# pcscd -a -f -d stdout
> debuglog.c:188 Debug options: APDU
> pcscdaemon.c:251 main: pcscd set to foreground
> pcscdaemon.c:265 main: debug messages to stdout
> pcscdaemon.c:427 main: warning: no reader.conf found
> pcscdaemon.c:445 main: pcsc-lite daemon ready.
> hotplug_libusb.c:344 Adding USB device: 001:002
> readerfactory.c:1391 RFInitializeReader: Attempting startup of SCR331 USB 
> Smart Card Reader 0 0.
> readerfactory.c:1133 RFBindFunctions: Loading IFD Handler 2.0
> eventhandler.c:467 EHSpawnEventHandler: Card inserted into SCR331 USB Smart 
> Card Reader 0 0
> eventhandler.c:480 EHSpawnEventHandler: Error powering up card.
> eventhandler.c:378 EHSpawnEventHandler: Card Removed From SCR331 USB Smart 
> Card Reader 0 0
> eventhandler.c:467 EHSpawnEventHandler: Card inserted into SCR331 USB Smart 
> Card Reader 0 0
> eventhandler.c:480 EHSpawnEventHandler: Error powering up card.
> eventhandler.c:378 EHSpawnEventHandler: Card Removed From SCR331 USB Smart 
> Card Reader 0 0
> pcscdaemon.c:502 Preparing for suicide
> winscard_msg.c:235 SHMProcessEvents: Select returns with failure: Interrupted 
> system call
> pcscdaemon.c:179 SVCServiceRun: Error in SHMProcessEvents
> readerfactory.c:1683 RFCleanupReaders: entering cleaning function
> readerfactory.c:1688 Stopping reader: SCR331 USB Smart Card Reader 0 0
> eventhandler.c:123 EHDestroyEventHandler: Stomping thread.
> eventhandler.c:150 EHDestroyEventHandler: Thread stomped.
> readerfactory.c:1441 RFUninitializeReader: Attempting shutdown of SCR331 USB 
> Smart Card Reader 0
> 0.
> readerfactory.c:1263 RFUnloadReader: Unloading reader driver.
> pcscdaemon.c:468 at_exit: cleaning /var/run
>  
> Is it a hardware error or problem with the installation of packages?

Well, what about other cards? Just take any other card to test it! It's
a problem of the reader or card. What is it for a card?

> 
> 
> Gangadhar
> 
> 
> 
> 
>>Karsten
>>
>>
>>>Thanks In Advance
>>>Gangadhar 
>>>
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam protection around 
>>>http://mail.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
>>
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.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

Reply via email to