Re: [Ekiga-list] V4L2 camera



On 9/25/06, Damien Sandras <dsandras seconix com> wrote:
Hi,

do you have any interesting output when running strace or ekiga -d 4?


Solved the problem. Thanks Damien, it seems the version of the driver
I was using didn't support v4l2.

Thanks once again,

Paulo Matos

Le lundi 25 septembre 2006 à 02:37 +0100, Paulo J. Matos a écrit :
> Hi all,
>
> I'm using  camera with spca5xx driver, Logitech for Notebooks Deluxe,
> with kernel 2.6.17.6. When I run the configuration druid it is
> detected at /dev/v4l/video0 but the the Test Settings return:
> Failed to open device:
> Error while opening /dev/v4l/video0
>
> Any ideas what might be the problem?
>
> I can run this without problems:
> #include <stdio.h>
> #include <stdlib.h>
> #include <sys/file.h>
>
> int main(void) {
>
>   int fd = -1;
>
>   //v4l init
>   if ((fd = open ("/dev/v4l/video0", O_RDWR)) == -1) {
>     perror ("ERROR opening V4L interface \n");
>     exit (1);
>   }
>
>   printf("Opened OK!\n");
>
>   close(fd);
>
>   printf("Closing!\n");
>
>   return 0;
>
> }
>
> $ ./v4l-open
> Opened OK!
> Closing!
>
--
 _      Damien Sandras
(o-
//\     Ekiga Softphone: http://www.ekiga.org/
v_/_    FOSDEM 2006    : http://www.fosdem.org/
        SIP Phone      : sip:dsandras ekiga net
                         sip:600000 ekiga net

_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list



--
Paulo Jorge Matos - pocm at soton.ac.uk
University of Southampton, UK



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]