On Mon, 6 Oct 2014, Greg Oliver wrote:

On Mon, Oct 6, 2014 at 12:42 PM, David Lang <[email protected]> wrote:

On Mon, 6 Oct 2014, Weedy wrote:

 Only devicename and devpath are diferent but that is because they are in
diferent usb ports.


Since they are so cheap just use the paths to tell them apart.


The problem with using the paths is that the paths are not going to be
stable across reboots. It becomes a race condition to see which one
finishes initializing first.


Why wouldn't the paths be stable?  Are you saying a USB device is going to
renumber it's BUS id and HUB assignments?  I do not think so.  If they are
in the same port, they will get the same assignment upon re-enumeration.
(Well, there is the possibility of adding a new USB controller, but I doubt
that is where this is going..)

no, the port they are plugged into is not part of the path. Remember that USB is a bus, you plug many things into the bus and they are all equivalent. If your system has multiple buses and you plug one into each bus you are ok, but if you just plug them into different ports on the same bus, their order depends on which one initializes first.

The different ports on a USB bus have no electronics between them. They are literally just different plugs on the same wire.

David Lang
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to