Hi Ryan,

On Monday 05 November 2007, Ryan Jud Hughes wrote:
> Hi.  I just got a ThinkPad R61.  It has a usb webcam which does not seem to
> work.  It's using the uvc module, so I thought this would be the place.
>
> The output from lsusb is the subject of this message.  Here's the output of
> a few apps:
>
> ____ Application:  xawtv (shows black screen) ____
> This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.22-14-generic)
> WARNING: Your X-Server has no DGA support.
> /dev/video0 [v4l2]: no overlay support
> v4l-conf had some trouble, trying to continue anyway
> Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*"
> to type FontStruct
> ioctl: VIDIOC_G_STD(std=0x7fff98783514
> [PAL_G,PAL_I,PAL_M,PAL_Nc,NTSC_M,NTSC_M_JP,SECAM_H,SECAM_K,SECAM_K1,SECAM_L
>,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null
>),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
> ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
> ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0
> [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.s
>econds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0
>;memory=unknown): Invalid argument

Xawtv 3.95 is known not to work. You could try upgrading to the 4 beta 
version.

> ____ Application:  gqcam ____
> Segmentation Fault
>
> ____ Application: luvcview ____
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video0
> Unable to set format: 22.
>   Init v4L2 failed !! exit fatal
>

Pretty normal if your webcam support yuv only.

> ____ Application:  luvcview -f yuv ____
> Shows an image, which is attached.

That's bad :-/ Do you get any suspicious message in the kernel log when 
running luvcview -f yuv ? Try to set the trace level to 128 ('modprobe 
uvcvideo trace=128' or 'echo 128 > /sys/modules/uvcvideo/parameters/trace') 
and see if you get any "Dropping payload" message (warning: this will flood 
your kernel log).

> ____ Application:  cheese ____
>
> ** Message: Probing the webcam, please ignore the following, not
> applicabable tries
> ** Message: test pipeline for v4l2src failed:
> Failed to construct test pipeline for 'v4l2src ! fakesink'
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-rgb,width=640,height=480 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline1/v4lsrc0:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-yuv,width=640,height=480 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline2/v4lsrc1:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-yuv,width=640,height=480 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-rgb,width=320,height=240 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline3/v4lsrc2:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-rgb,width=320,height=240 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-rgb,width=1280,height=960 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline4/v4lsrc3:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-rgb,width=1280,height=960 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-rgb,width=174,height=144 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline5/v4lsrc4:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-rgb,width=174,height=144 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc !
> video/x-raw-rgb,width=160,height=120 ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline6/v4lsrc5:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! video/x-raw-rgb,width=160,height=120 ! fakesink]: Could not
> get/set settings from/on resource.
> ** Message: Error running pipeline 'v4lsrc ! fakesink': Could not get/set
> settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm ():
> /pipeline7/v4lsrc6:
> Error setting the channel/norm settings: Invalid argument]
> ** Message: test pipeline for v4lsrc failed:
> [v4lsrc ! fakesink]: Could not get/set settings from/on resource.
> using source: videotestsrc

I think there's a known issue with some gstreamer versions. Try searching the 
mailing list archive for more information.

Best regards,

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

Reply via email to