Hello Ludovic, On Thu, Jul 5, 2012 at 8:44 PM, Ludovic Rousseau <[email protected]> wrote: > 2012/7/5 Martin Vogt <[email protected]>: >> I just had it too, but I have no idea how to reproduce it. >> If its in udev, does this mean the pattern B does not happen when building >> with libusb? (My build was with udev too, so maybe I should try libusb) > > hotplug_libusb.c uses a USB bus scanning loop. So if a device > disappear it will be discovered at one point. > > hotplug_libudev.c uses events from udev. So if a device disappear and > the removal event is lost then the pcscd will continue trying to use > the device indefinitely.
But pcscd loops even when removing/instering the token. If udev sends: remove /sys/devices/... add /sys/device/ And one event is lost (which is currently not clear) then a remove/insert of the token should recover from pattern B. If pattern B happens for me, pcscd does not respond to any udev action. (token remove/insert) regards, Martin _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
