[Tokend-Dev] how to monitor smart card reader's hot plug event?
ludovic.rousseau at gmail.com
Tue Aug 18 04:31:21 PDT 2015
2015-08-18 9:17 GMT+02:00 liuddd <liudy75 at 163.com>:
> I wan't to use PC/SC API to monitor a USB smartcard reader's plug
> event, but after I plug out the reader and wait for a while, the pcscd will
> exit, and if I continue to call PCSC functions, some functions will cause
> segment fault.
If you get a crash in a PC/SC function then it is a bug in PC/SC and
youd should report it.
> Can I get a message when a reader is plugged out, or can I
> configure pcscd so that it won't exit until system restart? Thank you !
Have a look at the program pcsc_scan from pcsc-tools .
Dr. Ludovic Rousseau
More information about the Tokend-Dev