IntergatedCircuits / HidSharp

HIDSharp is a multiplatform C# library for USB HID devices by James F. Bellinger
https://www.zer7.com/software/hidsharp
Other
121 stars 34 forks source link

DevicePath - before like USB, now COMn #10

Open FlemmingOstergaard opened 2 years ago

FlemmingOstergaard commented 2 years ago

Hi Somewhere in an update, the DevicePath has changed from something like "usb&hid....." to COMn.

I need to identify the actual USB device, sitting on the COM port.

Anyone know a solution to this?

benedekkupper commented 2 years ago

Can you give us some actual information, like what OS you are talking about? Update of the OS / device driver / .NET Framework / HidSharp library?

The most likely scenario is that your USB device's VID:PID was assigned a specific default driver by Microsoft, and it no longer relies on the device descriptors anymore. Try to change the assigned driver to generic HID device in Device Manager.