<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>"Jim Kinney" <jim.kinney@gmail.com><br><b>To: </b>"Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale@ale.org><br><b>Sent: </b>Thursday, November 19, 2015 11:36:50 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;"><p dir="ltr">That's the PORT device ID not the device ID. That number changes on insertion until it rolls over (around 40 something I think). 148f:5370 is the device ID that is embedded in the device chip itself. It doesn't change.</p></blockquote><div><br></div><div>Bingo. On my other two pieces of hardware that number DOES NOT change. Now I need to figure out if it is possible to identify the specific USB port a USB->Serial dongle is attached to on this hardware.</div><div><br data-mce-bogus="1"></div><div>I may be able to see an order at boot where if I have 4 USB ports on the hardware you must attach your devices in these ports by order. Meaning use the first one on the back first. No one will unplug and plug. They will always do that before a restart. I've instructed them to start from boot. Easier on me.<br></div><div><br data-mce-bogus="1"></div><div>All I need to do is see a pattern that occurs 100% at boot and I'll write scripts udev executes to figure it all out.</div><div>If I can't figure out where the RT5370 is attached I may just abandon the support for station mode and make it an AP in any.</div><div>AP mode is used when they need to access my device via IP, but:</div><div><br data-mce-bogus="1"></div><div>1. They are one a network where switchports are disabled and my device has been assigned 1.</div><div>2. They have no LCD or keyboard. They took a train and have no car.</div><div>3. The serial port that normally runs getty is pre-configured to monitor a serial device and getty is off.</div><div><br data-mce-bogus="1"></div><div>How would they access it? Borrow the workstation of someone onsite? Nope, plug this RTL8188CUS in the USB port and look for the SSID. The devices MAC address is the password and printed on a sticker on the box. Now they can use putty, firefox, chrome, etc to access the device and configure it.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></div></div></body></html>