On Thu, Apr 30, 2009 at 14:25, Ludovic Rousseau
<ludovic.rouss...@gmail.com> wrote:
> 2009/4/29 João Poupino <joao.poup...@data.identity.pt>:
>> On 29/4/09 12:10, Ludovic Rousseau wrote:
>>> If you do not restart pcscd then the next "pkcs15-tool -D" fails?
>>
>> Yes, exactly.
>>
>>> Can you start pcscd and generate a pcscd log for the 2 "pkcs15-tool -D"?
>>
>> Sure, I've attached it to this message.
>
> I confirm it is a hardware problem with your token. The token needs a
> cold reset instead of a warm reset to continue working (or no reset at
> all).
>
> You should be able to use it with OpenSC by setting the parameter
> "connect_reset = false;" in your opensc.conf file so the card will not
> be reseted instead of a warm reset.
> Maybe the connect_reset parameter should have 3 possible values:
> SCARD_LEAVE_CARD (false), SCARD_RESET_CARD (true), SCARD_UNPOWER_CARD
> (not possible now).

This has been fixed in r4891 [1]. All actions that can reset the card
can be configured to be one of the three options: leave, reset,
unpower.

[1] http://www.opensc-project.org/opensc/changeset/4891
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to