From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 14:36:52 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488D11065673 for ; Mon, 21 Mar 2011 14:36:52 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 112988FC1A for ; Mon, 21 Mar 2011 14:36:51 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Q1gDy-0007rV-Ee; Mon, 21 Mar 2011 15:36:50 +0100 Date: Mon, 21 Mar 2011 15:36:50 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110321143512.GA24812@sh4-5.1blu.de> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103211301.36287.hselasky@c2i.net> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 14:36:52 -0000 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 - w http://www.unixarea.de/