This is a pcsc-lite driver ("ifdhandler v2") for
Aladdin eToken PRO (some special usb token).

Required Software:
 - pcsc-lite (www.linuxnet.com)
 - libusb (libusb.sourceforge.net)

To install:
 - edit paths in Makefile 
 - make
 - cp libetoken.so to the pcsclite directory.
 - create a reader.conf for pcsclite like this:
FRIENDLYNAME    "Aladdin eToken PRO"
DEVICENAME      ALADDIN_ETOKEN
LIBPATH         /home/aj/opensc/lib/libetoken.so
CHANNELID       0x0

Libusb requires (on linux) that usb is working properly.
this includes the usbdevfs mounted on /proc/bus/usb.
If that directory is empty, then it is not mounted.
Try:
	mount -t usbdevfs none /proc/bus/usb

You need to use the library as root (at least on linux).
With pcsc-lite only the pcscd daemon needs to run as root,
the application can run as any user.

it works a bit.

1.7.2002	version 0.3.2 released
#include <string.h> in etoken.c added.

25.6.2002	version 0.3.1 released
added new product id 0x514 as reported by
Roland Dirlewanger <rd@dr15.cnrs.fr>. thanks Roland!

13.6.2002	verson 0.3 released
debugging now via syslog
fix in t=1
both done by olaf kirch, thanks!

8.2.2002	version 0.2 release
fixed very nasty bug in t1 protocol

7.2.2002	version 0.1 released
added note about paths to Readme and Makefile
test eToken != NULL and eToken->usb != null in usb_transmit
additional documentation

3.2.2002	version 0.0 released



TODO 
 - select() doesn't return the directory content. why ?
 - how to reset the smartcard chip ?
   currently i do a usb reset of the whole token in power_off.
 - remove obsolete debugging code
