sorry to be a pain about this but when I use rvmalloc I still have the same issues as using vmalloc, basically I submit my bulk read urb, it comes back claiming success with the correct 0x4b000 bytes read, however the data buffer has not been touched...
I looked at all of the drivers in the usb/media directory in the kernel sources and all of the buffers for bulk reads are allocated using kmalloc... however all of them use substantially smaller buffers, which doesnt appear to be an option for me.
Toby
Oliver Neukum wrote:
What is the correct way to allocate a large buffer for a bulk read? or am I just using the buffer wrong...
You are supposed to use static void *usbvideo_rvmalloc(unsigned long size) The whole usbvideo framework should make the driver much easier to write.
HTH Oliver
-------------------------------------------------------
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