Hi Ludovic and all,

Thus wrote Ludovic Rousseau (ludovic.rouss...@gmail.com):

> > The token is detected by pcscd, it's powered when I plug it in. However,
> > it's unpowered immediately after reading the ATR.

> This is the expected behavior since pcsc-lite 1.6.5
> See http://ludovicrousseau.blogspot.fr/2010/10/card-auto-power-on-and-off.html

thanks, I wasn't aware of this.

> > Therefore, it's not
> > visible with opensc-tool -l or similar.

> Why do you think this is related to the power off?

> What is the output of "opensc-tool -l"?

I ran strace on opensc-tool -l and found the issue: opensc-tool could
not locate libpcsclite.so.1 and could therefore not connect to pcscd.
(I do not use the default paths)

To fix this, I set the full path to the lib in opensc.conf

   reader_driver pcsc {
      [...]
      provider_library = /path/to/my/libpcsclite.so.1
   }

Now the epass is recognized
martin@host:~$ opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Feitian ePass2003 00 00

Thanks again,

   Martin
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to