I have pcscd version 1.7.4 installed on Ubuntu. I am writing an IFD that implements TAG_IFD_POOLING_THREAD_WITH_TIMEOUT
I added some debug logs, as seen below, and I still see the pcscd daemon printing "Using the pcscd polling thread" I return IFD_SUCCESS, and set *Length = sizeof(fn*) which is 8. I looked at the source code, and it appears that it checks the response value and *Length. Response should be SCARD_SUCCESS and the *Length should be 8. However, it doesn't seem to take that branch. I see it gets called twice in readerfactory.c and both code blocks are similar. Any ideas? out/ifd_jni/ifd_entry.c-callIFDHGetCapabilities()-377: TAG_IFD_POLLING_THREAD_WITH_TIMEOUT out/ifd_jni/ifd_entry.c-callIFDHGetCapabilities()-382: requested size: 8 out/ifd_jni/ifd_entry.c-callIFDHGetCapabilities()-386: Enabling poll fn pointer: 0x7f73c7568f78 - 0x7f73c7568f78 - 8 out/ifd_jni/ifd_entry.c-IFDHGetCapabilities()-674: Exit: 0 00255688 readerfactory.c:290:RFAddReader() Using the pcscd polling thread out/ifd_jni/ifd_entry.c-IFDHICCPresence()-725: Enter: Lun: 0 TAG $ pcscd -v pcsc-lite version 1.7.4. Copyright (C) 1999-2002 by David Corcoran <[email protected]>. Copyright (C) 2001-2011 by Ludovic Rousseau <[email protected]>. Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>. Report bugs to <[email protected]>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d -- Respectfully, William C Roberts
_______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
