serial-rs icon indicating copy to clipboard operation
serial-rs copied to clipboard

Serial enumeration

Open Susurrus opened this issue 8 years ago • 9 comments

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

Susurrus avatar Mar 29 '16 05:03 Susurrus

Python's take on serial port enumeration.

goertzenator avatar Apr 06 '16 19:04 goertzenator

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.

dcuddeback avatar Apr 08 '16 03:04 dcuddeback

@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).

Susurrus avatar Jul 04 '16 22:07 Susurrus

@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.

dcuddeback avatar Jul 05 '16 04:07 dcuddeback

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 avatar Jul 05 '16 15:07 Susurrus

@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.

Susurrus avatar Aug 24 '16 14:08 Susurrus

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

danieledapo avatar Nov 21 '16 17:11 danieledapo

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

Michael-F-Bryan avatar Aug 18 '17 19:08 Michael-F-Bryan

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

AJAnderson avatar May 27 '19 06:05 AJAnderson