[<<][usb][>>][..]
Sun Sep 8 15:31:06 EDT 2013

Distinguishing a bag of USB serial adapters

I have these PL2303-based SIM card readers that are identical.

I've been using a script to uniquely identify tty USB adapters, which
uses the device reported serial number string to identify the port, or
else a concatenation of idVendor and idProduct.

Let's change the latter to the bus/port hierarchy the device is
plugged into.  At least that is under physical control.

Found some info here[2].

The tree address is actually in the device hierarchical name.  See the
following line in the updated [1]:

DEVTREE=$(basename $(readlink -f ../../))


[1] http://zwizwa.be/darcs/pool/bin/ttyUSB_id
[2] http://askubuntu.com/questions/49910/how-to-distinguish-between-identical-usb-to-serial-adapters



[Reply][About]
[<<][usb][>>][..]