Skip to content

Windows: Unable to Open COM Port via USB Device Path #258

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

Open
Neme opened this issue Apr 17, 2025 · 0 comments · May be fixed by #259
Open

Windows: Unable to Open COM Port via USB Device Path #258

Neme opened this issue Apr 17, 2025 · 0 comments · May be fixed by #259

Comments

@Neme
Copy link

Neme commented Apr 17, 2025

On Windows, attempting to open a serial port using a Device Interface Path instead of a COM port name results in a failure.

For example, trying to open the following device path fails:

\\?\USB#VID_0483&PID_5740#158133603236#{86e0d1e0-8089-11d0-9ce4-08003e301f73} 

This path corresponds to a USB virtual COM port

Expected behavior: The serial port should open successfully when using a valid Device Interface Path.

@Neme Neme linked a pull request Apr 17, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant