Date: Mon, 21 Mar 2011 15:36:50 +0100 From: Matthias Apitz <guru@unixarea.de> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations Message-ID: <20110321143512.GA24812@sh4-5.1blu.de> In-Reply-To: <201103211301.36287.hselasky@c2i.net> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, March 21, 2011 a las 01:01:36PM +0100, Hans Petter Selasky escribió: > On Monday 21 March 2011 12:42:15 Hans Petter Selasky wrote: > > On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > > > That's why I think that the man pages of webcamd are not enough, there > > > should be a note about if v4l or v4l2 is awaited from the application; > > > or we need some overall table describing the cams(...) from all webcamd > > > drivers and the application which can be used. > > > > Hi, > > > > I found it! > > > > CONFIG_COMPAT was not defined during build, so the webcam'd V4L2->V4L1 > > layer was never compiled. Can you compile the svn version of webcamd and > > report back? > > Looks like I was too quick about that. Anyway, maybe you could bother to add > some prints in: > > v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c > > Because the V4l1 -> V4L2 translation should already be in place. Yes, it is there already: #ifdef CONFIG_VIDEO_V4L1_COMPAT /******************************************************** All other V4L1 calls are handled by v4l1_compat module. Those calls will be translated into V4L2 calls, and __video_do_ioctl will be called again, with one or more V4L2 ioctls. ********************************************************/ if (_IOC_TYPE(cmd) == 'v' && cmd != VIDIOCGMBUF && _IOC_NR(cmd) < BASE_VIDIOCPRIVATE) { return v4l_compat_translate_ioctl(file, cmd, arg, __video_do_ioctl); } #endif and now I don't understand why the V4L1 'v' cmds of Skype are not working correctly; will add some printf's... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru@unixarea.de> - w http://www.unixarea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110321143512.GA24812>