On Thursday 17 January 2008, Sid Boyce wrote:
> Sid Boyce wrote:
> > Sid Boyce wrote:
> >> Laurent Pinchart wrote:
> >>> Hi Sid,
> >>>
> >>> On Wednesday 16 January 2008, Sid Boyce wrote:
> >>>> Sid Boyce wrote:
> >>>>
> >>>> After upgrading to 2.6.24-rc8, getting different results.
> >>
> >> #### Guessed you missed this.
> >>
> >>>> # 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
> >>
> >> # luvcview -l
> >> 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
> >> sepulot:~ # luvcview -L
> >> luvcview version 0.2.1
> >> Video driver: x11
> >> A window manager is available
> >> video /dev/video0
> >> /dev/video0 does not support read i/o
> >> { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
> >> { discrete: width = 640, height = 480 }
> >> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1,
> >> { discrete: width = 352, height = 288 }
> >> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1,
> >> { discrete: width = 320, height = 240 }
> >> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1,
> >> { discrete: width = 176, height = 144 }
> >> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1,
> >> { discrete: width = 160, height = 120 }
> >> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1,
> >>
> >>> xawtv 3.95 has a known bug. Please try luvcview instead.
> >>>
> >>> Best regards,
> >>>
> >>> Laurent Pinchart
> >>
> >> Regards
> >> Sid.
> >
> > Seen in "strace -s 256 -f luvcview -d /dev/video1".
> > open("/dev/video1", O_RDWR) = 7
> > ioctl(7, VIDIOC_QUERYCAP or VT_OPENQRY, 0x64a520) = 0
> > ioctl(7, VIDIOC_S_FMT or VT_RELDISP, 0x64a588) = -1 EINVAL (Invalid
> > argument)
> > close(7) = 0
> > write(1, "luvcview version 0.2.1 \nVideo driver: x11\nA window manager
> > is available\nvideo /dev/video1 \nUnable to set format: 22.\n Init v4L2
> > failed !! exit fatal \n", 150luvcview version 0.2.1
> > Video driver: x11
> > A window manager is available
> > video /dev/video1
> > Unable to set format: 22.
> > Init v4L2 failed !! exit fatal
> > ) = 150
> > exit_group(1)
> >
> > Problem with format.
> > Worked finally using "luvcview -f yuv -d /dev/video1".
> > Regards
> > Sid.
>
> # luvcview -f jpg -d /dev/video1
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video1
> Unable to set format: 22.
> Init v4L2 failed !! exit fatal
That's pretty normal, your camera supports YUV only. You must use
luvcview -f yuv -d /dev/video1
> Also does not work with skype. No format or other errors seen in skype.
> The only referene in strace for skype:
> [pid 19901] open("/dev/video1", O_RDWR|O_NONBLOCK) = 17
> [pid 19901] ioctl(17, VIDIOC_QUERYCAP or VT_OPENQRY, 0xf41d1054) = 0
> [pid 19901] close(17)
> I don't see any strace reference for when I try the skype camera test.
As Skype is a closed-source software there's not much I can do to find out why
it doesn't like your camera. You should contact Skype's technical support.
> It seems the camera only works with the yuv format.
That's right.
> The Logitech Quickcam Pro 9000 using the same uvcvideo driver on my main
> PC works, so I shall try it on the laptop later.
The QC Pro 9000 supports both YUV and MJPEG.
> A gspca and a ov51x have both work with skype on this laptop.
Regards,
Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel