Re: [Ekiga-list] V4L2 camera



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




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