Detecting start/stop streaming for UVC webcam with bulk transfer mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am currently working with UVC camera device which send data using
bulk transfer for preview and capture.
I have modified UVC gadget driver to start bulk streaming on receiving
first UVC_VS_COMMIT_CONTROL request from host side.
But currently not able to detect when to stop the streaming.

I am running Cheese Application on host side to test start/stop streaming.
UVC gadget driver's 'uvc_function_set_alt' function is getting called
when closing the cheese application, but this function is also
(sometime) getting called when starting the cheese application on HOST
side, also some time this function gets called after receiving first
COMMIT_CONTROL.

So, currently I am not able to find a proper way for starting /
stopping streaming for UVC bulk transfer.
Anyone has successfully implemented the start/stop streaming usecase
for bulk mode?

Any pointer would be very helpful.

Thanks,
Chetan Nanda
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux