I have the same SCardTransmit error: transaction failed. PCSCd log:
00000674 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 6 00000059 winscard.c:1647:SCardTransmit() Send Protocol: T=0 00000043 APDU: FF CA 00 00 00 00050896 SW: 00000063 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612 00000038 winscard.c:1671:SCardTransmit() Card not transacted: 0x80100016 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 [email protected] www.tmm-software.com -----Message d'origine----- De : Pcsclite-muscle [mailto:pcsclite-muscle-bounces+fdimitriou=tmm-software....@lists.alioth.deb ian.org] De la part de Frank Morgner Envoyé : lundi 20 octobre 2014 10:14 À : [email protected] Objet : SPAM-LOW: Re: [Pcsclite-muscle] SCardTransmit error with ISO-14443A tag -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 APDU: 0xff, 0xca, 0x00, 0x00, 0x00 R-APDU: UID, 0x90, 0x00 It is only an optional requirement for the reader to implement this command. On Monday, October 20 at 09:53AM, Fabrice DIMITRIOU wrote: > Hi, > > Thanks a lot for your answer. > > Can you depict precisely the command to use in order to retrieve the UID of > the card? > > 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 > [email protected] > www.tmm-software.com > > > -----Message d'origine----- > De?: Pcsclite-muscle > [mailto:pcsclite-muscle-bounces+fdimitriou=tmm-software....@lists.alioth.deb > ian.org] De la part de Frank Morgner > Envoy??: jeudi 16 octobre 2014 16:51 > ??: [email protected] > Objet?: Re: [Pcsclite-muscle] SCardTransmit error with ISO-14443A tag > > Is this a valid APDU? > 01 09 00 03 04 A0 01 00 00 > > Do you want to read the UID of the card? There is a special command > defined in the PC/SC docs for this, but it starts with class byte 0xff > > Greets, Frank. > > On Thursday, October 16 at 10:18AM, Fabrice DIMITRIOU wrote: > > 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 <[email protected]>. > > > > Copyright (C) 2001-2008 by Ludovic Rousseau <[email protected]>. > > > > Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>. > > > > Report bugs to <[email protected]>. > > > > 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:[email protected]> [email protected] > > <http://www.tmm-software.com> www.tmm-software.com > > > > > > > > > > > > > > > _______________________________________________ > > Pcsclite-muscle mailing list > > [email protected] > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle > > -- > Frank Morgner > > Virtual Smart Card Architecture http://vsmartcard.sourceforge.net > OpenPACE http://openpace.sourceforge.net > IFD Handler for libnfc Devices http://sourceforge.net/projects/ifdnfc > > _______________________________________________ > Pcsclite-muscle mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle > > > > _______________________________________________ > Pcsclite-muscle mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle > - -- Frank Morgner Virtual Smart Card Architecture http://vsmartcard.sourceforge.net OpenPACE http://openpace.sourceforge.net IFD Handler for libnfc Devices http://sourceforge.net/projects/ifdnfc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQJ8BAEBCgBmBQJURMQ4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1QUQ1RjJCMjQ4M0IwQjUwMjQxOTFGMDI4 NTEyRTI3RUJGOUJDMTYyAAoJEIUS4n6/m8FixRkQAI4And9cnYBhjGJ4OD5wafoW mHmJkdzgVYoMxgHmOF+5p3qU1bJL7/VOy00UdGrmJ+1NQUIFtM04+LpLEbocY36f z/GtE9rtYq1QE4bl0jbvnAo25k6OCOA5n7kaf4buUUOqwCA6Qn06wIcsEXYoayNy JU0lUIeWe5tzWZcBIMNibfAiLEj5BYMY2m00+vjHlaUTek3PcvZ6k9miW7f6YYZl 7t2UeX6d7Sq7XXlwNNmbsowQfCYa+QoIjIXKAX3Qg4eA8vcq4ziKjjyNsYopZb+7 YAzg4ai4kMyL0FOzqWTIcTdCvMui5l71XxyWwVkylxW8VapJQrmaNNQhpv6OegzN 2se9vkfNJ+irmmUjam8QvOGdE39cl8Ql11rSzWDWzhMSS+5hScwqPXCeDfVrTVkb DeA/TJqOokErhqWat4UiJ0MXU16kGdpsoyOiDK2Zz21jbLPtuPQmhql8hBnawjaO NvHopj6mo02HolMl9cts6S3WgiHcZ+ACM5r/ZCqaCPI0WzS0XmLv3u27cy0Edeqb ziyuISzjLmlV63QsCSewOnQUR2FIrNcQWN8gzNo7yDGjvFBRZ9H/jq+pA2mCYhR6 MclR+onAmmAeY4POwHTBYs8I6Yoxo7N7VuajixZdrftIiQNTaCmkssP+fDOUJqOn Kjnw9dNqHpyfB9FQSQw/ =ARcr -----END PGP SIGNATURE----- _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
