<div style="font-family: 'Calibri', 'sans-serif';">
<div>You can use the /sys/devices tree to uniquely identify by physical port. Those numbers don't change. You only need to worry if stuff gets plugged into a different port later.</div><div><br></div><div>-derek</div><div><br></div><div>Sent on my mobile. Please forgive any typos.</div>
<br><div id="htc_header">----- Reply message -----<br>From: "Solomon Peachy" <pizza@shaftnet.org><br>To: "Atlanta Linux Enthusiasts" <ale@ale.org><br>Subject: [ale] USB port identification<br>Date: Thu, Nov 19, 2015 11:46 AM</div></div><br><pre style="word-wrap: break-word; white-space: pre-wrap;">On Thu, Nov 19, 2015 at 12:17:08PM -0500, Chris Fowler wrote:
> Beyond the USB->Serial adapters, I have 200 USB modems in my garage all with the serial 1234567. :)
Yeah, I've run into this a lot with printers too. Ironically it's the
high-end stuff that tend to be the worst offenders when it comes to the
USB iSerial descriptor.
(think photo kiosks that may have multiple indentical printers plugged
in, but each has different media loaded -- you need to be able to
identify each one reliably..)
- Solomon
--
Solomon Peachy                  pizza at shaftnet dot org
Delray Beach, FL ^^ (email/xmpp) ^^
Quidquid latine dictum sit, altum viditur.
</pre>