documentation

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@594 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-10-29 19:59:50 +00:00
parent 15333a7259
commit 57ea93fae3

View File

@@ -25,7 +25,7 @@ Authenticated Connection Establishment (PACE) using OpenPACE
(http://sourceforge.net/projects/openpace/). (http://sourceforge.net/projects/openpace/).
ccid-emulator is implemented using GadgetFS_. Some fragments of the source code ccid-emulator is implemented using GadgetFS_. Some fragments of the source code
are based on the GadgetFS_ example and on the source code of the OpenSC_ tools. are based on the GadgetFS example and on the source code of the OpenSC_ tools.
============= =============
@@ -47,7 +47,7 @@ Hints on GadgetFS
To create an USB Gadget in both USB host and USB client mode, you need to load To create an USB Gadget in both USB host and USB client mode, you need to load
the kernel module :program:`gadgetfs`. A guide focused on Debian based systems to run the kernel module :program:`gadgetfs`. A guide focused on Debian based systems to run
and compile gadgetfs, you can find `here and compile :program:`gadgetfs`, you can find `here
<http://wiki.openmoko.org/wiki/Building_Gadget_USB_Module>`_. <http://wiki.openmoko.org/wiki/Building_Gadget_USB_Module>`_.
On OpenMoko it is likely that you need to `patch your kernel On OpenMoko it is likely that you need to `patch your kernel
@@ -64,18 +64,18 @@ loading the module, you maybe want to check out `this patch
Hints on OpenSC Hints on OpenSC
--------------- ---------------
Without libnpa ccid-emulator links against libopensc, which is discouraged and Without libnpa ccid-emulator links against libopensc, which is discouraged and hindered since OpenSC
hindered since opensc>=0.12. We really need to get rid of this dependency. You version >= 0.12. (We really need to get rid of this dependency or integrate
need the opensc components to be installed (especially libopensc.so). Here is better into the OpenSC-framework.) You need the OpenSC components to be
an example of how to get the standard installation of OpenSC_:: installed (especially :file:`libopensc.so`). Here is an example of how to get the
standard installation of OpenSC_::
PREFIX=/tmp/install PREFIX=/tmp/install
OPENSC=opensc OPENSC=opensc
svn co http://www.opensc-project.org/svn/opensc/trunk $OPENSC svn co http://www.opensc-project.org/svn/opensc/trunk $OPENSC
cd $OPENSC cd $OPENSC
autoreconf -i autoreconf -i
# adding PKG_CONFIG_PATH here lets OpenSC use OpenSSL with OpenPACE ./configure --prefix=$PREFIX
./configure --prefix=$PREFIX PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
make make
make install make install