Hi,
I am attempting to write a USB driver for a usb 2.0 camera device (from vrmagic), I have captured the output of the setup stuff (control commands) from the windows demo app and I am attempting to reproduce this in linux....
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...
At this point in windows the app recieves a full frame from the camera...
I have verified that the 512 bytes of data appear to be valid (by sticking different coloured sheets in front of the camera), so its just the transfer thats breaking....
Im using a synchronous bulk message call for the moment for ease of prgramming, however I had a quick look at the source and it doesnt look like ill get anything different out of the asynchronous call...


If I connect the device to a full speed port insted of a high speed port then I only get 64 bytes back so it looks like some sort of timeout, however no error is returned...
If i do a follow up bulk read i get EPIPE showing the pipe stalled after the first read...


Does anyone have any ideas what could be going wrong...any ideas would be greatly appreciated.

Thanks,
Toby


-------------------------------------------------------
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

Reply via email to