serialport / serialport-rs

A cross-platform serial port library in Rust. Provides a blocking I/O interface and port enumeration including USB device information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing COM ports in Windows

Crzyrndm opened this issue · comments

commented

Crate version is latest published (4.2.0)

I have a USB connected cell modem that enumerates in windows as 5 COM ports. On some computers, all of these are listed in device manager under "Ports (COM & LPT)" while on others, 2 of the ports only show up under "Modems".
image
In ^^, COM5 and COM7 are the "modem" ports

It would greatly simplify the hack I currently have in place to find the modem ports if those "modem" ports could also be listed

commented

Yeah, for some reason serial port rs tends to skip those ports associated with modems, happens on linux too ( TTYACMx ), though opening a modem as a serial port is supported and supposed to work, so you can configure the modem.