Streaming on USB 2.0 bulk camera device

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have written a streaming isochronous client driver to support our USB 2.0
camera device. In USB 2.0, each isochronous endpoint can only transmit 3 x
1024 bytes per microframe, which means a transfer rate of 24 MB/s. It is not
fast enough to handle data coming from our camera, which can go up to 40 MB/s
and above.

Since the camera is the only device on the whole USB bus, I have modified
the driver and the camera firmware to do bulk transfer in order to maximize
the throughput. The problem I have encountered is that I can only send one
IRP to lower driver if I do bulk (for isochronous, I can send multiple IRPs
down). If I send more than one IRP, it will stop incoming data from device
(I don't understand why). Since data stream from camera is continuous, there
will be severe data loss between the period that lower driver returns the IRP
to my driver and my driver sends the IRP down to lower driver.

Could someone point me to a right approach to tackle this problem. Thanks
in advance.

Victor
.



Relevant Pages

  • Re: USB Multiple Device Problem
    ... I am using a self-powered hub. ... Our device has 1.1 usb so when the mass-storage is loaded it seems not to ... using only the camera is not an option for our client:) ... and then pop the dialog box to enter the dll name for the driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Polaroid Digital Camera not found
    ... So I tested another digital camera of mine at it does the same thing. ... Page 36 says it is a "USB Mass Storage" type of camera, ... driver needs to be installed. ... reinstall the devices. ...
    (microsoft.public.windowsxp.hardware)
  • Re: USBCAMD2
    ... USB Driver bugcheck, first parameter is USB bugcheck code. ... 8165a008, Address of pending IRP. ...
    (microsoft.public.development.device.drivers)
  • Re: USB camera: ISO transfer ASAP?
    ... I have a question on developing device driver for a USB2.0 camera. ... USB bus analyzer, the driver cannot provide the ISO request every ...
    (microsoft.public.development.device.drivers)
  • Re: Streaming on USB 2.0 bulk camera device
    ... >I have written a streaming isochronous client driver to support our USB 2.0 ... In USB 2.0, each isochronous endpoint can only transmit 3 x ... >fast enough to handle data coming from our camera, which can go up to 40 MB/s ... >IRP to lower driver if I do bulk (for isochronous, ...
    (microsoft.public.development.device.drivers)