[Pcsclite-muscle] ccid 1.3.13 IFD require manual smart card remove/insert to recognize the currently inserted smart card

William To william.to
Fri Jun 17 01:07:19 PDT 2016


Hi All,

I managed to successfully use the Identive CLOUD 2700 R smart card reader
on an old version combination pcsc-lite 1.6.1  and ccid-1.3.13 under
Solaris 11. The smart card I use is the ACOS5-64.

However I found an issue that is affecting normal operations and require me
to manually remove and reinsert the smart card so that it gets recognized
correctly.

Here is the debug output from the pcscd when I started it with a smart card
in the slot.

00000000 debuglog.c:277:() debug level=debug
00000390 configfile.l:282:() Parsing conf file: /usr/local/etc/reader.conf
00000039 pcscdaemon.c:528:() pcsc-lite 1.6.1 daemon ready.
00379524 hotplug_libusb.c:500:() Adding USB device: /dev/usb:4e6.5810/0
00013976 readerfactory.c:979:() Attempting startup of Identive CLOUD 2700 R
Smart Card Reader (53691433210867) 00 00 using
/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Solaris/libccid.so
00000495 readerfactory.c:849:() Loading IFD Handler 3.0
00000136 ifdhandler.c:1715:() Driver version: 1.3.13
00000451 ifdhandler.c:1728:() LogLevel: 0x0003
00000400 ifdhandler.c:1748:() DriverOptions: 0x0000
00000044 ifdhandler.c:82:() lun: 0, device:
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000679 ccid_usb.c:284:() Manufacturer: Ludovic Rousseau (
ludovic.rousseau at free.fr)
00000390 ccid_usb.c:294:() ProductString: Generic CCID driver
00000389 ccid_usb.c:300:() Copyright: This driver is protected by terms of
the GNU Lesser General Public License version 2.1, or (at your option) any
later version.
00029691 ccid_usb.c:512:() Found Vendor/Product: 04E6/5810 (Identive CLOUD
2700 R Smart Card Reader)
00000033 ccid_usb.c:515:() Using USB bus/device: /dev/usb/4e6.5810/0
*00005407 ccid_usb.c:921:() IFD does not support GET_DATA_RATES request:
I/O error*

The subsequent output is present when I manually removed and then
reinserted the smart card:

99999999 ifdhandler.c:394:() tag: 0xFB0,
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 readerfactory.c:273:() Using the pcscd polling thread
00003991 ifdhandler.c:394:() tag: 0xFAE,
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000074 ifdhandler.c:483:() Reader supports 1 slot(s)
00000043 hotplug_libusb.c:410:() Driver ifd-ccid.bundle does not support
IFD_GENERATE_HOTPLUG. Using active polling instead.
00000028 hotplug_libusb.c:420:() Polling forced every 1 second(s)
00007750 ifdhandler.c:1134:() action: PowerUp,
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00171119 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000067 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000022 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000022 atrhandler.c:153:() T=0 Protocol Found
00000022 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000022 Card ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00

The smart card operation will only work after this point.

I wonder whether there is anything to do with the I/O error for
GET_DATA_RATES such that the card inserted when pcscd starts is not powered
on.

I can't really do remove/insert every time because the card reader would be
placed inside the computer case for security reasons.

Thanks very much and Best Regards

William To
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160617/865a18f2/attachment.html>



More information about the pcsclite-muscle mailing list