|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[Muscle] PCSC Lite 1.1.1 - usb ports.
From: Alexandre Afonso Domingues (alexandre.domingues
link.pt)
Date: Fri Jul 25 2003 - 08:21:13 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm using pcsc lite version 1.1.1 and there is something i found thats strange.
I have 2 USB slots on my pc, and i'm using Red Hat 7.1 and when i plug in a reader in the second slot pcsc does not recognize it...
i'm using the testpcsc.c program that comes with the instalation pack, and I have de drivers installed in /usr/local/pcsc/drivers/ . By the way the readers is scr331 from scm.
here is the code i use... is it wrong?
Thx
Alexandre Domingues
returnValue = SCardListReaders(hContext, mszGroups, 0, &dwReaders);
if(returnValue != SCARD_S_SUCCESS)
{
printf("ListReaders: %s\n",pcsc_stringify_error(returnValue));
SCardReleaseContext(hContext);
return returnValue;
}
mszReaders = (char *) malloc(sizeof(char) * dwReaders);
returnValue = SCardListReaders(hContext, mszGroups, mszReaders, &dwReaders);
if(returnValue != SCARD_S_SUCCESS)
{
printf("ListReaders: %s\n",pcsc_stringify_error(returnValue));
SCardReleaseContext(hContext);
return returnValue;
}
printf("ListReaders: %s\n",pcsc_stringify_error(returnValue));
return returnValue;
this says there are 0 readers on the pc...
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]