Le 24/03/11 21:35, Harald Welte a écrit :
With your patch, pcscd no longer crashes at hot-plug time... but it also
fails to use the reader:
I am not surprised. The devpath is really used by the code.
So, as it seems, somehow, if openct is installed (and not running), pcscd will
not try to use its internal CCID driver? Is this intentional?
openct also provides a ifd-handler for pcscd.
So the problem may be the openct handler causing a NULL devpath. I will
have a look.
After applying your patch _and_ removing openct (no
/usr/lib/pcsc/drivers/openct-ifd.bundle/Contents/Linux/openct-ifd.so present
anymore), I was able to make it work:
Can you also try _without_ the patch?
So the patch seems to fix the segfault, but still the question remains: Why is
pcscd not using its internal CCID driver if OpenCT is installed (but not even
running) ?
pcscd has no _internal_ CCID driver. pcscd has no internal driver at all.
Bye
--
Dr. Ludovic Rousseau
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org