[Pcsclite-muscle] Apply fix "OpenUSBByName(): the device bus & addr must match" (8b9f6f33) for libusb
Ludovic Rousseau
ludovic.rousseau
Thu Feb 16 08:21:01 PST 2017
2017-02-16 16:34 GMT+01:00 Maximilian Stein <maximilian.stein at secunet.com>:
> Hi,
>
Hello,
>
> I noticed that commits [1] and [2], which fixed initialising a wrong USB
> device if the PID/VID are identical, only regards pcscd configured with
> libudev. In my opinion this can and should be fixed for pcscd configured
> with libusb as well. Please see the attached patch.
>
> Kind regards
> Maximilian Stein
>
> [1] 8b9f6f33b16e808a5769dbc4193e5f107a09a693 - OpenUSBByName(): the
> device bus & addr must match
> [2] e46fa30ead3f1eff72769d70be6adf031fafe606 - OpenUSBByName(): use
> device bus and address only when available
>
>
Applied in https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.
cgi?p=pcsclite/CCID.git;a=commitdiff;h=8c57dcc5f73009359dcdaa0decba7f
703172e9df
You should move your pcsc-lite from libusb-1.0 to libudev for performance
reasons.
Unless you have a good reason to still use libusb-1.0 for the hotplug
detection?
Thanks
--
Dr. Ludovic Rousseau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170216/7253e5a6/attachment.html>
More information about the pcsclite-muscle
mailing list