Re: [linux-uvc-devel] uvcvideo: Failed to query (129)
Linux UVC driver and tools
Brought to you by:
pinchartl
From: Bernard D. <ber...@fr...> - 2015-09-13 07:01:42
|
Hi, I did not get any response. Is my case hopeless? Thanks Best regards Bernard Dano. ----- Mail original ----- De: "Bernard Dano" <ber...@fr...> À: lin...@li... Envoyé: Dimanche 1 Mars 2015 16:12:11 Objet: uvcvideo: Failed to query (129) Hi, I've got a problem with my webcam. It used to work and does not anymore. I cannot say if it has worked with my present ubuntu or only before my last upgrade. I cannot say if my webcam is dead or if it's a linux issue. Bus as far as some commands seems to recognize the webcam, I suspect (and hope) it works... I've found uvcvideo FAQ with the same subject, but no solution. I have: [ 8615.467941] Linux video capture interface: v2.00 [ 8615.481217] uvcvideo: Found UVC 1.00 device HP Webcam-101 (0408:0f41) [ 8615.481222] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose. [ 8615.481223] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list. [ 8615.482002] uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26). [ 8615.482009] uvcvideo: Failed to initialize the device (-5). [ 8615.482077] usbcore: registered new interface driver uvcvideo [ 8615.482080] USB Video Class driver (1.1.1) (Note I have a failure also when emptying /etc/modprobe.d/uvcvideo.conf) I'm presently working with Ubuntu 14.04 LTS Pentium(R) Dual-Core CPU T4300 @ 2.10GHz × 2, 64 bits. My device is a UVC device (http://www.ideasonboard.org/uvc/faq/#faq1): ~ $ lsusb -d 0408:0f41 -v | grep "14 Video" bFunctionClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video ~ $ lsusb Bus 006 Device 002: ID 0408:0f41 Quanta Computer, Inc. According to usb-devices it is HP Webcam-101 (by Quanta Computer, Inc) P: Vendor=0408 ProdID=0f41 Rev=01.03 S: Manufacturer=SN001 S: Product=HP Webcam-101 However, the vendor / product IDs don't match supported devices http://www.ideasonboard.org/uvc/ where I can find: 058f:a001 HP Webcam-101 (HP Pavilion g6 notebooks) Alcor Micro but as I don't have a HP Pavillon g6 notebooks, but a Compaq, maybe the IDs are different (strange)? Following http://www.ideasonboard.org/uvc/faq/#faq2 I've done: 1. OK (UVC device) 2. Enable all uvcvideo module traces ~ $ sudo chmod a+w /sys/module/uvcvideo/parameters/trace (otherwise I cannot change it) ~ $ sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace ~ $ cat /sys/module/uvcvideo/parameters/trace 65535 ~ $ dmesg > ~/dmesg.log 3. Reproduce the problem ~ $ gstreamer-properties (gstreamer-properties:7730): Gtk-WARNING **: Unknown property: GtkDialog.has-separator gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink' gstreamer-properties-Message: Skipping unavailable plugin 'esdsink' gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosink' gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink' gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink' gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc' gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc' gstreamer-properties-Message: Skipping unavailable plugin 'v4lsrc' gstreamer-properties-Message: Skipping unavailable plugin 'esdmon' gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosrc' gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Impossible d'identifier le périphérique « /dev/video0 ». [v4l2_calls.c(497): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src1: system error: Aucun fichier ou dossier de ce type] ~ $ dmesg > ~/dmesg.log ### no change in dmesg, the driver does not print any debugging messages to the kernel log. Note before this trial I've had many changes in dmesg during many trials: ~ $ sudo modprobe -r uvcvideo ~ $ sudo modprobe uvcvideo 3. Reproduce the problem To have traces in uvcvideo I've done ~ $ sudo modprobe -r uvcvideo ~ $ sudo modprobe uvcvideo trace=0xFFFF 4. Capture the contents of the kernel log: I add additional traces (attached file) ~ $ dmesg > ~/dmesg.log 5. If your device is not listed in the supported devices list, dump its USB descriptors (please see also earlier in my email about supported devices) ~ $ lsusb -d 0408:0f41 -v > lsusb.log I also join ~ $ modinfo uvcvideo > mod_uvcvideo.log Thanks in advance. Best regards, Bernard Dano. |