PORTS Forum
Ports and Interfaces => USB => Topic started by: lanmanck on May 23, 2013, 02:27:01 am
-
Hi,Guys.
I just have my devcie working. But there is a interesting I have no idea:
When open it using WinUSB, it show the speed is LOW, code from M$: "WinUSB How to.docx"
When view it using USBView from WindowsDDK from M$, it show the speed is FULL(that 's what I want).
So have you met this problem before? if did, why?
-
The Microsoft documentation for WinUsb_QueryDeviceInformation has been wrong. The function returns one of two values for device spped, "low or full" or "high or higher". I don't know how usbview determines speed, but I believe the source code is in the wdk.
-
I also beleive that, using bus hound also return FULL speed. I will try to ask them in Microsoft forum :-)
-
Here is the corrected documentation:
If InformationType is DEVICE_SPEED, on successful return, Buffer indicates the operating speed of the device. 0x03 indicates high-speed or higher; 0x01 indicates full-speed or lower.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff540290%28v=vs.85%29.aspx