[ale] USB port identification

Derek Atkins derek at ihtfp.com
Thu Nov 19 15:12:53 EST 2015


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.

-derek

Sent on my mobile. Please forgive any typos.

----- Reply message -----
From: "Solomon Peachy" <pizza at shaftnet.org>
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Subject: [ale] USB port identification
Date: Thu, Nov 19, 2015 11:46 AM

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20151119/64aa5bdf/attachment.html>


More information about the Ale mailing list