Le 12 avril 2012 08:33,  <[email protected]> a écrit :
> Hi

Hello,

> We are using redhat 5.7and gemalto 64k v2c smartcard.Please help us in doing
> the integration of smartcard with Linux machine.We have tried out by using
> opensc tool.But after executing 'opensc-tool -n' its showing JavaCard
> (without supported applet).Means card is not supported. Can you please
> suggest any other way to integratte this card to linux machine

>>It looks like your card is a JavaCard card. You need to loead an
>>applet in the card to be able to use it with OpenSC.

>>You can try to use the MuscleCard applet [1, 2].

I have downloaded the Musclecard applet. But do we need specific configuration?

> Below are the details.
>
>
>
> CCID driver version-ccid-1.3.8-1.el5
>
> pcsc-lite version-pcsc-lite-1.4.4-4.el5_5
>
> smart card reader name- HP USB Smart Card Keyboard and SchlumbergerSema
> Reflex USB v.2 0
>
> the output of the command "/usr/sbin/pcscd --version"
>
> pcsc-lite version 1.4.4.
>
> Copyright (C) 1999-2002 by David Corcoran <[email protected]>.
>
> Copyright (C) 2001-2007 by Ludovic Rousseau <[email protected]>.
>
> Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>.
>
> Report bugs to <[email protected]>.
>
>
>
> OS-Redhat 5.7
>
> Smartcard name-gemalto 64k v2c card
>
> Reader name- HP USB Smart Card Keyboard and SchlumbergerSema Reflex USB v.2
> 0
>
>
>
>
>
> [root@ZEU-V-913BC0DC ~]# sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground
> --debug --apdu | tee log.txt
>
> pcscdaemon.c:294:main() pcscd set to foreground with debug send to stderr
>
> debuglog.c:213:DebugLogSetLevel() debug level=debug
>
> debuglog.c:242:DebugLogSetCategory() Debug options: APDU
>
> pcscdaemon.c:507:main() pcsc-lite 1.4.4 daemon ready.
>
> hotplug_libusb.c:402:HPEstablishUSBNotifications() Driver ifd-egate.bundle
> does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
>
> hotplug_libusb.c:411:HPEstablishUSBNotifications() Polling forced every 1
> second(s)
>
> winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel packet
> arrival
>
> winscard_msg_srv.c:226:SHMProcessEventsServer()
> SHMProcessCommonChannelRequest detects: 5
>
> pcscdaemon.c:174:SVCServiceRunLoop() A new context thread creation is
> requested: 5
>
> winscard_svc.c:131:ContextThread() Thread is started: 5
>
> winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client:
> 5
>
> winscard_svc.c:179:ContextThread() Client is protocol version 2:2
>
> winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client:
> 5
>
> winscard.c:242:SCardEstablishContext() Establishing Context: 17013714
>
> pcscdaemon.c:572:signal_trap() Preparing for suicide
>
> readerfactory.c:1379:RFCleanupReaders() entering cleaning function
>
> pcscdaemon.c:532:at_exit() cleaning /var/run

>>No reader is found by pcscd.
>>That is the first problem you will have to solve.

And now the first problem is resolved.I am able to find the reader

[root@ZEU-V-913BC0DC ~]# opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    No              HP USB Smart Card Keyboard 0
1    Yes             SchlumbergerSema Reflex USB v.2 0

Please help in going forward.


>>[1] http://anonscm.debian.org/viewvc/muscleplugins/trunk/MCardApplet/
>>[2] 
>>https://alioth.debian.org/frs/?group_id=30111&release_id=184#mcardapplet-mcardapplet-0.9.11-title-content

-- 
 Dr. Ludovic Rousseau

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



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

Reply via email to