[Pcsclite-muscle] ccid 1.3.13 IFD require manual smart card remove/insert to recognize the currently inserted smart card
William To
william.to
Sat Jun 18 17:14:06 PDT 2016
Hi All,
On Fri, Jun 17, 2016 at 7:15 PM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:
>
>
> 2016-06-17 10:32 GMT+02:00 William To <william.to at erg.com.hk>:
>
>> 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
>>
>
> I do not see any CCID communication in your trace.
> I do not see any call to IFDHICCPresence().
>
If I start pcscd with the card inserted into the reader and with the reader
inserted to the usb port.
>
> Have you modified pcsc-lite and/or libccid to get them compile on Solaris?
> If yes, what are the modifications?
>
I didn't modify the source code. I only modified the Info.plist and added
the support for the card reader.
>
> The log line:
> 00000087 readerfactory.c:273:() Using the pcscd polling thread
> was present in your first log but is no more present here. Do you use the
> same versions of pcsc-lite and libccid in the 2 log traces?
>
> The first log was generated with the manual card removal/insertion.
> Did you have a smart card inserted when you generated the trace?
>
For both logs, card is inserted before pcscd starts. The second part of
first log was generated when card is manually removed and inserted.
>
> Bye
>
> --
> 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/20160619/054d2de1/attachment.html>
More information about the pcsclite-muscle
mailing list