Topic: Omnikey 5321 // "Card not transacted"
Hi,
I've got several problems with libnfc suite, like nfc-list.
# nfc-list
Error connecting NFC reader
Note: Pcsc-Tools and RFIDiot tools, work ok.
First, I install libnfc 1.2.1 version because the configure of tk-libnfc-crapto1, checks "/usr/local/include/libnfc/libnfc.h", and that in v1.3.3 not exist (only in v1.2.1 and older)
### System Information ###
# Operating system name and version
Debian Squeeze
Kernel: 2.6.32-trunk-686
# CCID driver version
ii libccid 1.3.11-1
# Libnfc version
Libnfc 1.2.1
# pcsc-lite version
pcsc-lite version 1.5.5.
Copyright (C) 1999-2002 by David Corcoran <corcoran@linuxnet.com>.
Copyright (C) 2001-2008 by Ludovic Rousseau <ludovic.rousseau@free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron@labri.fr>.
Report bugs to <muscle@lists.musclecard.com>.
Enabled features: Linux libusb usbdropdir=/usr/lib/pcsc/drivers/ confdir=/etc ipcdir=/var/run/pcscd
# Smart card reader name
Omnikey 5321 USB
#pcscd Output
#LIBCCID_ifdLogLevel=0x0007
#export LIBCCID_ifdLogLevel
#pcscd --foreground --debug --apdu
Command : nfc-list (with mifare 1k on the reader)
21084773 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel packet arrival
00000050 winscard_msg_srv.c:248:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 6
00000018 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation is requested: 6
00000128 winscard_svc.c:133:ContextThread() Thread is started: 6
00000057 winscard_msg_srv.c:317:SHMProcessEventsContext() command CMD_VERSION received by client 6
00000017 winscard_svc.c:189:ContextThread() Client is protocol version 3:0
00000109 winscard_msg_srv.c:317:SHMProcessEventsContext() command ESTABLISH_CONTEXT received by client 6
00000053 winscard.c:242:SCardEstablishContext() Establishing Context: 16996721
00000241 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT received by client 6
00000024 winscard.c:303:SCardConnect() Attempting Connect to OMNIKEY CardMan 5x21 (OKCM0073112091411341649640022729) 00 00 using protocol: 3
00000017 winscard.c:362:SCardConnect() Card Not Inserted
00000127 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT received by client 6
00000018 winscard.c:303:SCardConnect() Attempting Connect to OMNIKEY CardMan 5x21 (OKCM0073112091411341649640022729) 00 00 using protocol: 0
00000015 winscard.c:454:SCardConnect() Direct access: no protocol selected
00000016 winscard.c:461:SCardConnect() hCard Identity: 10670
00061589 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONTROL received by client 6
00000050 ifdwrapper.c:638:IFDControl() Card not transacted: 606
00000017 ifdwrapper.c:640:IFDControl() ControlCode: 0x003136B0 BytesReturned: 8389420
00000018 TxBuffer FF 00 48 00 00
00000010 RxBuffer
00000138 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT received by client 6
00000019 winscard.c:303:SCardConnect() Attempting Connect to OMNIKEY CardMan 5x21 (OKCM0073112091411341649640022729) 00 01 using protocol: 3
00000018 prothandler.c:128:PHSetProtocol() Attempting PTS to T=1
00000036 winscard.c:451:SCardConnect() Active Protocol: T=1
00000018 winscard.c:461:SCardConnect() hCard Identity: 2783a
00043037 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 6
00000028 winscard.c:1651:SCardTransmit() Send Protocol: T=1
00000017 APDU: FF 00 48 00 00
00000319 SW: 00 00 00 00 00 00 00 00 00 00 00
00000018 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612
00000014 winscard.c:1675:SCardTransmit() Card not transacted: 0x80100016
00002425 winscard_msg_srv.c:306:SHMProcessEventsContext() Client has disappeared: 6
00000028 winscard_svc.c:146:ContextThread() Client die: 6
00000016 winscard.c:253:SCardReleaseContext() Releasing Context: 16996721
00000015 winscard.c:884:SCardDisconnect() Active Contexts: 1
00054553 winscard.c:884:SCardDisconnect() Active Contexts: -1
00004959 winscard.c:945:SCardDisconnect() Reset complete.
---
Any help with this errors ?
Many thanks.
Last edited by phr0nak (2010-03-02 13:29:43)