> 3. pcscd must run as root... A none root mode may be supported but > never implemented.
forgive me, but usb control transfer ioctl can only be done as root I thought? thus anyone trying these on a usb device needs root? or is write access to the device enough? > 4. Due to the threading limitation of libusb or kenrel pcscd polls > readers every 2 seconds which waste CPU and power resources. the kernel had a bug not dealing with properly disconnected usb devices, thus they have to - and openct does (did?) the samething. > 5. The udev support was dropped in favor of hal, which added > dependency for all scenarios. openct users are often confused by the many choices they have. not sure it is such a bad thing to reduce the number of supported options. > 6. The libusb support polls the USB bus... So it is irrelevant. well, if you aim to support non-linux, watching the usb bus yourself seems to be the best or only option you have to notice new devices etc. also watching usb is much simpler than the hotplug/udev/hal maze which needed many changes over the years. > While openct... > 1. Much simpler. but it cannot match the features pcscd has, does not even come close. > 4. Does not use hal or libusb. hu? how does openct implement coldplugging these days? that code always depended on libusb. > 6. At least ccid and etoken drivers does not poll devices. what about the core, how do we detect if a driver was unplugged? Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel