[Pcsclite-muscle] SCardTransmit error with ISO-14443A tag

Fabrice DIMITRIOU fdimitriou
Thu Oct 16 01:18:48 PDT 2014


CCID driver version = 1.3.9

pcsc-lite version =  1.5.3

smart card reader name = CASTLES EZ710PU

/usr/sbin/pcscd ?version

pcsc-lite version 1.5.3.

Copyright (C) 1999-2002 by David Corcoran <corcoran at linuxnet.com>.

Copyright (C) 2001-2008 by Ludovic Rousseau <ludovic.rousseau at free.fr>.

Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.

Report bugs to <muscle at lists.musclecard.com>.

Enabled features: Linux libusb usbdropdir=/usr/local/pcsc/drivers
confdir=/etc ipcdir=/var/run/pcscd

 

Hello,

 

I am trying to read serial number of a ISO 14443A tag with pcsc-lite running
on Fedora12.

 

But I have a SCardTransmit error (see above log.txt from pcscd):

 

00000000 debuglog.c:224:DebugLogSetLevel() debug level=debug

00000096 debuglog.c:253:DebugLogSetCategory() Debug options: APDU

00001961 pcscdaemon.c:505:main() pcsc-lite 1.5.3 daemon ready.

00197701 hotplug_libusb.c:477:HPAddHotPluggable() Adding USB device: 005:002

00000127 readerfactory.c:1024:RFInitializeReader() Attempting startup of
CASTLES EZ710PU 00 00 using
/usr/local/pcsc/drivers/ez7usb.bundle/Contents/Linux/ez7usb.so

00000352 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0

00018151 readerfactory.c:249:RFAddReader() Using the pcscd polling thread

00004001 readerfactory.c:1024:RFInitializeReader() Attempting startup of
CASTLES EZ710PU 00 01 using
/usr/local/pcsc/drivers/ez7usb.bundle/Contents/Linux/ez7usb.so

00000052 readerfactory.c:741:RFLoadReader() Reusing already loaded driver
for /usr/local/pcsc/drivers/ez7usb.bundle/Contents/Linux/ez7usb.so

00000093 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0

00000104 readerfactory.c:385:RFAddReader() Using the pcscd polling thread

00011849 hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver
ez7usb.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling
instead.

00000050 hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling forced
every 1 second(s)

00033050 Card ATR: 3B 68 00 00 4D 49 46 41 52 45 31 4B

07453896 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel
packet arrival

00000101 winscard_msg_srv.c:248:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 6

00000022 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation
is requested: 6

00000553 winscard_svc.c:133:ContextThread() Thread is started: 6

00000102 winscard_msg_srv.c:317:SHMProcessEventsContext() command
CMD_VERSION received by client 6

00000030 winscard_svc.c:189:ContextThread() Client is protocol version 3:0

00000255 winscard_msg_srv.c:317:SHMProcessEventsContext() command
ESTABLISH_CONTEXT received by client 6

00000084 winscard.c:242:SCardEstablishContext() Establishing Context:
16986112

00002124 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT
received by client 6

00000371 winscard.c:303:SCardConnect() Attempting Connect to CASTLES EZ710PU
00 01 using protocol: 3

00000036 prothandler.c:128:PHSetProtocol() Attempting PTS to T=0

00000031 winscard.c:449:SCardConnect() Active Protocol: T=0

00000035 winscard.c:459:SCardConnect() hCard Identity: 2fb13

00052482 winscard_msg_srv.c:317:SHMProcessEventsContext() command
BEGIN_TRANSACTION received by client 6

00000047 winscard.c:1057:SCardBeginTransaction() Status: 0x00000000

00000371 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT
received by client 6

00000038 winscard.c:1647:SCardTransmit() Send Protocol: T=0

00000037 APDU: 01 09 00 03 04 A0 01 00 00

00049820 SW:

00000051 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612

00000030 winscard.c:1671:SCardTransmit() Card not transacted: 0x80100016

00000403 winscard_msg_srv.c:317:SHMProcessEventsContext() command DISCONNECT
received by client 6

00000073 winscard.c:880:SCardDisconnect() Active Contexts: 1

00060453 winscard.c:941:SCardDisconnect() Reset complete.

00002732 winscard_msg_srv.c:306:SHMProcessEventsContext() Client has
disappeared: 6

00000105 winscard_svc.c:146:ContextThread() Client die: 6

00000029 winscard.c:253:SCardReleaseContext() Releasing Context: 16986112

26340730 pcscdaemon.c:580:signal_trap() Preparing for suicide

00066693 hotplug_libusb.c:377:HPRescanUsbBus() Hotplug stopped

00933456 readerfactory.c:1267:RFCleanupReaders() entering cleaning function

00000045 readerfactory.c:1276:RFCleanupReaders() Stopping reader: CASTLES
EZ710PU 00 00

00000031 eventhandler.c:126:EHDestroyEventHandler() Stomping thread.

00000030 eventhandler.c:139:EHDestroyEventHandler() Waiting polling thread

00208355 eventhandler.c:474:EHStatusHandlerThread() Die

00000262 eventhandler.c:163:EHDestroyEventHandler() Thread stomped.

00000038 readerfactory.c:1062:RFUnInitializeReader() Attempting shutdown of
CASTLES EZ710PU 00 00.

00000267 eventhandler.c:126:EHDestroyEventHandler() Stomping thread.

00000037 eventhandler.c:139:EHDestroyEventHandler() Waiting polling thread

00428649 eventhandler.c:474:EHStatusHandlerThread() Die

00000198 eventhandler.c:163:EHDestroyEventHandler() Thread stomped.

00000035 readerfactory.c:1062:RFUnInitializeReader() Attempting shutdown of
CASTLES EZ710PU 00 01.

00000028 readerfactory.c:914:RFUnloadReader() Unloading reader driver.

00000178 pcscdaemon.c:530:at_exit() cleaning /var/run/pcscd

 

Any clue ?

 

Thanks in advance for your answer.

 

Best regards.

 

 

 



Fabrice DIMITRIOU
Ing?nieur logiciel ? Responsable SI
__________________________________ 
TMM Software
525 Avenue Andr? Malraux
07500 Guilherand Granges - France
T?l. +33 (0)4 75 61 44 48
 <mailto:fdimitriou at tmm-software.com> fdimitriou at tmm-software.com
 <http://www.tmm-software.com> www.tmm-software.com



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20141016/a9a06c25/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 7231 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20141016/a9a06c25/attachment-0001.gif>



More information about the pcsclite-muscle mailing list