[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:32:58 PDT 2016


Hi All,
Versions

   - CCID driver version  <-- 1.3.13
   - pcsc-lite version      <-- 1.6.1
   - smart card reader name    <-- identive 2700 R (04e6:5810)
   - the output of the command "/usr/sbin/pcscd --version"

pcsc-lite version 1.6.1.
Copyright (C) 1999-2002 by David Corcoran <corcoran at linuxnet.com>.
Copyright (C) 2001-2010 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: Solaris i386-pc-solaris2.11 serial usb libusb
usbdropdir=/usr/local/pcsc/drivers debugatr ipcdir=/var/run/pcscd
sysconfdir=/usr/local/etc
Platform

   - Operating system or GNU/Linux distribution name and version   <--
   Solaris 11.3
   - Smart card middleware name and version  <-- ??
   - Reader manufacturer name and reader model name  <-- identive 2700 R
   (04e6:5810)
   - Smart card name  <-- ACOS5-64

Issue: whenever pcscd is started with the card reader plugged in to usb
port, and smart card plugged into the card reader slot, the pcscd does not
recognize the currently inserted smart card, and require manual
remove/insert cycle to recognize it.

Log:

00000000 debuglog.c:277:() debug level=debug
00000057 debuglog.c:306:() Debug options: APDU
00000379 configfile.l:282:() Parsing conf file: /usr/local/etc/reader.conf
00000033 pcscdaemon.c:528:() pcsc-lite 1.6.1 daemon ready.
00354708 hotplug_libusb.c:500:() Adding USB device: /dev/usb:4e6.5810/0
00012960 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
00000514 readerfactory.c:849:() Loading IFD Handler 3.0
00000139 ifdhandler.c:1715:() Driver version: 1.3.13
00000428 ifdhandler.c:1728:() LogLevel: 0x0003
00000035 ifdhandler.c:1738:() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000407 ifdhandler.c:1748:() DriverOptions: 0x0000
00000046 ifdhandler.c:82:() lun: 0, device:
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000037 ccid_usb.c:167:() Reader index: 0, Device:
usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000635 ccid_usb.c:284:() Manufacturer: Ludovic Rousseau (
ludovic.rousseau at free.fr)
00000391 ccid_usb.c:294:() ProductString: Generic CCID driver
00000394 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.
00029684 ccid_usb.c:395:() Checking device: /dev/usb/4e6.5810/0
00000030 ccid_usb.c:449:() Trying to open USB bus/device:
/dev/usb/4e6.5810/0
00000123 ccid_usb.c:512:() Found Vendor/Product: 04E6/5810 (Identive CLOUD
2700 R Smart Card Reader)
00000032 ccid_usb.c:515:() Using USB bus/device: /dev/usb/4e6.5810/0
00000033 ccid_usb.c:978:() request: 0x03
00006070 receive:
00000114 ccid_usb.c:921:() IFD does not support GET_DATA_RATES request: I/O
error
00011870 ccid_usb.c:1003:() before (0)
^C03561153 pcscdaemon.c:649:() Received signal: 2
00000041 pcscdaemon.c:654:() Preparing for suicide

Thanks very much and Best Regards

William To




On Fri, Jun 17, 2016 at 4:20 PM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:

> 2016-06-17 10:07 GMT+02:00 William To <william.to at erg.com.hk>:
>
>> Hi All,
>>
>
> Hello,
>
>
>>
>> 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.
>>
>
> Can you please provide _all_ the information as listed in
> http://pcsclite.alioth.debian.org/ccid.html#support ?
>
> Thanks
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160617/fa4d661d/attachment-0001.html>



More information about the pcsclite-muscle mailing list