Re: Apply fix "OpenUSBByName(): the device bus & addr must match" (8b9f6f33) for libusb
Ludovic Rousseau <[email protected]> Thu, 16 Feb 2017 17:21:01 +0100
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CAGstE8BS1BXEfv08DR9jdS7O-v=GjEgXhmk6472fipJAoR66WA@mail.gmail.com> |
2017-02-16 16:34 GMT+01:00 Maximilian Stein <[email protected]>: > 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 _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle