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

Ludovic Rousseau ludovic.rousseau
Thu Jun 30 02:15:31 PDT 2016


2016-06-30 10:15 GMT+02:00 William To <william.to at erg.com.hk>:
> Hi All,

Hello,

> I have built the updated pcsc-lite (1.8.14), ccid (1.4.20) and libusb
> (1.0.20) for 32 and 64 bits using the source repository from Ivo.
>
> However this is what I got from the foreground debug output:
>
>  sudo pcscd --debug --foreground
[...]
> /export/home/wto/solaris-userland~gate/components/pcsc-lite/pcsc-lite-1.8.14/src/readerfactory.c:898:()
> Loading IFD Handler 3.0
> /export/home/wto/solaris-userland~gate/components/pcsc-lite/pcsc-lite-1.8.14/src/readerfactory.c:1043:()
> Open Port 0x200000 Failed (usb:04e6/5810:libusb-1.0:235:2:0)

It is strange that you get NO log message from the CCID driver.

I had a quick lock at
https://java.net/projects/solaris-userland/sources/gate/show/components/ccid
and https://java.net/projects/solaris-userland/sources/gate/show/components/pcsc-lite
but could not find an explanation.

Libccid calls log_msg() and log_xxd() functions exported by pcscd to
log messages.
You should have a look in this direction.

Log messages from the CCID driver would greatly help debug the problem.

Bye

-- 
 Dr. Ludovic Rousseau




More information about the pcsclite-muscle mailing list