Hi Ben,

On Wednesday 31 October 2007 15:51, Ben Morris wrote:
> On Tuesday 30 October 2007 22:01:58 you wrote:
> > Hi Ben,
> >
> > On Sunday 28 October 2007, Ben Morris wrote:
> > > I installed linux-uvc, SVN version from a Gentoo ebuild.
> > > There was a post-install note saying to get involved here if a device
> > > doesn't work. I hope I am not spamming the wrong list. :-)
> >
> > This is the right list. Let's see if your post should be considered as
> > spam :-)
> >
> > > I have an HP dv9574 laptop with a built-in webcam. What sort of camera
> > > it actually is is not obvious, but I believe this lsusb entry is it:
> > > Bus 002 Device 004: ID 064e:a101 Suyin Corp.
> > >
> > > Here is dmesg's output on loading the uvcvideo module:
> > > uvcvideo: Found UVC 1.00 device HP Webcam (064e:a101)
> > > usbcore: registered new interface driver uvcvideo
> > > USB Video Class driver (v0.1.0)
> >
> > Looks great so far.
> >
> > > The dev entry is created but does not seem to work:
> > > # cat /dev/video0
> > > cat: /dev/video0: No such device
> >
> > That's perfectly normal. The Linux UVC driver doesn't support read()
> > (yet). Only softwares using the mmap() streaming method will work.
> >
> > > The file does exist, by the way.
> > >
> > > Running xawtv causes the blue LED next to the camera to light briefly,
> > > but does not produce a picture.
> >
> > xawtv has known bugs. Could you please try luvcview ? As your camera
> > doesn't support MJPEG, you should run it with
> >
> > luvcview -f yuv

^^^^^^^^^^^^^^^^^^^^^
*HINT*HINT*HINT*HINT*

> > > I would be glad to assist in any way I can to help add support for this
> > > device. I can't code but I will do any tests you suggest.
> >
> > If luvcview works (and it probably will), Ekiga should work as well. aMsn
> > and mplayer should too if you use recent enough versions.
> >
> > Best regards,
> >
> > Laurent Pinchart
>
> Thanks. I compiled luvcview using the ebuild from
> http://lists.berlios.de/pipermail/linux-uvc-devel/2006-February/000255.html
>
> $ 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

Refer to the above hint :-)

> What parameters would I use with mplayer to test the cam? I have Gentoo's
> mplayer-1.0_rc1_p20070824.

Try something like

mplayer tv:// -tv driver=v4l2:fps=25:width=640:height=480

p20070824 should be recent enough, but if you get error messages such as

v4l2: ioctl dequeue buffer failed: Invalid argument, idx = 0

you should try to upgrade to a later version.

> BTW, I know that the camera is working as I tested it before wiping out the
> Vista install this laptop came with (no refunds from HP). :-(

Best regards,

Laurent Pinchart

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

Reply via email to