-
Notifications
You must be signed in to change notification settings - Fork 34
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
Windows 10 #12
Comments
I wonder if this was something to do with it being a composite device. The Arduino branch of the library has some changes related to handling composite devices that might be relevant - Martino has said he'll be putting in a pull request with fixes to go upstream. https://github.com/arduino/libserialport/commits/master Arduino are using libserialport for enumeration now including VID/PID so I can only assume that it's working on Windows 10 for most if not all cases. |
The arduino version does indeed seem to retrieve the VID/PID correctly for composite devices under Windows 10, however it no longer retrieves the USB string descriptors such as the serial number during enumeration. This is an issue if you have multiple composite USB devices of the same type, each with a serial port and you wish to find the serial port of a specific one. |
See the attached image with debug log enabled.
Retrieving VID & PID seems to be broken. On Windows XP SP3 it works well.
BTW I'm running Windows 10 in Parallels. The device is bridged from the host machine.
And the binary is generated by i686-mingw32-w64 cross compiler.
Code is like:
The text was updated successfully, but these errors were encountered: