Skip to content
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

Serial enumeration #13

Open
Susurrus opened this issue Mar 29, 2016 · 9 comments
Open

Serial enumeration #13

Susurrus opened this issue Mar 29, 2016 · 9 comments

Comments

@Susurrus
Copy link

Looks to be some registry parsing for Windows, but for Unix it's merely processing /dev/ entries.

@goertzenator
Copy link

Python's take on serial port enumeration.

@dcuddeback
Copy link
Owner

This is definitely in the plans. I've done some groundwork for this already by implementing crates needed for listing serial ports on Linux (libudev) and OS X (IOKit and CoreFoundation). Using those APIs seems similar to Python's solution, which mentions using sysfs (libudev) and IOKit. I pasted some links in #14 in case someone wants to start working on this before me.

@Susurrus
Copy link
Author

Susurrus commented Jul 4, 2016

@dcuddeback Can you respond to my PR so we can ideally merge this code? I've been using it for a while in my own project and it works on Windows and Linux (appveyor fails because of another package not working on Rust 1.3).

@dcuddeback
Copy link
Owner

@Susurrus I feel like my input has been mostly ignored up to this point, so I think it's a better use of my free time to work on this feature myself than to spend more time trying to guide the existing PRs into an acceptable solution.

@Susurrus
Copy link
Author

Susurrus commented Jul 5, 2016

Fair enough. In the mean time I'll use my fork for this functionality then. Any idea when this might be available in mainline? Additionally, let me know if there's any way I can help to speed this along beyond what I've already done.

@Susurrus
Copy link
Author

@dcuddeback Any updates on this work and the big refactoring? I'm looking to push my project to crates.io, which requires that it only uses libraries with releases on there, so I'm blocking on serial enumeration in a release.

@danieledapo
Copy link

@dcuddeback any news about this? It would be a great addition to the library.

@Michael-F-Bryan
Copy link

@dcuddeback is anyone working on this at the moment? If not, I might be able to look into it and make a PR.

@AJAnderson
Copy link

Bump again for work? This is pretty important functionality for finding devices in a robust manner.

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

No branches or pull requests

6 participants