On 15/01/07, Alon Bar-Lev <[EMAIL PROTECTED]> wrote:
Hello Ludovic,
Hi,
Just a few more thoughts... 1. If you now integrate pcscd into udev, can you check out the option running pcscd as none root account?
I don't understand the problem.
2. What is the modification required from serial driver to use the hotplug? I guess it something with IFDHGetCapabilities(), but how do you inform the driver when a reader is found? Will the --force-reader-polling notify the serial driver to force polling?
You do not need to change anything in the driver. "Serial hotplug" is supported since pcsc-lite 1.2.9-beta8 (6 sept 2005). You just need to call "pcscd --hotplug" to ask pcscd to rescan the readers configured in /etc/readers.conf The problem is how to know a serial reader has been connected or removed. I have no answer except for the GemPC Card [1] which is a PCMCIA reader but includes a GemPC Twin serial behind a PCMCIA/serial bridge. And PCMCIA events are managed by udev. I do not know if udev supports a serial hotplug mechanism. I don't think so. Bye [1] http://www.gemplus.com/products/gempc_card/ -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
