-
Notifications
You must be signed in to change notification settings - Fork 87
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
detect_m8_serial_device can't find device on Windows #134
Comments
Unfortunately I don't have a Windows 11 machine I could try to reproduce the problem with. With my Win10 install it seems to be working correctly. Could someone with Win11 please try and see if this happens on more than one machine? |
For context : this is a Windows 11 Pro install with all security features enabled. I can reproduce the same issue on a laptop with the same exact setup. I will try on a Windows 11 Home edition too. |
Hi, I also have Windows 11 Pro, and am having the same problem. M8 is detectable by M8 web display, I see the COM port in Device Manager when I connect the M8 as well as the M8 audio devices, but opening m8c results in the "DEVICE DISCONNECTED" error message. Please let me know what I am able to do to help. I have setup the mingw toolchain and can compile m8c and test dev builds if necessary. |
Update : I've just tester the latest release on W11 Pro and Home and still have the same issue. But everything work fine if I disable all the checks. |
Same here, if I remove the checks for USB VID and PID and just return 1, it will work correctly. |
This is probably a libserialport issue, need to look up if some other project has bumped into the same issue when I have some time |
This issue is still present, how do I remove those checks? |
Hello 👋
I just encounter a problem on Windows 11 while using M8C :
The method
detect_m8_serial_device
seem to not be able to find the correct values while reading the VID and PID.While debugging, I found that the VID and PID returned by
sp_get_port_usb_vid_pid
were totally random.m8c/src/serial.c
Line 29 in 9d70859
Then the next check fail as the VID and PID doesn't match the correct values:
m8c/src/serial.c
Line 31 in 9d70859
If I comment all the check and force detect_m8_serial_device to return 1 when detecting port COM1 (the port where the headless unit is connected), m8c work as intended.
I can't find why libserialport can't read the correct values on windows.
Have a nice day !
The text was updated successfully, but these errors were encountered: