[Ekiga-list] V4L2 camera

Damien Sandras dsandras at seconix.com
Mon Sep 25 15:17:55 UTC 2006


Hi,

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

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 at ekiga.net
                         sip:600000 at ekiga.net




More information about the ekiga-list mailing list