-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A2CLOUD: better means of identifying USB port than sequence of insertion for non-pi computers #23
Comments
I consider the current convoluted behavior on the Pi to be a bug actually. ;) |
To the contrary, I think describing exactly what physical ports to attach to is the least convoluted available solution, at least on a 4-port Pi, where a USB hub can go on one of the unused two right-hand ports. (I'll concede it's a bit more complicated if you are plugging the serial adapters into a hub, as you would usually need to with a 2-port Pi.) |
I tried plugging things into several places and couldn't get things
to behave. I couldn't even get ADTPro to give me a single port
showing up in its dropdown. It drove me nuts.
Either way, it doesn't scale beyond the Pi, nor does it work for
other ARM-based SBCs (including some that can run Raspbian.)
Something more robust is needed all around. As soon as I figure out
what that is, I'll propose something. :P
Joseph
|
ADTPro showing no ports in its dropdown is usually a symptom of librxtx not doing what it's supposed to. I've seen a fair bit of that sort of thing and it's irritating. You might want to check out the customized adtpro.sh script installed by A2CLOUD to see how I've coaxed it into being. Can't argue with you about not scaling beyond the Pi, hence my creating the issue. Good luck coming up with something brilliant. |
This issue was moved to RasppleII/a2cloud#12 |
My thinking process is:
Granted, this is more complex than "connect it to the top USB port", It does introduce the need to help them figure out what a given If the user selects they want to test the port, we can give them a The Pi will send then listen. It's possible you could make the Apple Anyway, that's where this is going in my head. I figure typing a I'm going to follow your lead @IvanExpert in recommending known If I could've easily done that when I was setting up A2CLOUD/ADTPro Joseph On Mon, Oct 26, 2015 at 05:11:29PM -0700, IvanExpert wrote:
|
Currently, Raspberry Pi's can have their physical USB ports identified and named "ttyUSBupper" and "ttyUSBlower" by UDEV rules, making it easy to connect the right cable to the right port in all cases.
Since non-Pi computers may have any configuration of USB ports and hubs, the behavior is to create "ttyUSBupper" being an alias to the first item inserted, and "ttyUSBlower" being the second item inserted. If they're both present at boot time, they'll be assigned randomly. I don't know if there's any better solution to this, but it seems inelegant.
The text was updated successfully, but these errors were encountered: