PORTS Forum
Ports and Interfaces => USB => Topic started by: kittu on April 24, 2012, 12:49:24 am
-
Hello,
I am working with Cypress Hid 1.0 Low speed Device.
This Device Is working Fine With Intel machine but gives problem on AMD Machine.
My AMD Machine Confugration is
Processor : AMD sempron145,2.1ghhz
RAM : 2gb
OS : Winxp sp2
Usb Mouse & Keyboards are working fine on same machine but my device is not working.
as i debugg the code i found that below call gets failed
Result=SetupDiEnumDeviceInterfaces
(hDevInfo,
0,
&HidGuid,
before this function we use
HidD_GetHidGuid(&HidGuid);
/*
API function: SetupDiGetClassDevs
Returns: a handle to a device information set for all installed devices.
Requires: the GUID returned by GetHidGuid.
*/
hDevInfo=SetupDiGetClassDevs
(&HidGuid,
NULL,
NULL,
DIGCF_PRESENT|DIGCF_INTERFACEDEVICE);
devInfoData.cbSize = sizeof(devInfoData);
this function are working fine.
my device is suppose to be not enumrate with amd Machine
Let Me know what is the problem with AMD Machine.
Thank You.
-
If the device doesn't show up as working in Windows Device Manager, it didn't enumerate successfully.
Use a protocol analyzer or whatever debugging tools you have to find out what the host is sending and how the device is responding during enumeration.
Jan
-
Thank You For reply
i tried with sourceUSb protocol analyzer tool
but the problem is that machine is unable to find the device
so analyzer dose not get any input
is any other suggestion ???
thank you
-
Use a hardware protocol analyzer, a software analyzer that shows enumeration traffic, or other debugging tools such as a monitor program for your hardware.
Jan