Re: [opensc-devel] Applications hanging after Changeset 3683

2009-04-30 Thread Ludovic Rousseau
2009/4/29 João Poupino :
> 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).

I moved the token from the "should work" to the "unsupported or partly
supported" list with a reference to this thread.

Thanks

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Applications hanging after Changeset 3683

2009-04-30 Thread João Poupino

On 30/4/09 12:25, Ludovic Rousseau wrote:

2009/4/29 João Poupino:
   

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.
   
That's the workaround I'm using on OS X and Linux. Strangely, Windows 
works fine without it though...

Maybe the connect_reset parameter should have 3 possible values:
SCARD_LEAVE_CARD (false), SCARD_RESET_CARD (true), SCARD_UNPOWER_CARD
(not possible now).

I moved the token from the "should work" to the "unsupported or partly
supported" list with a reference to this thread.

Thanks

   

Thank you very much for all the support!

Regards,
Joao

--
João Poupino - joao.poup...@data.identity.pt
Data Identity - IT Services
Taguspark, Núcleo Central, nº 208
2744-005 Porto Salvo
Portugal

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

Re: [opensc-devel] Applications hanging after Changeset 3683

2009-04-30 Thread Ludovic Rousseau
2009/4/30 João Poupino :
> That's the workaround I'm using on OS X and Linux. Strangely, Windows works
> fine without it though...

Mac OS X and Linux share the same CCID driver (mine).
Do you know if you are using the Microsoft CCID class driver or a
driver from Aladin?

Bye

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Applications hanging after Changeset 3683

2009-04-30 Thread João Poupino
On 30/4/09 15:27, Ludovic Rousseau wrote:
> 2009/4/30 João Poupino:
>> That's the workaround I'm using on OS X and Linux. Strangely, Windows works
>> fine without it though...
>
> Mac OS X and Linux share the same CCID driver (mine).
> Do you know if you are using the Microsoft CCID class driver or a
> driver from Aladin?
>
> Bye
>

I'm using Microsoft's driver. More information:

USB Smart Card reader
Driver Provider: Microsoft
Driver Date: 21-06-2006
Driver Version: 6.0.6001.18000
Digital Signer: microsoft windows
Driver file: C:\Windows\system32\DRIVERS\usbccid.sys

Thank you.

Regards,
Joao

-- 
João Poupino - joao.poup...@data.identity.pt
Data Identity - IT Services
Taguspark, Núcleo Central, nº 208
2744-005 Porto Salvo
Portugal
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel