Hi Richard, 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. > > Could you please post all messages printed by the uvcvideo driver to the > > kernel log, as well as the 'lsusb -v' output for your camera ? > > The output from lsusb is attached. Thanks. > 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 ? If you manually set the parameter when loading the driver, make sure the driver is not already loaded (modprobe silently fails to reload an loaded module). > ==== > > [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 ? Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
