<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Alex Carver" <agcarver+ale@acarver.net><br><b>To: </b>ale@ale.org<br><b>Sent: </b>Thursday, November 19, 2015 11:51:03 AM<br><b>Subject: </b>Re: [ale] USB port identification<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br><br>/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.5<br><br>Which would be port five on a hub attached to bus 1, port 4.<br></blockquote><div><br></div><div>It seems we have a winner. That path never changed. The device # did. At this point I can not remember if I used that in my original script or if I used the device # as shown in lsusb. I'll look into that. I'm pretty sure I can tell udev to send me the above path. I can then grok the values out as required and refer to a table of assignments.</div><div><br data-mce-bogus="1"></div><div>If vendorId = X and productID = Y and USB Port = Z </div><div> then ln -sf real kernel device /dev/us2</div><div><br data-mce-bogus="1"></div></div></div></body></html>