Hi Sab,

On Thursday 10 January 2008, RUMI Szabolcs wrote:
> Hello!
>
> I'm blessed with a Logitech QC Fusion (046d:08c1) in my neighborhood...
> I get (the usual?) problems on enumeration:
>
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> ehci_hcd 0000:00:1d.7: remove, state 1
> usb usb1: USB disconnect, address 1
> usb 1-2: USB disconnect, address 2
> ehci_hcd 0000:00:1d.7: USB bus 1 deregistered
> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
> usb 2-2: new full speed USB device using uhci_hcd and address 2
> usb 2-2: configuration #1 chosen from 1 choice
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: deregistering interface driver uvcvideo
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> usbcore: deregistering interface driver uvcvideo
> usb 2-2: USB disconnect, address 2
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> usb 2-2: new full speed USB device using uhci_hcd and address 3
> usb 2-2: configuration #1 chosen from 1 choice
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: deregistering interface driver uvcvideo
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> usbcore: deregistering interface driver uvcvideo
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> usbcore: deregistering interface driver uvcvideo
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
>
> As you can see, after several rmmod/modprobe cycles on uvcvideo sooner
> or later the camera gets detected. Somewhere I've read that this
> problem is restricted to high-speed usb mode so I tried to rmmod ehci-hcd
> but apparently it doesn't work any better in full-speed mode than in
> high-speed mode.
>
> Anyway, after an occasional correct detection of the camera,
> the following behavior can be observed:
>
> - Skype can see /dev/video1 and also provides the USB id
> of the camera in the drop down box. After starting camera test,
> it takes some seconds for the camera to turn on (it's blue led
> comes on) but no picture comes through and CPU usage jumps to
> 100% permanently while there is no video at all as long as I
> do not stop the camera test.
>
> - Camorama simply says it cannot open /dev/video1 and that's it.

That's pretty normal, as camorama supports v4l1 only.

> - luvcview works seamlessly, as many times I want! Even after the
> above applications have failed to open the camera, luvcview always
> works even afterwards, both with ehci-hcd enabled and without!
>
> Does luvcview use some hack/fix/kludge that makes it work?

Not that I know of.

> What makes this difference that it works while other apps don't?

Skype might be buggy ;-) I know that Skype tries to change the frame rate 
while streaming. The driver currently allows that but doesn't handle the 
request properly. It might make the webcam crash.

I plan to fix it, probably by disallowing frame rate changes while streaming.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to