<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>I'm testing this new hardware and have ran into a snag with identifying specific USB ports.</div><div><br data-mce-bogus="1"></div><div>There are 2 root hubs.</div><div><br data-mce-bogus="1"></div><div>1. 2.0 4x ports</div><div>2. 3.0 2x ports</div><div><br data-mce-bogus="1"></div><div>On the 2.0 it seems that no matter what port I plug my modem into, at boot it will be 001:004.</div><div><br data-mce-bogus="1"></div><div>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 004: ID 0572:1340 Conexant Systems (Rockwell), Inc. <br>Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub<br>Bus 001 Device 002: ID 8087:07e6 Intel Corp. <br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div><br data-mce-bogus="1"></div><div>On the older hardware the device # was tied to a specific port. Both run a 2.6.38 kernel. Same software too.</div><div><br data-mce-bogus="1"></div><div>The problem is that I define what USB ports do what. If you plug a RTL8188CUS USB wireless adapter in port #1 it will behave as an AP. If you use port #2 it is configured as a station. The users will not even have access to the device in somce cases unless it runs as an AP. No LCD! No network!</div><div><br data-mce-bogus="1"></div><div>If I use USB to serial adapters then I assign port names based on Bus/Device. The user will then use a temp probe on one, maybe a terminal on another, and some sites even have a UPS that I am interfacing via USB serial.</div><div><br data-mce-bogus="1"></div><div>Another thing I noticed is that if I unplug the USB modem and plug back in it will be assigned 001/005. On the older hardware this is not the case. It is always the same.</div><div><br data-mce-bogus="1"></div><div>Is there any way I can identify the specific USB port on this computer that is being used by a device?</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></div></body></html>