Re: [Linux-uvc-devel] The source clock

2007-02-28 Thread Laurent Pinchart
Hi Paul,

> Is there a clock on UVC cameras to get Presentation Time Stamp and Source
> Clock Reference, or these values are created by the driver on the PC? My
> understanding of the UVC specification  supports the internal camera clock
> theory, which would be great for synchronization of 2 (or more) cameras
> (stereo vision). Does Linux UVC driver support time stamps? I couldn't find
> scrSourceClock and dwPresentationTime in header files.

I'm glad you raise the PTS and SCR issue. You are right, those values are 
provided by UVC devices along with video data. However, the spec is not very 
clear on the subject, and I don't know how to map them to V4L2 fields.

I'd be happy to implement PTS and SCR support if someone can think of a good 
way to map them to V4L2.

Best regards,

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


Re: [Linux-uvc-devel] problems with Logitech Quickcam Fusion

2007-02-28 Thread Laurent Pinchart
Hi Jim,

> I have successfully compiled and loaded the uvcvideo module with the
> Logitech Quickcam Fusion, but have not gotten it to work with any
> applications. dmesg gives
>
> usb 2-2: new full speed USB device using uhci_hcd and address 104
> uvcvideo: Found UVC 1.00 device  (046d:08c1)
>
> and xawtv -hwscan shows
>
> /dev/video0: OK [ -device /dev/video0 ]
>  type : v4l2
>  name : USB Video Class device
>  flags:  capture
>
> However when I try to use the camera with xawtv  it gives:
>
> This is xawtv-3.94, running on Linux/i686 (2.6.13.2)
> /dev/video0 [v4l2]: no overlay support
> v4l-conf had some trouble, trying to continue anyway
> Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*"
> to type FontStruct
> ioctl: VIDIOC_G_STD(std=0x81001b80808c888
> [PAL_H,PAL_K,PAL_60,?,?,SECAM_H,(null),(null),(null),(null),(null),(null),(
>null),(null)]): Invalid argument
> ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
>
> and mplayer tv:// -tv driver=v4l2:device=/dev/video0 gives (after other
> messages)
>
> Playing tv://.
> TV detected! ;-)
> No such driver: v4l2
>
> The loaded modules include
>
> uvcvideo   42884  0
> v4l1_compat13956  1 uvcvideo
> videodev7424  1 uvcvideo
> v4l2_common 4864  1 uvcvideo
>
> Any hints would be greatly appreciated.  Thanks!

Xawtv is known not to work with the Linux UVC driver. It doesn't support V4L2 
properly. The latest mplayer version should work, as I sent a patch to fix a 
few small problems. You could also try luvcview and ekiga.

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


Re: [Linux-uvc-devel] Logitech QuickCam Fusion webcam

2007-02-28 Thread Laurent Pinchart
Hi,

> Hello,
>
> Under debian, I would like to use Logitech QuickCam Fusion webcam
>
> I compiled  and installed uvcvideo :
>
>   * svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
>   * make
>   * make install
>
> lsmod | grep -n uvc :
>
> 34:uvcvideo   36676  0
> 46:videodev   21120  1 uvcvideo
> 47:v4l1_compat12036  2 uvcvideo,videodev
> 48:v4l2_common20448  2 uvcvideo,videodev
> 81:usbcore   112676  5
> snd_usb_audio,uvcvideo,snd_usb_lib,uhci_hcd
>
>
> ls /lib/modules/2.6.18-3-686/usb/media/
> -rw-r--r-- 1 root root 44308 2007-02-27 20:27 uvcvideo.ko
>
> I read in the maililng-list that camstream is not supported because
> "UVC driver only support V4L2. So, no camstream."
>
> Indeed, camstream shows an empty blue screen
>
> What can I do next please ?

Port camstream to V4L2 ? :-)

The code base is quite clean, so it shouldn't be too difficult.

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


[Linux-uvc-devel] Logitech QuickCam Fusion webcam

2007-02-28 Thread jgpiccinali
Hello,

Under debian, I would like to use Logitech QuickCam Fusion webcam

I compiled  and installed uvcvideo :

  * svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
  * make
  * make install

lsmod | grep -n uvc :

34:uvcvideo   36676  0
46:videodev   21120  1 uvcvideo
47:v4l1_compat12036  2 uvcvideo,videodev
48:v4l2_common20448  2 uvcvideo,videodev
81:usbcore   112676  5 snd_usb_audio,uvcvideo,snd_usb_lib,uhci_hcd


ls /lib/modules/2.6.18-3-686/usb/media/
-rw-r--r-- 1 root root 44308 2007-02-27 20:27 uvcvideo.ko

I read in the maililng-list that camstream is not supported because  
"UVC driver only support V4L2. So, no camstream."

Indeed, camstream shows an empty blue screen

What can I do next please ?


ps: apology for my written english...

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