On Mon, 12 Sep 2005, Istvan De wrote:
> > It is. Note that in general with bulk transfers, arrival of a
> > short packet (32 bytes instead of 64, for example) indicates the end of a
> > data stream.
> so you mean that a short packet will only arrive if the device sends a short
> packet or the u
Hi,
> > however, what if I
> > allocate
> > a 128byte buffer just for the sake of this example, and submit URBs with
> > 64 byte transfer buffers.
>
> I hope you're speaking only theoretically. A 64-byte transfer buffer is
yes, of course, I'm working currently with 5 ms buffers
> > For the fi
On Mon, 12 Sep 2005, Istvan De wrote:
> Hi,
>
> How do you implement buffers for streaming USB data in a kernel driver?
>
> For me, ring buffers would be an obvious choice,
They seem like the obvious solution for almost any case.
> however, what if I
> allocate
> a 128byte buffer just for the