Hello,

I'm new to this list and no driver developer, but being a regular smartcard 
user I would like to improve its usage with Linux.

I would like to report a problem with the ccid bundle driver using the 
smartcard reader Cherry ST-2000, and also a solution I have found.

Using the bundled ccid driver libccid.so with either one of my smartcards, 
access to the reader results in very long delays and timeouts communicating 
with the reader. Most of the time the transactions succeed nevertheless, 
unless the client application runs into a timeout error before.

Once attaching strace -f to the pcscd process everything works fine. Without 
the -f option the problem persists, so I assumed this might have to do with 
forking subprocesses.

I played around a bit to find the reason; the solution I have found so far is 
to start the pcscd process with with SCHED_FIFO, then it works ok.

I don't have this problem with two other (vendor-specific) drivers from cherry 
for the same reader (which has other downsides, though) and from Reiner-SCT 
for their pinpad reader (which is open source).

System environment:
OpenSuSE 11.4 (Kernel 2.6.37 x86_64) on AMD64
pcsc-lite 1.8.0
pcsc-ccid 1.4.5
Is anything else needed?

If this is really a problem in the driver (libccid), I hope this information 
helps for further development. Otherwise I'd appreciate any feedback that 
helps to narrow down the problem.

And of course I can perform tests and provide debug output as needed.

Regards,
Eduard.
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to