Am Montag 23 November 2009 14:21:20 schrieb Ludovic Rousseau: > libusb-1.1 will [1] support hotplug through libudev. So pcscd should > just use libusb 1.1 instead of 0.1 and have hotplug for free. > > libusb-1.1 should be available before the end of 2009. So I think I > will skip the DeviceKit/udev migration and go for libusb-1.1 instead. > > I should migrate the CCID driver from libusb-0.1 to 1.x at the same time.
thanks for the info. the new features planed for libusb 1.1 look real nice. any idea if libusb will take care of udev race conditions? for example the kernel creates events about a new usb device and its interfaces. via udev you could get either information, but it wasn't linked together. so you could match the interface (e.g. smart card reader part of a keyboard with integrated reader), but you didn't have the info what the new device is called. or you got the info about the new device, and the filename it will have in /dev/bus/usb/MMMM/NNNN and you tried to open it, but the file wasn't created by then, so you had to fork into the background and wait a while till the file was created. would be nice if not every app needed to implement its own workaround against issues like this, to keep it simple for everyone. Regards, Andreas _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
