Google
  Web www.spinics.net

Re: submit urb question (isochronous mode)

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


On Mon, 10 Sep 2007, Philip Rakity wrote:

> 
> Hi Alan,
> 
> compressed video works just fine at full speed with 1ms timing.
> 
> another question if you do not mind.
> 
> a) is a urb coupled to a USB transaction ?  
> 
> if I assume say 1ms transfer of say 800 bytes and I submit a urb with
> say 10 buffers of 800 bytes each.  What happens ?  are 9 of the
> buffers wasted ?  or are things split into 10 usb transactions each
> 1ms apart.

For Isochronours URBs, each buffer corresponds to a single, separate
transaction.  So there would be 10 transactions, each of 800 bytes, 
lasting for 10 ms total.

For other types of URBs, there is only one buffer and it corresponds to 
as many transactions as needed (roughly speaking, the buffer size 
divided by the endpoint's max-packet size).

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]