Just wanted to let everyone know I was (so far) successful in setting up
pcsc 0.0.9 with a Litronic 210 SCR. When running the manager and the
"test" client, the LED lights up. But I only have a 16K Cyberflex card.
At the end of this message is a patch (unified diff) to the documentation
to be a little more descriptive. Wish I had some code to contribute...
I like the ORB use very good idea. But how will PCMCIA smartcard drivers
work? Will there be a kernel component then a user-level so file (like
for the serial SCRs)? Should we come up with our own API for talking
between kernel drivers and user-land libraries, or is there already such a
thing, or can kernel drivers speak to the ORB directly?
Some questions about mico: I understand it is a CORBA-compliant ORB, and
that ORBs are for the purpose of easy IPC between processes. But what
does mico do? The GNOME folks are using ORBit as their ORB--does this
mean that apps that use ORBit can't work with apps that use mico? I guess
I am showing my ORB naivete here.
Jeremy Impson
Network Engineer
Advanced Technologies Department
Lockheed Martin Federal Systems
[EMAIL PROTECTED]
diff -u -r pcsc-src-0.0.9/INSTALL pcsc-src-0.0.9-new/INSTALL
--- pcsc-src-0.0.9/INSTALL Fri Feb 19 18:14:25 1999
+++ pcsc-src-0.0.9-new/INSTALL Wed Feb 24 20:22:47 1999
@@ -24,6 +24,8 @@
the test application. (If the DEVICENAME differs than the one currently
in the test application you will need to recompile the test application)
+Copy etc/reader.conf to /etc. Do the same for etc/card.conf.
+
[Step 3] Installing Mico (CORBA)
Make sure you have Mico 2.2.4 installed on your machine. You can get this
@@ -35,12 +37,26 @@
make install should put it in /usr/local/lib.
+As root, run ldconfig to update the links and cache for the run-time linker.
+
[Step 4] Building
First make sure mico-c++ and mico-ld are in your current path. Then from
the top level ....../pcsc-src-0.xxxx/ type ./installer. This will build
the software needed.
+Edit the .c files in tests/ so they refer to the smart card reader that
+you plan to test. I.e., If you have a Litronic 210, change the line in
+test.c that says
+
+ scard->AttachByIFD("Schlumberger Reflex 62", 0x00);
+
+so that it says
+
+ scard->AttachByIFD("Litronic A 210", 0x00);
+
+The IFD is as defined in /etc/reader.conf as FRIENDLYNAME
+
Go into the test directory and type ./installer.
[Step 5] Running
@@ -53,8 +69,14 @@
where /usr/local/lib is the path to mico
+The daemon is pcsc-manager, in the bin/ directory. It gets two arguments,
+the reader.conf file and the cards.conf file.
+
AND for the clients
LD_LIBRARY_PATH=....../pcsc-src-0.xxxxx/src/resmgr-local:/usr/local/lib
+
+The test clients are in test/. The daemon must be running before running the
+test clients.
You can now run this. Email me for questions: [EMAIL PROTECTED]
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************