Hi Richard,

On Wednesday 10 December 2008, rgheck wrote:
> Laurent Pinchart wrote:
> > On Monday 08 December 2008, Richard heck wrote:
> >> Laurent Pinchart wrote:
> >>> On Monday 01 December 2008, Richard Heck wrote:
> >>>> Google shows various reports of this kind of problem, but I've not
> >>>> been able to figure out whether it's been solved somewhere. So I
> >>>> thought I'd ask here.
> >>>>
> >>>> I have an HP webcam that worked perfectly in Fedora 8 and under Ubuntu
> >>>> 8.04, this being with a 2.6.26 kernel, at least in the former case. On
> >>>> installing F10, however, onto my daughter's new machine it has
> >>>> completely stopped working---this being with a 2.6.27 kernel. I see
> >>>> similar problems in cheese, skype, kopete, and even uvccapture. When a
> >>>> program tries to access the cam, I get errors like:
> >>>>
> >>>> uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
> >
> > I'm a bit puzzled by the fact that the camera worked on 2.6.26. Can you
> > check that it still does ? Chances it died in the meantime are small but
> > I don't want to find a solution on the host side if the camera passed
> > away for some reason.
>
> I have exactly the same camera on my computer, running fc8. I'm
> attaching the lsusb output from this system, in case there is some
> subtle difference.

FC8 ships with an older version of usbutils (<0.72) so the lsusb output is 
pretty much unusable for UVC devices.

> [EMAIL PROTECTED] kittens]$ cheese
> creating new directory: /home/rgheck/.gnome2/cheese/images/
> creating new directory: /home/rgheck/.gnome2/cheese/videos/
> ** Message: Probing the webcam, please ignore the following, not
> applicabable tries
> using photo source: v4l2src
> using video source: v4l2src
> Photo saved: /home/rgheck/.gnome2/cheese/images/Picture01.jpg (640x480)
> ** Message: new file found:
> /home/rgheck/.gnome2/cheese/images/Picture01.jpg
>
> creating thumbnail for /home/rgheck/.gnome2/cheese/images/Picture01.jpg
> (image/jpeg)
> appending /home/rgheck/.gnome2/cheese/images/Picture01.jpg to thumbnail row
> [EMAIL PROTECTED] kittens]$ cd
> [EMAIL PROTECTED] ~]$ uname -r
> 2.6.26.5-28.fc8
> [EMAIL PROTECTED] ~]$
>
> >> Program output is below, first what I see on the command line then what
> >> was in the kernel logs. But first what I get on boot.
> >>
> >> Dec  7 16:38:08 localhost kernel: uvcvideo: Found UVC 1.00 device HP
> >> Prem AF Webcam KQ245AA (04f2:a13d)
> >> Dec  7 16:38:08 localhost kernel: usbcore: registered new interface
> >> driver uvcvideo
> >>
> >> ====
> >>
> >> [EMAIL PROTECTED] uvccapture-0.5]$ ./uvccapture
> >> Unable to set format: 5.
> >> Init v4L2 failed !! exit fatal
> >>
> >> Dec  7 17:32:19 localhost kernel: uvcvideo: Failed to query (1) UVC
> >> control 1 (unit 0) : -110 (exp. 26).
> >
> > Does settings the quirks parameter to 4 before plugging the webcam (or
> > when loading the driver) help ?
>
> Sorry, how do I do this? (I do some user-level programming at LyX, but
> I'm a novice when it comes to kernel stuff.) The driver is loaded
> automatically when the camera is hotplugged. Do I need to put something
> in modprobe.conf?

Adding

options uvcvideo quirks=4

should do. Make sure you reboot after making the change. To make sure it has 
been taken into account, check the kernel log for "Forcing device quirks 0x4 
by module parameter for testing purpose.".

> >> [EMAIL PROTECTED] uvccapture-0.5]$ cheese
> >> ** Message: Error: Stream contains no data.
> >> gsttypefindelement.c(785): gst_type_find_element_activate ():
> >> /GstPlayBin:play/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
> >> Can't typefind empty stream
> >>
> >>
> >> ** (cheese:4026): WARNING **: could not generate thumbnail for
> >> /home/lebosi/Webcam/2008-11-29-161112.ogv (video/ogg)
> >>
> >> Dec  7 17:32:52 localhost kernel: uvcvideo: Failed to query (135) UVC
> >> control 2(unit 3) : -110 (exp. 2).
> >
> > If you have run cheese after uvccapture that message could be a
> > consequence of the camera having crashed when used with uvccapture.
> >
> > Could you try to run cheese as the first video application after boot and
> > see if it prints the same or another message ?
>
> Same error.

Best regards,

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

Reply via email to