Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

CCyUSBDevice->DeviceName() Not Returning the String from Device Descriptor in Vista

CCyUSBDevice->DeviceName() Not Returning the String from Device Descriptor in Vista

Anonymous
Not applicable
Question: While working with the CYAPI.lib and cyusb.sys driver  in Vista  the function CCyUSBDevice->DeviceName() returns something similar to Port_#0001.Hub_#0001 and not the string from the device descriptor. This is also visible in cyconsole.

 

Answer:

This is a known issue with CYAPI.lib which is also mentioned in the SuiteUSB release notes. CyConsole will show Port and Hub address in the place of Device Name in Vista 32 and 64 bit OS. You can use USBDevice->Product instead of USBDevice->DeviceName. This will return the same value on all operating systems.

0 Likes
328 Views
Contributors