-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Laurent,

Laurent Pinchart wrote:
> Hi Jan,
> 
> Could you try different resolutions ? The driver should report the
> bandwidth requested by the camera in the kernel log, that information
> can help debugging the issue.

OK, got it work now - I guess I have mixed some incompatible module
versions.

320x240 15 and 30fps works, both cameras stream.
Log shows: uvcvideo: device Vimicro USB2.0 PC Camera requested 595 bytes
per payload.

352x288 15 and 30fps works, both cameras stream
Log: uvcvideo: device Vimicro USB2.0 PC Camera requested 785 bytes per
payload.

640x480 15 and 30fps doesn't work, opening second luvcview results in:
uvcvideo: device Vimicro USB2.0 PC Camera requested 2380 bytes per payload.
uvcvideo: Failed to submit URB 0 (-28).

Strange thing is that the amount of data requested doesn't depend on the
frame rate.

I did a bit of experimentation and have managed to get both cameras
stream at 640x480/15fps with the payload size of 2000 bytes. However,
luvcview hangs if I try to use 30fps (there is no message in the log). I
think you need to take the requested framerate in the account when doing
the calculation.


> Please note that you must use the videodev module (and its
> dependencies) from the uvcvideo source tree. Mixing uvcvideo from the
> mercurial tree with a mainline videodev module will probably crash.

Yep - that was it :(


Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJmECcn11XseNj94gRAuJkAJ0YQy+B1wL0M8i7rCZbC//dQnOtjQCgnTyM
FXjydE+KeTkSxfLwF0bGE9o=
=crOr
-----END PGP SIGNATURE-----
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to