<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Well its easy to specify the device for the docker container.... that's resolved already.<br></div><div><br data-mce-bogus="1"></div><div>However, the IDs on the USB bus are not fixed for a physical device and cannot be used reliably for this.<br data-mce-bogus="1"></div><div><br>So I don't know which card is in which physical USB device XXX on the bus. <br></div><div><br data-mce-bogus="1"></div><div>But how can I find  the mapping from the physical device to a USB device id which I can give to the container to connect the right device. <br>This was my original question. How to find this mapping!<br></div><div><br data-mce-bogus="1"></div><div>I can list the devices on the usb bus.<br></div><div><br data-mce-bogus="1"></div><div>I can list the enumerated readers... and read the contents of the inserted cards.<br></div><div><br data-mce-bogus="1"></div><div>How the cards read with an enumerated card reader name are connected to a physical reader AKA ID on the usb bus is hidden in the stack! <br>:(<br></div><div><br data-mce-bogus="1"></div><div>As in your original answer... it does not seem possible. <br>At least not within the pcsclite library.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>cheers<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Ludovic Rousseau" <ludovic.rousseau@gmail.com><br><b>To: </b>"pcsclite-muscle" <pcsclite-muscle@lists.alioth.debian.org><br><b>Sent: </b>Monday, January 30, 2017 6:42:02 PM<br><b>Subject: </b>Re: [Pcsclite-muscle] How to Identify USB devices on        linux/ubuntu/debian<br></div><br><div data-marker="__QUOTED_TEXT__"><div dir="ltr"><div><br><br>2017-01-30 18:26 GMT+01:00 Uv Wildner <<a href="mailto:uv.wildner.ext@openlimit.com" target="_blank">uv.wildner.ext@openlimit.com</a>>:<br>><br>> Exactly,<br>><br>> however, I seem to have no control which reader with which card goes to each container.<br><br>You have a problem with your container software if you can't specify what specific USB device is attached to what specific container.<br>The problem is really not at the PC/SC level.<br></div><br><div>Good luck<br><br>--<br> Dr. Ludovic Rousseau</div></div>
<br>_______________________________________________<br>Pcsclite-muscle mailing list<br>Pcsclite-muscle@lists.alioth.debian.org<br>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle<br></div></div></body></html>