[Pcsclite-muscle] SPAM-LOW: Re: SCardTransmit error with ISO-14443A tag
Frank Morgner
morgner
Mon Oct 20 07:03:09 PDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
As said before, this may be a limitation of your reader. Try using a
CCID compliant reader:
http://pcsclite.alioth.debian.org/ccid/
On Monday, October 20 at 01:39PM, Fabrice DIMITRIOU wrote:
> 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
> fdimitriou at tmm-software.com
> www.tmm-software.com
>
>
>
> -----Message d'origine-----
> De?: Pcsclite-muscle
> [mailto:pcsclite-muscle-bounces+fdimitriou=tmm-software.com at lists.alioth.deb
> ian.org] De la part de Frank Morgner
> Envoy??: lundi 20 octobre 2014 10:14
> ??: pcsclite-muscle at lists.alioth.debian.org
> Objet?: SPAM-LOW: Re: [Pcsclite-muscle] SCardTransmit error with ISO-14443A
> tag
>
> 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
> > fdimitriou at tmm-software.com
> > www.tmm-software.com
> >
> >
> > -----Message d'origine-----
> > De?: Pcsclite-muscle
> >
> [mailto:pcsclite-muscle-bounces+fdimitriou=tmm-software.com at lists.alioth.deb
> > ian.org] De la part de Frank Morgner
> > Envoy??: jeudi 16 octobre 2014 16:51
> > ??: pcsclite-muscle at lists.alioth.debian.org
> > 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 <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
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > > _______________________________________________
> > > Pcsclite-muscle mailing list
> > > Pcsclite-muscle at lists.alioth.debian.org
> > > 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
> > Pcsclite-muscle at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
> >
> >
> >
> > _______________________________________________
> > Pcsclite-muscle mailing list
> > Pcsclite-muscle at lists.alioth.debian.org
> > 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
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
>
>
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> 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)
iQJ8BAEBCgBmBQJURRYdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1QUQ1RjJCMjQ4M0IwQjUwMjQxOTFGMDI4
NTEyRTI3RUJGOUJDMTYyAAoJEIUS4n6/m8FiBzAQAMdiWAObcD28UdZBryMaFCir
UIon4jnRA1RxcZYaxrJeUcXJznJQuON7aK1WojA4ey8Mvxuj8fSoNmDYTaeI6tCw
F/CGp6I7OA3k2h0e+H1VE1Jq/DiRQw8L05EnPL6Z9H1iMn+PRKN7Z4C9oa2wp9Xz
+/UnzqCCB57GwfCBZbjl7a13kTajFZ2FzdvX3pJxHU7STKlDyZ/uZdagWrVTWJ0A
A0+ZyW07Hy/aosKh/FfmajqCWSDiyXHWQOm3mgZocYLSYZT8c4qEKq5xHCNDAdUl
Nr5J+OamOGbxzGhPsUeO71pUabEn2/P42dPpjR/MevbZendQ328hkpJTGJBWhNsL
LPSDOKR2uAm3XH2lP0/YwrgT5TjlyD8bzjpPmiSHpu5niif1WiiS91lhFUTyEtJE
y5v+wF7ihyQW45+hWJRiIQCB3aJ2ZEwpRiGiGhRDrPATrpBzES54JWCnrxRB+stK
dASiSTyGzcsSa9UFpE4spCrICJglyl4JX75H3P9nEmDDyMc0HLRRRVLYDelojvJa
/QfsjUzQ8p5Rt0JCk0VQasDUdkVPZftD4d00rA/UtlUiKM04CQZF+/amxEF3kofB
eLkg7IwjOyex4H2LlFACwhEYyfUfhyfYTRcIRwTZREeFhiyn8CrqKdIq8Zx7yF/s
hzSCUSiSZsAuj+6++wL6
=W298
-----END PGP SIGNATURE-----
More information about the pcsclite-muscle
mailing list