pcscd does not recognize virtualized device,
was Re: [Muscle] multiuser pcscd?
Ludovic Rousseau
ludovic.rousseau at gmail.com
Tue Sep 30 02:44:55 PDT 2008
On Mon, Sep 29, 2008 at 8:42 PM, Harald Milz <hm at seneca.muc.de> wrote:
> On Mon, Sep 29, 2008 at 03:17:06PM +0200, Harald Milz wrote:
>> But at times, pcscd does not want to recognize what's on the USB bus, and
>> just sits there and does nothing.
>
> Gaaa. The openSUSE 11.0 package was linked against libhal instead of libusb (as
> in Ubuntu 8.04). libhal apparently doesn't understand some of the
> peculiarities of a virtualized USB connection. Libusb does. Case closed.
> :-D
Exact.
You can use libusb instead of libhal for pcsc-lite (./configure
--disable-libhal). pcscd will then rescan the USB bus every 1 second
to detect reader insertions/removals. I don't know if that will
generate or not traffic on the network for the virtualized USB
connection.
If your virtualized USB connection can generate a udev event for
reader insertion you can configure the CCID driver to support
IFD_GENERATE_HOTPLUG and then avoid the polling every 1 second in
pcscd.
Bye
--
Dr. Ludovic Rousseau
More information about the Muscle
mailing list