> Hi Damien,
>     I don't know why my reply message never get posted on MUSCLE.
> So I choose to mail to you directly.
Thus I will post my answer to the list (CC) and I keep your lost message at the end.


> > Which is the version of PC/SC Lite used? Could you try the last version
> (or better the CVS
> > version) of PC/SC Lite [1] if you don't use it?
> > Which is the reader?
> > Which is the driver version?
> > Have you the same problems with an other reader?
>
> I'm using pcsc-lite(1.1.1). It should be the latest version, isn't it ?
No the latest stable version is the 1.2.0 available on [1]. There were many 
improvements since 
the version 1.1.1. You may also try the CVS version (i.e. the development version) of 
PC/SC 
Lite to do your tests.

> I'm going to develop & test my USB PC/SC reader on Linux.
Is it CCID compliant ? If yes there exist an open source driver also available on [1]
If I understand well you are a manufacturer of readers?
> I don't get another reader.
Could you try the validation kit with another readers supporting by PC/SC Lite?
Is there someone on the list that has the Validation Kit and who can try to get these 
problems? 


> > Do you think that the first problem is due to a bug is in the function
> > PHSetProtocol of PC/SC Lite?
> > Have you the same problem on Windows?
>
> yes, I think the problem is due to bug in the Validation Kit. It should NOT
> consider fail to connect to card with unsupported protocol as failure.
You think that the bug is IN the validation Kit or IN PC/SC Lite?
If you think that it is in PC/SC Lite could you submit a bug report of this problem or 
better a 
patch to fix it on [2]? To correct the bug we need to know exactly  where it is 
located (i.e. file, 
function, line, ... ) also used the pc/sc daemon in debug mode and provide us all the 
logs.

> The same problem is NOT found on MS-Windows. My reader had already
> passed the WHQL Smartcard Reader test on Windows platform.
Do you used the same Validation Kit on windows? If yes perhaps the bug is in PC/SC 
Lite.

Could you follow the same way for the second problem to report the bug?

[1] http://alioth.debian.org/projects/pcsclite/
[2] http://alioth.debian.org/tracker/?group_id=1225

> ----- Original Message -----
> From: "Tony Luk" <[EMAIL PROTECTED]>
> To: "MUSCLE" <[EMAIL PROTECTED]>
> Sent: Friday, April 23, 2004 10:39 AM
> Subject: Re: [Muscle] Siemens Card failed PC/SC Driver Validation Kit
> 
> 
> > Hi Damien,
> >     Thks for your reply. See my answers as below:-
> >
> > ----- Original Message -----
> > From: "Damien Sauveron" <[EMAIL PROTECTED]>
> > To: "MUSCLE" <[EMAIL PROTECTED]>
> > Sent: Friday, April 23, 2004 7:18 AM
> > Subject: Re: [Muscle] Siemens Card failed PC/SC Driver Validation Kit
> >
> >
> > > Hi Tony,
> > >
> > > > I'm going to use the PC/SC test suite cards and PC/SC Driver
> > > > Validation Kit(1.0.0) to test my PC/SC reader. However, I
> > > > find the Siemens card always failed the following 2 tests
> > > > with the validation kit. Did anyone find similar problems
> > > > and know the root causes ?
> > > Which is the version of PC/SC Lite used? Could you try the last version
> > (or better the CVS
> > > version) of PC/SC Lite [1] if you don't use it?
> > > Which is the reader?
> > > Which is the driver version?
> > > Have you the same problems with an other reader?
> >
> > I'm using pcsc-lite(1.1.1). It should be the latest version, isn't it ?
> >
> > I'm going to develop & test my USB PC/SC reader on Linux.
> > I don't get another reader.
> >
> > >
> > >
> >
> > -------------------------------------------------------------------------
> > > > 1. failed the "Try to set protocol T0" test
> > > >    - as I studied the "testSIEMENS.c" file in the Validation Kit,
> > > >      it's the returned value(= -1) of "protocol" parameter of
> > > >      "SCardReconnect" function, that causes the failure.
> > > >
> > > >         printit( "Try to set protocol T0" );
> > > >         rv = SCardReconnect( hCard,
> > > >                              SCARD_SHARE_SHARED,
> > > >                              SCARD_PROTOCOL_T0,
> > > >                              SCARD_RESET,
> > > >                              &protocol );
> > > >
> > > >         if( rv != SCARD_S_SUCCESS )
> > > >         {
> > > >             myprintf( "Failed\n" );
> > > >             return -1;
> > > >         }
> > > >
> > > >         myprintf( "%s\n", ((protocol == 2) ? "Passed" : "Failed") );
> > > >
> > > >    - as I studied the "prothandler.c" file in PCSC Lite, it's the
> > > >      "PHSetProtocol" function which changes the content of "rContext->
> > > >      dwProtocol" to -1 (for setting T=1 Simens card to T=0 protocol).
> > > >      In turn, it makes "SCardReconnect" function(in the Validation
> Kit)
> > > >      returns -1 in "protocol" parameter.
> > > >
> > > >    - the above failure seems nothing to do with my device driver.
> > > Do you think that the first problem is due to a bug is in the function
> > PHSetProtocol of PC/SC
> > > Lite?
> > > Have you the same problem on Windows?
> >
> > yes, I think the problem is due to bug in the Validation Kit. It should
> NOT
> > consider fail to connect to card with unsupported protocol as failure.
> >
> > The same problem is NOT found on MS-Windows. My reader had already
> > passed the WHQL Smartcard Reader test on Windows platform.
> >
> > >
> > >
> >
> > -------------------------------------------------------------------------
> > > > 2. failed the "WRITE BINARY 255 bytes" test in "Test No. 5"
> > > >    - as I compared the T=1 TPDU commands & responses of my device
> > drivers
> > > >      on Linux & MS-Windows, they'd exchanged the same data in the same
> > > >      sequence. But, the test program on MS-Windows returns passed,
> while
> > > >      the validation kit on Linux returns failed. See my test logs as
> > > >      below.
> > > Here, it is too late to understand the log I think ;-)
> > > Good night!
> >
> > I think the problem may also due to bug in the Validation Kit. It's the
> > "neg"
> > parameter in DO_TRANSMIT function (in testSIEMENS.c file of the
> > Validation Kit) wrongly set to 1.
> >
> > >
> > > [1] http://alioth.debian.org/projects/pcsclite/
> > >
> > > Best Regards,
> > > --
> > > Damien Sauveron
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > > _______________________________________________
> > > Muscle mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.drizzle.com/mailman/listinfo/muscle

Best Regards,
--
Damien Sauveron



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to