nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

usb_enum does not work under Windows #201

Open nthallen opened 8 months ago

nthallen commented 8 months ago

Cygwin does have an lsusb, but it is not really functional due to no /sys/bus hierarchy. It has a verbose option (-v), but it does not report iSerial values, and without the /sys/bus hierarchy, there is no mapping to devices.

In the short term, a workaround specifically for windows, such as the old host-based assignments, might work.

Longer term: PowerShell seems to be able to get the iSerial value, but folds it into DeviceID, e.g.: DeviceID : USB\VID_0403&PID_6001\FT3II7WK I have not found a way to map, say, COM ports to USB devices yet.