Author Topic: Hid1.0 low speed not working on AMD Machine  (Read 13983 times)

kittu

  • Member
  • ***
  • Posts: 16
Hid1.0 low speed not working on AMD Machine
« 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.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Hid1.0 low speed not working on AMD Machine
« Reply #1 on: April 24, 2012, 08:51:06 am »
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

kittu

  • Member
  • ***
  • Posts: 16
Re: Hid1.0 low speed not working on AMD Machine
« Reply #2 on: April 25, 2012, 02:14:19 am »
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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Hid1.0 low speed not working on AMD Machine
« Reply #3 on: April 25, 2012, 10:11:13 am »
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