--On Thursday, January 22, 2009 08:49:33 PM +0200 Alon Bar-Lev <alon.bar...@gmail.com> wrote:
> Poll the reader to detect card insert. Yeah, that's still a problem, and certainly one I'd like to see fixed. It's also per-driver, and I'm not sure it even _can_ be fixed for all kinds of devices. >> > 5. The udev support was dropped in favor of hal, which added >> > dependency for all scenarios. >> > >> >> Nothing was dropped in favor of HAL. It is possible to configure pcscd >> to use HAL for USB device detection, but it is by no means mandatory, >> and it is still possible to inform pcscd of new devices by running pcscd >> --hotplug, whether or not it is compiled with HAL support. > > The rules are not provided nor maintained. Hm. Shouldn't they come with the individual drivers, rather than with pcsc-lite itself? I certainly intend to provide udev rules with ifd-egate, as soon as I can figure out what they need to be. >> >> > 6. The libusb support polls the USB bus... So it is irrelevant. >> > >> >> Only if there are drivers that do not advertise IFD_GENERATE_HOTPLUG. >> If all drivers support hotplugging, then the USB bus is scanned only >> when someone runs pcscd --hotplug. It's true that on Linux there is no >> way short of HAL for pcscd to automatically detect new USB devices. As >> far as I know that has always been the case. > > Installing pcscd within mdev environment without libusb is quite > difficult. How do you propose for USB device drivers to talk to their devices, if not using libusb? Remember, we'd like to be portable here; the whole world's not Linux. > 1. Be usable in initramfs configuration, so that I can decrypt the > root filesystem. At this environment I don't have udev, hal or > usbfs... > 2. Drop libusb requirement for coldplug and use sysfs directly. Ouch. -- Jeff _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel