[Ekiga-list] V4L2 camera

Damien Sandras dsandras at seconix.com
Wed Sep 27 09:18:37 UTC 2006



Le mercredi 27 septembre 2006 à 00:33 +0100, Paulo J. Matos a écrit :
> On 9/25/06, Damien Sandras <dsandras at 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 for the feedback.

> 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 at ekiga.net
> >                          sip:600000 at ekiga.net
> >
> > _______________________________________________
> > ekiga-list mailing list
> > ekiga-list at gnome.org
> > http://mail.gnome.org/mailman/listinfo/ekiga-list
> >
> 
> 
-- 
 _      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