On Wednesday 18 March 2009 20:35:28 Riccardo Magliocchetti wrote:
> Laurent Pinchart ha scritto:
> > On Monday 16 March 2009 21:43:41 Riccardo Magliocchetti wrote:
> >> hi,
> >>
> >> my syntek webcam (174f:5931) does not work with ekiga and cheese but
> >> it works fine with luvcview.
> >>
> >> The kernel is latest linus git tree v2.6.29-rc8-124-g5bee17f , libv4l is
> >> 0.5.9.
> >>
> >> I've attached lsusb -v output and this is cheese output:
> >> [snip]
> >> v4l2src name=video_source device=/dev/video0 ! capsfilter
> >> name=capsfilter
> >> caps=video/x-raw-rgb,width=800,height=600,framerate=7/1;video/x-raw-yuv,
> >>wid th=800,height=600,framerate=7/1 ! identity
> >> libv4l2: error setting pixformat: Device or resource busy
> >> libv4l2: error requesting 4 buffers: Device or resource busy
> >
> > The device seems to be already open. Use fuser to find out if an
> > application is using the video device.
>
> Unfortunately fuser reports the device opened only by cheese.

The driver returns -EBUSY either when the device is already opened or if the 
camera is streaming.

Try to set the trace parameter to 255 (echo 255 > 
/sys/modules/uvcvideo/parameters/trace). The driver will then print debug 
messages to the kernel log, including a trace of the functions called by the 
userspace application. You should then be able to check if the device is 
opened twice, or if streaming has been started prior to the failed set format 
call.

Best regards,

Laurent Pinchart

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to