lkml.org 
[lkml]   [2006]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] [USB] urb->number_of_packets = 256 !
On Mon, 27 Nov 2006, Duncan Sands wrote:

> Hi Ilyes, you won't be able to allocate that much *contiguous* memory,
> but you should be able to allocate enough non-contiguous memory (e.g.
> by calling __get_free_page 256 times; not the same as calling
> __get_free_pages(8) !). To use that memory, you can try using the usb
> scatter/gather support (see usb.h); I don't know if it works with
> isochronous urbs though. I've CC'd the usb development list - maybe
> someone there can help.

The scatter/gather library does not support iso.

> > Splitting the transfer across multiple URB doesn't seem to work (I didn't really
> > investigate in depth this possibility).

It should work. Go back and try it again more carefully.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-27 16:05    [W:0.255 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site