OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Muscle] How to detect card insertion/removal in driver ?

From: Haikun Hou (haikun.houtodos.com.cn)
Date: Sun Apr 03 2005 - 23:13:18 CDT


Hello all:

I am working on reader driver coding based on PCSC lite. I met problem with card insertion/removal detection.

Our reader is USB1.0 full speed reader. It will detect card insertion/removal and send response to driver. User inserted/removed card randomly, I neet to through a separate thread to waiting for reader sending response I think. Could anyone tell me how to build and use such a separate thread ??

I also can send command to reader to get current card status. I tried to do it in IFDHICCPresence and it could get success response. But the pcscd will always call IFDHICCPresence. How can I stop IFDHICCPresence call after got success card status??

        With Best Regard!
                                 

        Haikun Hou
        haikun.houtodos.com.cn
          2005-04-04

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle