Author Topic: USB descriptor checker  (Read 9301 times)

beandigital

  • Member
  • ***
  • Posts: 17
USB descriptor checker
« on: February 27, 2013, 09:02:23 am »
Is there such a program that will check a set of USB descriptors. The trouble is I am writing USB audio class 2.0 descriptors for an FX2LP processor,  and I am finding that Windows complains that it can't start the driver for the device. So is there a way to find out what it doesn't like or a program to check that the descriptors are OK.

Thanks

Jon   

nvd

  • Member
  • ***
  • Posts: 42
Re: USB descriptor checker
« Reply #1 on: February 27, 2013, 09:13:26 am »
Considering the variations possible in the descriptor information, I don't think there is any such program available.

The error could be because of improper values of VID,PID, bcdDevice.
If your device is bus powered, you should request for desired power withing spec limit and shouldnt exceed that value.

In case of Audio device, I guess rarely the host will refuse the device if the bandwidth your device desires is not available.

nvd

beandigital

  • Member
  • ***
  • Posts: 17
Re: USB descriptor checker
« Reply #2 on: February 27, 2013, 09:27:24 am »
But Windows must have some way to check the descriptor and then decide that it doesn't like it. So there must be a way to find out what it didn't like.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: USB descriptor checker
« Reply #3 on: February 27, 2013, 09:46:38 am »
I would start by viewing the setupapi log files. Here is one tutorial:

http://sourcedaddy.com/windows-7/using-setupapi-log-file.html

A protocol analyzer is also useful for showing any problems in retrieving descriptors.