Hi Eugeny,

> I'm trying to get a QC Sphere running on Debian Etch and have no result.
>
> Microsoft Windows XP says that this is an "Logitech QuickCam PTZ".
> Box labeled as "Logitech QuickCam Sphere".
>
> Today I have compiled uvcvideo from SVN, and load it:
> Oct 17 22:18:48 nemos kernel: uvcvideo: Found UVC 1.00 device <unnamed>
> (046d:08c2)
> Oct 17 22:18:48 nemos kernel: usbcore: registered new driver uvcvideo

So the webcam should be supported. That's good news :-)

> Seems good, and xawtv found it:
> /dev/video0: OK                         [ -device /dev/video0 ]
>     type : v4l2
>     name : USB Video Class device
>     flags:  capture
>
> But no one capture it.
>
> Mplayer:
>
> $ mplayer tv:// -tv driver=v4l2
> [some output skipped]
> Playing tv://.
> Selected driver: v4l2
>  name: Video 4 Linux 2 input
>  author: Martin Olschewski <[EMAIL PROTECTED]>
>  comment: first try, more to come ;-)
> v4l2: ioctl get standard failed: Invalid argument
> v4l2: ioctl set mute failed: Invalid argument
> v4l2: 0 frames successfully processed, 0 frames dropped.
> Exiting... (End of file)

mplayer is known to have problems with webcams. It assumes that all video 
devices implement some optional functions which make no sense for webcams.

> mplayer's strace say:
> open("/dev/video0", O_RDWR|O_LARGEFILE) = 4
> ioctl(4, VIDIOC_QUERYCAP or VT_OPENQRY, 0x84efad4) = 0
> ioctl(4, VIDIOC_G_FMT or VT_SENDSIG, 0x84efb88) = 0
> ioctl(4, VIDIOC_G_STD, 0xafb0d248)      = -1 EINVAL (Invalid argument)
> write(2, "v4l2: ioctl get standard failed:"..., 50v4l2: ioctl get standard
> failed: Invalid argument) = 46
>
> v4lctl:
>
> $ v4lctl list
> ioctl:
> VIDIOC_QUERYCTRL(id=134217730;type=unknown;name="";minimum=0;maximum=0;step
>=0;default_value=0;flags=0): Input/output error
> ioctl:
> VIDIOC_QUERYCTRL(id=134217735;type=unknown;name="";minimum=0;maximum=0;step
>=0;default_value=0;flags=0): Input/output error
> ioctl: VIDIOC_G_STD(std=0xa7d02880a7c333f6
> [PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,NTSC_M,NTSC_M_JP,SECAM_B
>,SECAM_D,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),
>(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
> Invalid argument
> ioctl: VIDIOC_G_CTRL(id=9963792;value=39): Input/output error
> ioctl: VIDIOC_G_CTRL(id=134217736;value=2): Input/output error
> config: invalid value for input: Television
> valid choices for "input": "Camera"
> config: invalid value for norm: norm
> valid choices for "norm":
> attribute  | type   | current | default | comment
> -----------+--------+---------+---------+----------------------------------
>--- norm       | choice | (null)  | (null)  |
> input      | choice | Camera  | Camera  | Camera
> bright     | int    |     127 |     127 | range is 0 => 255
> contrast   | int    |      32 |      32 | range is 0 => 255
> color      | int    |      39 |      39 | range is 0 => 255
> Gamma      | int    |      39 |     220 | range is 100 => 220
> Gain       | int    |      16 |       0 | range is 0 => 255
> Backlight  | int    |       1 |       1 | range is 0 => 2
> Power Line | choice | 60 Hz   | 60 Hz   | Disabled 50 Hz 60 Hz
> Pan/Tilt ( | int    |       2 |       0 | range is 0 => 3
> Exposure,  | int    |       8 |       8 | range is 0 => 0
> Exposure ( | int    |    2527 |     166 | range is 1 => 10000
> White Bala | bool   | on      | on      |
> White Bala | int    |    4000 |    4000 | range is 2800 => 6500
>
>
> Ekiga just give me "Your video driver doesn't support the requested video
> format" message.
>
>
> ...and while I tried kernel says:
>
> Oct 17 22:24:14 nemos kernel: uvcvideo: Failed to query (132) UVC control 8
> (unit 2) : -32.
> Oct 17 22:24:14 nemos kernel: uvcvideo: Failed to query (135) UVC control 1
> (unit 9) : 1.
> Oct 17 22:24:14 nemos kernel: uvcvideo: Failed to query (129) UVC control 9
> (unit 2) : -32.
> Oct 17 22:24:14 nemos kernel: uvcvideo: Failed to query (129) UVC control 2
> (unit 9) : -32.

That's a known issue. To make it short, the Logitech webcams have a hardware 
bug which is only triggered by Linux. We're trying to find a workaround.

> Some tech info:
> nemos:~# uname -a
> Linux nemos 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 GNU/Linux
> nemos:~# lsmod | grep usb
> usb_storage            70560  0
> scsi_mod              123080  2 sd_mod,usb_storage
> usbkbd                  6784  0
> usbcore               111616  6
> uvcvideo,usb_storage,usbkbd,uhci_hcd,ehci_hcd ide_core              111016 
> 5 usb_storage,ide_cd,ide_disk,piix,generic
>
> Any ideas how to capture video from this?

Try luvcview and/or uvccapture and see if the webcam works with them. Ekiga is 
also known to work if you want a videoconferencing application. As for 
mplayer, try to bother the developers until they fix it :-)

Cheers,

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

Reply via email to