[Muscle] libccid hotplug doesn't work
Ludovic Rousseau
ludovic.rousseau at gmail.com
Tue Dec 11 06:10:54 PST 2007
On Dec 11, 2007 2:51 PM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> Idézés Ludovic Rousseau <ludovic.rousseau at gmail.com>:
> > The patch [1] is to edit the file /etc/udev/rules/50_libccid.rules and
> > add the lines:
> > # last file created by the kernel, if this is present everything should be
> > WAIT_FOR_SYSFS="bInterfaceProtocol"
> >
> > # sleep for 100ms - the wait_for_sysfs might not be enough
> > PROGRAM="/bin/sleep 0.1"
> >
> > just after ACTION!="add", GOTO="pcscd_ccid_rules_end"
> >
> > The reload the configuration using:
> > $ sudo /etc/init.d/udev reload
> >
> > Please report here if it works for you.
> >
> > Regards,
> >
> > [1]
> >
> http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2007-December/002882.html
> > --
> > Dr. Ludovic Rousseau
>
> Well, I added the two lines (and restarted my system to be sure), but this
> doesn't work. I ran pcscd -f -d again, and I got the same :-(
> Except there is a delay between the two
> "pcscdaemon.c:566:signal_reload() Reload serial configuration
> pcscdaemon.c:578:signal_reload() End reload serial configuration"
> block.
You can try to increase the sleep delay from 0.1 to 1
I am afraid the only viable solution would be to add a sleep inside
pcscd itself.
bye
--
Dr. Ludovic Rousseau
More information about the Muscle
mailing list