Re: pcscd support for Class 2 SPE for Cherry SmartBoard xx44

Anand Renju <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAOa=gDLrj0bYGaVcaqLAbpvVrB7UAhbMvjFr5NfcS1PyBxF_Xw@mail.gmail.com>
This happens not only with CM_IOCTL_GET_FEATURE_REQUEST, but for other
FEATURE_XXX control codes also. Windows gives totally different magic
values for Part10 features / SPE.  We need to have some conversion to make
pcsc-lite in Linux to understand these.

-Thanks,
-Renju


On Fri, Aug 23, 2013 at 7:42 PM, Ludovic Rousseau <
[email protected]> wrote:

> 2013/8/23 Martin Paljak <[email protected]>:
> > On Thu, Aug 22, 2013 at 11:02 PM, Ludovic Rousseau
> > <[email protected]> wrote:
> >> The ControlCode: 0x313520 is not know and the application get an error
> code.
> >>
> >> From [1]:
> >> " Thanks again: you were correct on the control code
> (SCARD_CTL_CODE(3400) =
> >> 0x42000D48 under Linux and 0x313520 under Windows) issue: I do get my
> list of
> >> features now "
> >>
> >> Are you using a remote desktop application with a Windows application
> >> running on a server?
> >
> > But isn't the only solution in this case to have "binary
> > compatibility" AKA same magic constants?
>
> It would be the perfect solution.
> But the value of SCARD_CTL_CODE(3400) is not documented anywhere. So I
> had to chose one. Yes, I could have written a Windows program to get
> the value under Windows. But I do not use Windows.
>
> > For sake of compatibility
> > with remote desktop clients maybe even supporting two base constants
> > in parallel would make sense ?
>
> I think it is the job of rdesktop and other RDP clients to convert the
> values between the 2 worlds.
> I just added support of the windows value 0x313520 in the CCID driver
> revision 6739.
>
> But the problem should be elsewhere since the same application worked
> with pcsc-lite 1.6.4.
>
> Bye
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
>

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.