Thankyou for your quick reply, so for the sequence of events when the linux box is started, does it happen something like this. pc/sc daemon loads and waits for an application that may or may not be run so effectively it is on stand by. so that calls the ifdhandler, which in turn calls the kernel for certain functions correct?and the timing of it all?, which resources must i read to find out all relevant calls made for the overall working of the system?. Thanks again for your help.
 
Best Regards,
 
Sim

Damien Sauveron <[EMAIL PROTECTED]> wrote:
Hi,
> I'm trying to understand how to write a smart card driver for a
> Schlumberger 72v2, i have already downloaded the developer kit, and i
> know i must start with the idhandler skeleton, but i wanna know how the
> kernel calls a smart card driver, or a any device driver for that
> matter?. Thanks in advance.


First you want write a "smart card reader driver" and not a "smart card
driver".

Then kernel never calls an "IFDHandler" also called sometimes "reader
driver". The call "driver" is an abuse of language.
The good names are "IFDHandler" or "PC/SC Lite Driver".
Follow you can see the architecture of PC/SC Lite.
The kernel doesn't call an IFDHandler. On the other hand the IFDHandler
calls the kernel services throught the API (USB or serial or PCMCIA, ...
). Thus the IFDHandler is only called by the PC/SC Lite Daemon
I hope this may help you to design your IFDHandler.

+-------------+ +-------------+
|Application A| |Application B|
+-------------+ +-------------+


+----------------------------+
| PC/SC Lite Daemon |
+---------------------------+


+----------+ +------------+
|IFDHandler| | IFDHandler |
| for USB | | for serial |
| reader | | reader |
+----------+ +------------+

USER LAND
------------------------------------------------------
KERNEL LAND +---------+ +------------+
| USB API | | Serial API |
+---------+ +------------+

+---------------------------+
| The KERNEL |
+---------------------------+

------------------------------------------------------
HARDWARE
+--------+ +--------+
| USB | | Serial |
| reader | | reader |
+--------+ +--------+

Best regards,

--
Damien Sauveron
----------------------------------------
LaBRI, Universit� Bordeaux 1
351, cours de la Lib�ration
33405 Talence cedex
France
T�l. On demand - Fax. +33 5 40 00 66 69
----------------------------------------



_______________________________________________
Muscle mailing listt
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

Reply via email to