Re: [Ekiga-list] Ekiga && V4L && FreeBSD



El día Wednesday, March 19, 2008 a las 11:29:25AM +0100, Damien Sandras escribió:

> > /dev/video0, Ekiga detects this as:
> > 
> > 2008/03/19 10:37:38.369   0:29.044      ekiga PVideoInputDevice_V4L:   GetFrameSizeLimits. 160x120 -- 640x480
> > 2008/03/19 10:37:38.528   0:29.203      ekiga PVideoInputDevice_V4L:   GetFrameSizeLimits. 160x120 -- 640x480
> > 2008/03/19 10:37:38.543   0:29.218      GMVideoGrabber:08580000 VideoGrabber  cannot do memory mapping - GMBUF failed.
> > 
> > and all is working fine in a video conference; but when I restart ekiga
> > it looses the device and I have to re-insert it with gconf-editor;
> > 
> > any hints about this?
> 
> Probably a bug in the driver. Why doesn't it detect the device ?
> It works fine on linux...

What is on Linux the major and minor number of the device file for the
cam? on FreeBSD it is:

$ ls -l /dev/video0
crw-rw-rw-  1 root  operator    0, 146 19 mar 09:02 /dev/video0

it seems that the algorithm in vidinput_v4l.cxx depends on minor
numbers below 63 in void  V4LNames::ReadDeviceDirectory()

see also the CVS comment:

 * Revision 1.3  2003/11/25 22:55:13  dsandras
 * Added fallback using major and minor numbers for detection of devices
 * when /proc/video doesn't exist
 (some 2.4 kernels and all 2.6 kernels).

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias apitz oclc org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html


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