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

Cannot configure port, something went wrong. #4

Closed
mkaatman opened this issue Jan 4, 2022 · 2 comments
Closed

Cannot configure port, something went wrong. #4

mkaatman opened this issue Jan 4, 2022 · 2 comments

Comments

@mkaatman
Copy link

mkaatman commented Jan 4, 2022

I have tried several USB ports and when I refresh the port checker it sees the port, but upon hitting start I always get this error. (Sonoff dongle)

Cannot configure port, something went wrong. Original message: OSError(22, 'The parameter is incorrect.', None, 87

image

I found a relevant stackoverflow question but no answer.
https://stackoverflow.com/questions/53649868/win32-setcommstate-with-pyserial-in-win10

Edit: Second windows computer worked.

@xyzroe
Copy link
Owner

xyzroe commented Jan 4, 2022

It seems to me that on the first computer you choose the wrong COM. For example virtual or embedded.
This error is given by pySerial.
Can you verify that the correct COM port is selected, for example, using the device manager?

@mkaatman
Copy link
Author

mkaatman commented Jan 4, 2022

You are correct. I noticed it was showing up as COM3 and after I installed the CP210x driver it works. ty!

@mkaatman mkaatman closed this as completed Jan 4, 2022
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

2 participants