Re: isoc-in endpoint transfers

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

 



On Thursday 17 March 2011 13:55:18 Daniele Capuano wrote:
> - as the second scenario, I'm trying to let the gadget to start
> sending packets first, while the host waits a little time to start
> receiving. As a consequence, the first two or three buffers are
> correctly received by the host, but then no more data is received
> (i.e. actual_length = 0 and status = 0).

Hi,

Set NUM_ISO_PACKETS to 32 and use/submit 2xURB's to achieve double buffering. 
With your current setup you only get single buffering with the most common 
EHCI/OHCI/UHCI hardware. That's why you are loosing data.

--HPS
--
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