[Muscle] libccid hotplug doesn't work
Ludovic Rousseau
ludovic.rousseau at gmail.com
Thu Dec 6 11:46:39 PST 2007
On Dec 6, 2007 4:08 PM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> Dear Mr. Rousseau!
> I've just run into the following issue (which is not a problem for me, because I
> don't want to let my users unplug and replug their card readers -- but may be a
> bug):
> My ccid compatible usb reader simply doesn't work if it is plugged after pcscd
> start. I started pcscd (1.4.3) with -d and -f, and I log here what happens if I
> plug in my reader (libccid 1.3.0):
> ----------
> pcscdaemon.c:566:signal_reload() Reload serial configuration
> pcscdaemon.c:578:signal_reload() End reload serial configuration
> pcscdaemon.c:566:signal_reload() Reload serial configuration
> pcscdaemon.c:578:signal_reload() End reload serial configuration
> pcscdaemon.c:566:signal_reload() Reload serial configuration
> pcscdaemon.c:578:signal_reload() End reload serial configuration
> ----------
> But nothing else... And pcsc doesn't see my reader at all (however, reader works
> fine if I start pcscd with reader plugged)
It is a timing problem between udev and libusb.
You can do "pcscd --hotplug" to force a rescan of the USB bus by pcscd.
I guess you are using Ubuntu 7.10. Right?
Bye
--
Dr. Ludovic Rousseau
More information about the Muscle
mailing list