Hello Ludovic, Well I have been looking into this and have some issues with compiling the code. The CCID driver version from trunk requires pcsc-lite version 1.6.5, which I don't have, so I need to compile that too.
We usually use only the versions that are distributed with ubuntu, which means that they are quite old. Have not compiled the pcsc-lite or CCID before. I'm having trouble finding the information on how to compile it. For the CCID driver I found it, but not for pcsc-lite. Kind regards, Toni > -----Original Message----- > From: Ludovic Rousseau [mailto:ludovic.rouss...@gmail.com] > Sent: 20. tammikuuta 2011 21:56 > To: Aventra > Cc: opensc-devel > Subject: Re: [opensc-devel] Misleading information about capabilities of > readers > > Hello "Aventra", > > I did not get any reply to my mail. > Does the patch works for you? > > Thanks > > 2011/1/13 Ludovic Rousseau <ludovic.rouss...@gmail.com>: > > 2011/1/13 Aventra <developm...@aventra.fi>: > >> Hi, > >> > >> Sorry, a typo when doing logging... > >> Attached is a new log. > > > > Found the bug (I think). > > > > The CCID driver calculate a timeout accordings to the card ATR. In > > your case the timeout is 1428 ms rounded to 2 seconds. > > Log says: > > 00000007 ifdhandler.c:791:IFDHSetProtocolParameters() Timeout: 2 seconds > > > > The same timeout is used by the reader and by the CCID driver. I think > > the CCID driver (libusb in fact) triggers its timeout just before the > > reader does. So the driver do not get the reader error message. > > > > Patch to try: > > in src/ifdhandler.c edit the function T1_card_timeout() (at the end of the > file) > > and replace > > return timeout; > > by > > return timeout+1; > > > > Then regenerate a log again. > > > > Thanks > > -- > Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel