I cannot run testpcsc because my platform is an embedded linux with a very
limited resources, so I am cross-compiling pcsc-lite.

When I run testpcsc, my platform says

/bin/sh: ../testpcsc: not found

removing the first line from the script eliminates this error, but I get
some others like for example that the compiler is not found in the target
platform.

Then I have copied lt-testpcsc, and run it

MUSCLE PC/SC Lite unitary test Program

THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL FOR END USERS!
Do NOT use it unless you really know what you do.

Testing SCardEstablishContext        : Command successful.
Testing SCardIsValidContext     : Command successful.
Testing SCardIsValidContext     : Invalid handle. (don't panic)
Testing SCardListReaderGroups        : Command successful.
Group 01: SCard$DefaultReaders
Testing SCardFreeMemory              : Command successful.
Testing SCardListReaders        : Cannot find a smart card reader. (don't
panic)
Testing SCardGetStatusChange
Please insert a working reader  :

Running pcsc_scan, the result is the same:

PC/SC device scanner
V 1.4.15 (c) 2001-2009, Ludovic Rousseau <[email protected]>
Compiled with PC/SC lite version: 1.5.5
Scanning present readers...
Waiting for the first reader...


It looks like no reader can be found, althougth the pcscd thread says that
there is a present and powered card, and that the client application is
connecting to this thread:

ifdhandler.c:603:IFDHICCPresence() Card present and powered
00409156 ifdhandler.c:585:IFDHICCPresence() lun: 0
00000603 GCCmds.c:389:GCCmdCardStatus()
00000539 -> 000000 42 00 01 17 54
00009060 <- 000000 24 00 07 00 07 02 11 00 0A 00 3D
00000638 ifdhandler.c:603:IFDHICCPresence() Card present and powered
00389371 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel
packet arrival
00000309 winscard_msg_srv.c:248:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 6
00000196 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation
is requested: 6
00000403 winscard_svc.c:133:ContextThread() Thread is started: 6
00001423 winscard_msg_srv.c:317:SHMProcessEventsContext() command
CMD_VERSION received by client 6
00000506 winscard_svc.c:189:ContextThread() Client is protocol version 3:0
00001877 winscard_msg_srv.c:317:SHMProcessEventsContext() command
ESTABLISH_CONTEXT received by client 6
00000810 winscard.c:242:SCardEstablishContext() Establishing Context:
17025094
00014336 ifdhandler.c:585:IFDHICCPresence() lun: 0
00000598 GCCmds.c:389:GCCmdCardStatus()
00000814 -> 000000 42 40 01 17 14
00008728 <- 000000 24 40 07 00 07 02 11 00 0A 00 7D
00000638 ifdhandler.c:603:IFDHICCPresence() Card present and powered


Weird?
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to