USB composite device : Device cannot start Error code 10

Dear All ,

I have an usb composite device wih audio & vendor specific interface .

When i am installing this device on windows XP ,Audio driver is not properly loaded.

In the Device manager , it shows a yellow mark on USB Audio Device & its proerty says that it is
“device cannot start Error code 10”.

Microsft KB article http://support.microsoft.com/kb/310123 give some hint but it does not tell much about the reason behind the problem.
It tell If the device has a FailReasonString value in its hardware key, that string appears as the error message else it will show error code 10 .

When i replug the device it is working fine .

Device Interface 00 is Audio & Interface 02 is Vendor Specific.

In Microsoft KB article http://support.microsoft.com/?kbid=814560 it is said that
“Composite USB devices whose interfaces are not sequentially numbered do not work in Windows XP”. Is it the reason of the problem ?

Is this Windows Bug or Device problem?

what can I do to resove the problem ?

Any suggestion will be really helpful .

Thanks

I do not know the answer to this specific problem, and this area is
really not my thing. However, as it is late (at least in the US), and
you may not get another reply this evening, here are my thoughts, for
whatever they are worth.

“Error Code 10,” along with “Error Code 1” are very common errors during
device installation, both of which, as you note, tell you basically
nothing other than that there is a problem. Additionally, that it works
after removing and reinserting is also common.

Option A is that the only piece of advice I can offer you, which perhaps
you already know, is to look at the setupapi.log file (\Windows), where
there should be a great deal of detail about the installation process
and why it failed. It is rather cryptic (at least to me), but it is a
place to start.

Option B is wait a until tomorrow for someone who can give you better
advice more confidently; I would say the odds are very good that Doron,
in particular, knows the answer to this problem.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@indiainfo.com
Sent: Monday, August 20, 2007 02:17
To: Windows System Software Devs Interest List
Subject: [ntdev] USB composite device : Device cannot start Error code
10

Dear All ,

I have an usb composite device wih audio & vendor specific interface .

When i am installing this device on windows XP ,Audio driver is not
properly loaded.

In the Device manager , it shows a yellow mark on USB Audio Device &
its proerty says that it is
“device cannot start Error code 10”.

Microsft KB article http://support.microsoft.com/kb/310123 give some
hint but it does not tell much about the reason behind the problem.
It tell If the device has a FailReasonString value in its hardware key,
that string appears as the error message else it will show error code 10
.

When i replug the device it is working fine .

Device Interface 00 is Audio & Interface 02 is Vendor Specific.

In Microsoft KB article http://support.microsoft.com/?kbid=814560 it is
said that
“Composite USB devices whose interfaces are not sequentially numbered do
not work in Windows XP”. Is it the reason of the problem ?

Is this Windows Bug or Device problem?

what can I do to resove the problem ?

Any suggestion will be really helpful .

Thanks


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

In my experience, the error code 10 means that starting the device failed(IRP_MN_START_DEVICE), may be your driver has something wrong or the firmware in the device has something wrong, when dealing with the IRP_MN_START_DEVICE request, for example, the firmware don’t answer the request properly.

CM_PROB_ constants in the DDK headers are these error codes.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Dear All ,
>
> I have an usb composite device wih audio & vendor specific interface .
>
> When i am installing this device on windows XP ,Audio driver is not properly
loaded.
>
> In the Device manager , it shows a yellow mark on USB Audio Device & its
proerty says that it is
> “device cannot start Error code 10”.
>
> Microsft KB article http://support.microsoft.com/kb/310123 give some hint but
it does not tell much about the reason behind the problem.
> It tell If the device has a FailReasonString value in its hardware key, that
string appears as the error message else it will show error code 10 .
>
> When i replug the device it is working fine .
>
>
> Device Interface 00 is Audio & Interface 02 is Vendor Specific.
>
> In Microsoft KB article http://support.microsoft.com/?kbid=814560 it is said
that
> “Composite USB devices whose interfaces are not sequentially numbered do not
work in Windows XP”. Is it the reason of the problem ?
>
>
> Is this Windows Bug or Device problem?
>
> what can I do to resove the problem ?
>
> Any suggestion will be really helpful .
>
> Thanks
>
>
>

> When i replug the device it is working fine.

Test your device with USB command verifier (usbcv) and make sure it passes all chapter 9 test.

Leo Havmøller.

Hi Amit,
whatever Leo says that is true. You should have to check whether your device supports normal USB functionality.

And one more suggestion to you is that, please check your device descriptors Bytes. Have you mentioned that your device has composite device facility? There is some different value for this. So when PC query for first 18 Bytes as device descriptor, PC will parse it.

Regards,
Tejas

xxxxx@indiainfo.com wrote:

I have an usb composite device wih audio & vendor specific interface .

When i am installing this device on windows XP ,Audio driver is not properly loaded.

In the Device manager , it shows a yellow mark on USB Audio Device & its proerty says that it is
“device cannot start Error code 10”.

When i replug the device it is working fine .

Device Interface 00 is Audio & Interface 02 is Vendor Specific.

In Microsoft KB article http://support.microsoft.com/?kbid=814560 it is said that
“Composite USB devices whose interfaces are not sequentially numbered do not work in Windows XP”. Is it the reason of the problem ?

No. A USB Audio Class device uses two interfaces: interface 0 is
probably the control interface, and interface 1 is probably the
streaming interface. Thus, interface 2 would be the next consecutive
interface number.

Are you using an INF file? If so, does your INF file actually load
usbaudio.sys?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Amit Shahi wrote:

Device Interface 00 is Audio & Interface 02 is Vendor Specific.

In Microsoft KB article http://support.microsoft.com/?kbid=814560
it is said that “Composite USB devices whose interfaces are not
sequentially numbered do not work in Windows XP”. Is it the
reason of the problem ?

Note that KB814560 only applies to XP SP1 and earlier, which I doubt you are using. At any rate, the real questions are:

  1. does your device really only have two interfaces numbered 0 and 2 (which is bad), or does it have interfaces 0/1/2 and 0/1 need to be grouped in the MI_00 child PDO, and

  2. if we’re talking about 0/1/2, does the XP usbccgp understand how to group USB audio interfaces 0 and 1 – if not you will need your own bus driver.