Re: Devices without stream pipes are not enumerating.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Sep 2009, B.Vinai Kumar wrote:

> Hi Alan,
> 
> I got the device working now.
> 
> I am using this device with USB over IP application, it was the
> virtual host controller driver not reporting the actual length upon the
> completion of  control IN transaction to application driver when
> zero length data is received from the device.
> 
> --> The application driver sends a control OUT transaction to the device
>      once it receives the reply of control IN transaction with actual length
> zero.
>      This was missing earlier & the device is not capturing the image.
> 
> Thanks for your inputs.
> 
> From your previous reply, I have a doubt,
> 
> > The interface descriptor says that there are no endpoints,
> > but it is followed by an endpoint descriptor anyway.
> 
> In USB 2.0 it is said that if bNumEndpoints is zero then
> that interface uses only default control pipe. So that's why
> it may be sending the endpoint zero descriptor (though it is
> not used by linux core while parsing the config desc).

The USB 2.0 spec also says that endpoint 0 should not be included among 
the endpoint descriptors for an interface.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux