Skip to content

Auto select serial port #880

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

Closed
ianmacl opened this issue Dec 8, 2017 · 4 comments
Closed

Auto select serial port #880

ianmacl opened this issue Dec 8, 2017 · 4 comments

Comments

@ianmacl
Copy link

ianmacl commented Dec 8, 2017

One thing I've always found annoying is that if I unplug my device and plug it back in, it sometimes gets assigned a different path, especially if I didn't remember to plug it into the same USB port. It would be nice if the serial monitor and uploader could automatically determine which port to use.

@jantje
Copy link
Member

jantje commented Dec 8, 2017

I agree it would be nice but I have no clue how to implement a functionality like this.

@von13
Copy link

von13 commented Jan 14, 2018

On Linux you can use 'by-path' enumeration, like this /dev/serial/by-path/pci-0000:00:1a.0-usb-0:1.2:1.0

Just check what you have in /dev/serial/by-path

In OS X it doesn't change in my case (high sierra), it depends on which port I use so it works like 'by-path' in Linux.

Maybe there is a way on Windows, but I don't use it

@jantje
Copy link
Member

jantje commented Mar 4, 2018

@ianmacl Now we had our discussions on Slack and we had some time to think about this.
Do you see it feasible to implement what you want?
Or shall we close the issue

@ianmacl
Copy link
Author

ianmacl commented Mar 6, 2018

I think it is feasible to implement; however at this point in time I don't have the time to dig in and implement it with the suggestions that were made, so I'll probably just run a local fork with the approach that I used and deal with it.

You can close and if I have time at a later date I'll resubmit.

Thanks for all you do with this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants