Hi, At the moment I just allocate it in kernel space during the usb probe... dev->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL);
this may not be the best place for it, but the allocate doesnt fail...
Once Im able to get image data from the device ill be adding v4l support and then ill rearrange some of the memory stuff...
Unless of course that allocation is whats causing the trouble, then ill have to rearrange it now (my driver started with the usb_skeleton driver, so things are done pretty much how they were in there)
Toby
Oliver Neukum wrote:
I have the basics all going and I get all the expected replies from the control message, however when i submit the usb bulk request (for 6480x480 bytes...so 0x4b000), I only get 512 bytes back and the pipe stalls...
Where do you allocate a buffer that's large enough for that?
Regards 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