I'm trying to get a Gemplus 433 USB reader configured on my Mandrake 9.2 (kernel 2.4.22-10mdk) box. The cards I have are GemSafe Smart Cards and using a friend's Windows PC, I see this output on the card type:

~    Smart Card Name: [Unregistered Card]
~    Icon: OK/None
~    ATR: 3B A7 00 40 18 80 65 A2 09 01 02 52
~    Protocol(s) Supported: T=0
~    Convention: Direct
~    Optimal Bit Duration: 372 clock cycles (default)
~    Programming Voltage: Vpp is not electrically connected.
~    Extra Guardtime N: 0 (default)
~    Work Waiting Time (T=0): 23040 clock cycles max.
~    Message: The card is available for use.
~             The card is currently not powered.


I configured and installed: pcsc-lite-1.2.0.tar.gz and ifd-gempc-0.9.1.tar.gz.


Running the pcscd as root in the foreground gives:

[EMAIL PROTECTED] src]# pcscd --version    ; just to show version #
pcsc-lite version 1.2.0.
Copyright (C) 1999-2002 by David Corcoran <[EMAIL PROTECTED]>.
Copyright (C) 2001-2003 by Ludovic Rousseau <ludovic.rouseau.free.fr>.
Report bugs to <[EMAIL PROTECTED]>.

[EMAIL PROTECTED] root]# pcscd --apdu --foreground
debuglog.c:188 Debug options: APDU
pcscdaemon.c:251 main: pcscd set to foreground
readerfactory.c:1391 RFInitializeReader: Attempting startup of Wrenz Gemplus 433SL-usb 0 0.
readerfactory.c:1133 RFBindFunctions: Loading IFD Handler 2.0
ifdhandler.c:114:IFDHCreateChannel (GemPC43x) lun: 0, channel: 1
GemPC430Utils.c:33:OpenGemPC430ByName (GemPC43x) OpenUSB failed
ifdhandler.c:129:IFDHCreateChannel (GemPC43x) OpenReader failed
readerfactory.c:1428 RFInitializeReader: Open Port 1 Failed
readerfactory.c:1263 RFUnloadReader: Unloading reader driver.
readerfactory.c:245 RFAddReader: Wrenz Gemplus 433SL-usb init failed.
pcscdaemon.c:445 main: pcsc-lite daemon ready.


From another shell, I execute ./testpcsc:

[EMAIL PROTECTED] src]$ ./testpcsc

MUSCLE PC/SC Lite Test Program

Testing SCardEstablishContext    : Command successful.
Testing SCardGetStatusChange

and here it 'hangs' waiting on input?

The other shell, running the pcscd image, now displays:

winscard_msg.c:250 SHMProcessEvents: Common channel packet arrival
winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0
winscard.c:81 SCardEstablishContext: Establishing Context: 17010357

Running ./muscletest provides:

./src/muscletest

[EMAIL PROTECTED] src]# ./muscletest
********************************************************

********************************************************
No valid token found




I'm not sure that the /etc/reader.conf file is correct. I used the ./installifd utility to create it, but just *guessed* at what I/O port to use, just choosing "USR1 (Sym Link Defined)". The contents of the /etc/reader.conf file are:


[EMAIL PROTECTED] utils]# more /etc/reader.conf
# Configuration file for pcsc-lite
# David Corcoran <[EMAIL PROTECTED]


FRIENDLYNAME "Wrenz Gemplus 433SL-usb"
DEVICENAME GEN_SMART_RDR
LIBPATH /usr/local/pcsc/drivers/ifd-GemPC430.bundle/Contents/Linux/libGemPC430.so.0.9.1
CHANNELID 0x000001



# End of file



At this point I'm stuck....any advice to steer me in the right direction is greatly appreciated! :-) Thx!


Wren




_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to