You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm that starting with v10.5.0 the Serial Numbers on Windows are not reported correctly.
I also have a device with multiple CDCs that opens up multiple Serial Ports.
Instead of the correct Serial Number the last part of the pnpId is used.
What is also broken in v10.4.0 is that if I connect two USB devices with the same reported Serial Number, Windows replaces it with a fake one. I did not found a way to query the registry / wmi for the correct serial number in this case. Might just be a Windows issue.
SerialPort Version
Node Version
18.x.x
Electron Version
No response
Platform
Microsoft Windows NT 10.0.19045.0 x64
Architecture
x64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
Listing devices from
Serialport.list()
on windows.What happens?
Since
serialPort@10.5
the return serial number in the port infos is no longer correct.Result of
SerialPort.list()
pnpId
:USB\\VID_6244&PID_0622&MI_00\\6&FED21C1&0&0000
serialNumber
:6&FED21C1&0&0000
// wrong SNWhat should have happened?
Expected result of
SerialPort.list()
pnpId
:USB\\VID_6244&PID_0622&MI_00\\6&FED21C1&0&0000
serialNumber
:000002003006
Additional information
Issur not detected on macOs
The text was updated successfully, but these errors were encountered: