From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 8 11:21:59 2012 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 11F16106566B for ; Thu, 8 Mar 2012 11:21:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id BFAE88FC08 for ; Thu, 8 Mar 2012 11:21:58 +0000 (UTC) Received: from [89.204.139.142] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1S5bPr-00057t-Bg; Thu, 08 Mar 2012 12:21:51 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q28BLlXM001632; Thu, 8 Mar 2012 12:21:47 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q28BLjHN001631; Thu, 8 Mar 2012 12:21:45 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Mar 2012 12:21:45 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120308112144.GA1540@tiny> References: <20120101164408.GA2389@tinyCurrent> <20120106160400.GA87768@tinyCurrent> <20120306115747.GA1796@tiny> <201203080744.55805.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: <201203080744.55805.hselasky@c2i.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.142 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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: Thu, 08 Mar 2012 11:21:59 -0000 El día Thursday, March 08, 2012 a las 07:44:55AM +0100, Hans Petter Selasky escribió: > > Hello Hans, > > > > Can we please return to this thread? > > > > The problem was/is that the Linux binary skype-2.0.0.72,1 is sending > > V4L1 ioctl's, the cam only understands V4l2 ioctl's and webcamd(8) does > > not translate them to V4l2; you wanted to check why? > > Hi, > > Webcamd compiles the Linux code which translates V4L1 IOCTL into V4L2 IOCTL's > maybe the IOCTL's are not numerically right? > > media_tree/drivers/media/video/v4l2-compat-ioctl32.c > > Add some breakpoints in that file and run webcamd from GDB. Hi, I haven't used GDB, but only a look into tha above source; it says "conversion between 32bit and 64bit native ioctls" and in the defines I only see for example _IOWR('V', 4,...) i.e. with capital 'V' while v4l1 is 'v' small v (0x76..); I don't see how this could translate v4l1 into v4l2 ioctls; am I missing some point here? Thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5