Hello,

First, in ifdhandler.h define the following constant:
#define TAG_IFD_SIMULTANEOUS_ACCESS     0x0FAF

When GetCapabilities is called return 1 byte which tells the total number 
of readers supported simultaneously by your driver.

Each function in the ifdhandler has a Logical Unit Number (Lun)
Part of it is for slots and the other is for readers.  The document 
explains this.  Currently, the hotplug loader in Linux cannot distinguish 
identical readers - so the Lun does not change.  In future releases this 
will be fixed.  If you want to test in the meantime - you can add multiple 
readers to your reader.conf file like this:

0x200000
0x200001
...

Also, I will be adding a Link to the middleware section under Latest 
Stable PC/SC for patches today - Ludovic has posted a patch for pcsc-lite
His modifications include the following:

My impovements include:
- stop if /tmp/pcsc already exists
- clean and remove /tmp/pcsc on exit using signal() and atexit()
- renamed SYS_Exit to exit in many places to use the atexit() defined
  cleaning function
- removed \n in debug messages (syslog does not need it)
- some minor print cosmetic modification in atrhandler.c
- use a define DEBUG_BUFFER_LENGTH instead of 150 in debuglog.c
- use snprintf() instead of sprintf() in debuglog.c
- add a error on compile in pcscdaemon.c
   You must use '--enable-syslog' when also using '--enable-daemon' or
   you will not get any message
- renamed SYS_Stat to SYS_Fstat since the system call is fstat and stat
  is another one
- use PCSCLITE_IPC_DIR instead of repeating "/tmp/pcsc/" in pcsclite.h

Hope this helps.
Dave


***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to