logo       

Re: CCID problem on OSX 10.2.8: msg#00052

lib.muscle

Subject: Re: CCID problem on OSX 10.2.8


> I found the reason why "pcscd -a" did not work on my computer. There was an
> old version (1.1.1) of pcscd installed in /usr/sbin.
Grrr! The next time I will ask an output of "pcscd -v"

> If I plug in a reader pcscd tells me:
>
> hotplug_libusb.c:344 Adding USB device: 001:002
> readerfactory.c:1391 RFInitializeReader: Attempting startup of Omnikey
> CardMan 2020 0 0.
> readerfactory.c:245 RFAddReader: Omnikey CardMan 2020 init failed.
>
> This is the same with the SPR532 reader.
>
> What can be wrong now?
I have no enough information to help you. But the problem seems provide from
readerfactory.c
In this file locate and replace this code :
/******************************************/
/*
* This section loads the library
*/
/******************************************/
rv = RFLoadReader(rContext);
if (rv != SCARD_S_SUCCESS)
{
return rv;
}

/*******************************************/
/*
* This section binds the functions
*/
/*******************************************/
rv = RFBindFunctions(rContext);

if (rv != SCARD_S_SUCCESS)
{
RFUnloadReader(rContext);
return rv;
}
by :
/******************************************/
/*
* This section loads the library
*/
/******************************************/
rv = RFLoadReader(rContext);
if (rv != SCARD_S_SUCCESS)
{
DebugLogA("I can't load the library.");
return rv;
}

/*******************************************/
/*
* This section binds the functions
*/
/*******************************************/
rv = RFBindFunctions(rContext);

if (rv != SCARD_S_SUCCESS)
{
DebugLogA("I can't bind the function.");
RFUnloadReader(rContext);
return rv;
}

Compile again PC/SC Lite, install it and test it again "pcscd -a -f -d stdout".
After this send us
ALL the log.
I think that the problem provides from the loading of the library.

Regards,

Damien Sauveron


>
> thanks in advance
>
> Stefan
>
> Am 29.10.2003 15:59 Uhr schrieb "Damien Sauveron" unter <sauveron@xxxxxxxx>:
>
> > There is a bug in the printing of the "usage", I will correct this.
> > But after the usage there is a detail of the options and "-a" is
> > present. I have verified it in the code.
> >
> > See "pcscd -h"
> >
> > Perhaps try the --apdu
> >
> > Damien Sauveron
> >
> >
> > sh wrote:
> >
> >> If I start
> >>
> >> pcscd -a -f -d stdout
> >>
> >> I get the following error:
> >>
> >> pcscd: illegal option -- a
> >> Usage: pcscd [-c file] [-f] [-d output] [-v] [-h]
> >>
> >>
> >> Stefan
> >>
> >> Am 29.10.2003 15:31 Uhr schrieb "Damien Sauveron" unter
> <sauveron@xxxxxxxx>:
> >>
> >>
> >>> pcscd -a -f -d stdout
> >>>
> >>
> >> _______________________________________________
> >> Muscle mailing list
> >> Muscle@xxxxxxxxxxxxxxxxxxxx
> >> http://lists.musclecard.com/mailman/listinfo/muscle
> >>
> >
>
> _______________________________________________
> Muscle mailing list
> Muscle@xxxxxxxxxxxxxxxxxxxx
> http://lists.musclecard.com/mailman/listinfo/muscle
>




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise