<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-02-16 16:34 GMT+01:00 Maximilian Stein <span dir="ltr"><<a href="mailto:maximilian.stein@secunet.com" target="_blank">maximilian.stein@secunet.com</a>></span><wbr>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br></blockquote><div><br></div><div>Hello,<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I noticed that commits [1] and [2], which fixed initialising a wrong USB<br>
device if the PID/VID are identical, only regards pcscd configured with<br>
libudev. In my opinion this can and should be fixed for pcscd configured<br>
with libusb as well. Please see the attached patch.<br>
<br>
Kind regards<br>
Maximilian Stein<br>
<br>
[1] 8b9f6f33b16e808a5769dbc4193e5f<wbr>107a09a693 - OpenUSBByName(): the<br>
device bus & addr must match<br>
[2] e46fa30ead3f1eff72769d70be6adf<wbr>031fafe606 - OpenUSBByName(): use<br>
device bus and address only when available<br>
<br></blockquote><div><br></div><div>Applied in <a href="https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=pcsclite/CCID.git;a=commitdiff;h=8c57dcc5f73009359dcdaa0decba7f703172e9df" target="_blank">https://alioth.debian.org/<wbr>plugins/scmgit/cgi-bin/gitweb.<wbr>cgi?p=pcsclite/CCID.git;a=<wbr>commitdiff;h=<wbr>8c57dcc5f73009359dcdaa0decba7f<wbr>703172e9df</a><br><br></div><div>You should move your pcsc-lite from libusb-1.0 to libudev for performance reasons.<br></div><div>Unless you have a good reason to still use libusb-1.0 for the hotplug detection?<br></div><div><br></div><div>Thanks<br clear="all"></div></div><br>-- <br><div class="m_-4453189662622628916gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>