<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello,<br><br>I need to identify the USB device to which a card reader with a specific card is connected.<br>I am pulling my hair out but cannot find any API call that provides this information.<br><br>on Ludovic's blog I find this: </div><div style="padding-left: 30px;">https://ludovicrousseau.blogspot.de/2010/05/what-is-in-pcsc-reader-name.html</div><div><br data-mce-bogus="1"></div><div>That does not work on my system though! <br>ubuntu xenial 4.4.0-59-generic x86_64</div><div><br>When I list my card readers I get the list of readers like this from SCardListReaders():</div><div style="padding-left: 30px;"><br>SCM Microsystems Inc. SCR 3310 00 00<br>SCM Microsystems Inc. SCR 3310 01 00</div><div style="padding-left: 30px;"><br data-mce-bogus="1"></div><div>OK, so the readers are enumerated.<br>However, I need to know the <strong>usb device id</strong> to be able to connect the reader with the right card to the correct virtualization environment. <br></div><div><br data-mce-bogus="1"></div><div style="padding-left: 30px;">Bus 002 Device 008: ID 04e6:5116 SCM Microsystems, Inc. SCR331-LC1 / SCR3310 SmartCard Reader<br>Bus 001 Device 005: ID 04e6:5116 SCM Microsystems, Inc. SCR331-LC1 / SCR3310 SmartCard Reader</div><div style="padding-left: 30px;"><br data-mce-bogus="1"></div><div>I only know that the usb device id can change easily.<br><br>How do I find which USB device has been connected to the the instance of the SCardReader????<br><br>Any pointers greatly welcome.<br></div></div></body></html>