2011/5/4 Wolfgang Rosenauer <[email protected]>:
> Hi,
>
> On Wed, May 4, 2011 at 11:11 AM, Ludovic Rousseau
> <[email protected]> wrote:
>> 2011/5/4 Wolfgang Rosenauer <[email protected]>:
>>> Hi,
>>>
>>> it seems that my combination of pcsc-lite and the ifd handler for my
>>> cardreader works basically.
>>> Using pcsc_scan I can see when a card is inserted and running "Card 
>>> connected".
>>>
>>> I'm using an application though which is supposed to use PC/SC to
>>> access smartcards which fails.
>>> I can select the reader so communication between the app and pcsc
>>> works for that but running pcscd -d shows failed messages about
>>> failing PHSetProtocol with error code 613 which seems to be
>>> IFD_RESPONSE_TIMEOUT.
>>>
>>> I'm wondering what that error means and which part of the stack is
>>> actually failing. Any hints?
>>
>> This is an error from the driver (ifd handler) so you should look into
>> its source code.
>> Or report the bug to the driver author.
>
> Thanks for the hint. I actually did some more testing and found that
> the issue is caused by the fact that my system looks like this:
>
> APP(32bit) -> libpcsclite.so.1(32bit) -> pcscd(64bit) -> ifd-handler(64bit)
>
> Everything works fine using the same versions of the stack if
> everything is32bit.
>
> Actually I wouldn't have expected that this is an issue. Actually I
> tried to simulate that by using pcsc_scan as 32bit app against the
> 64bit stack which worked fine. So is that type of error expected in
> the above scenario?

A 32-bits libpcsclite.so.1 should work with a 64-bits pcscd (if they
both comes from the same version of pcsc-lite).

Again the IFD_RESPONSE_TIMEOUT comes from the driver. I don't see the
relation with a 32/64 bits libpcsclite/pcscd issue.

Bye

-- 
 Dr. Ludovic Rousseau

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

Reply via email to