I need to allocate a large enough buffer for a bulk read of 640x480 bytes (0x4b000), If I use kmalloc, I get an allocation failure (fair enough its a fair chunk of memory), if i use vmalloc, then the allocation succeeds, however if I feed this pointer into the bulk read urb, it returns sucessfully but none of the data is filled in..(who knows where the write is actually going to).
What is the correct way to allocate a large buffer for a bulk read? or am I just using the buffer wrong...
Any help is much appreciated, (perhaps a driver I can use as an example, ive been using the oc511 and usb-skeleton drivers as a base, however the ov511 only allocates 32000 odd bytes using kmalloc)
Toby Collett
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel