From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 6 11:57:55 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 11B331065674 for ; Tue, 6 Mar 2012 11:57:55 +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 9BD908FC1F for ; Tue, 6 Mar 2012 11:57:54 +0000 (UTC) Received: from [89.204.139.240] (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 1S4t1c-0007hS-P9; Tue, 06 Mar 2012 12:57:53 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q26Bvn8T001848; Tue, 6 Mar 2012 12:57:49 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q26Bvljr001847; Tue, 6 Mar 2012 12:57:47 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 6 Mar 2012 12:57:47 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120306115747.GA1796@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201051900.01903.hselasky@c2i.net> <20120106134811.GA6168@tinyCurrent> <201201061647.46539.hselasky@c2i.net> <20120106160400.GA87768@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120106160400.GA87768@tinyCurrent> 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.240 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: Tue, 06 Mar 2012 11:57:55 -0000 El día Friday, January 06, 2012 a las 05:04:00PM +0100, Matthias Apitz escribió: > El día Friday, January 06, 2012 a las 04:47:46PM +0100, Hans Petter Selasky escribió: > > > > #define VIDIOC_RESERVED _IO('V', 1) > > > #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc) > > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > > > #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format) > > > #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers) > > > ... > > > > > > they are all there with capital 'V' while we have 'v' (0x76) im the cmd; > > > this can not work; somewhere the conversion from V4L to V4L2 is missed; > > > where this should be done, please point me to the source file to check > > > and set a breakpoint there; thanks > > > > > > > Hi, > > > > Could you try with the latest 3.2 port of webcamd which I posted? > > Hi, > > All tests and gdb traces of today are based on 3.2 port; see > > # gdb work/webcamd-3.2.0.1/webcamd > ... > (gdb) br v4b_ioctl > Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265. > (gdb) r > Starting program: > /usr/ports/multimedia/webcamd/work/webcamd-3.2.0.1/webcamd > > > BTW: I'm busy all weekend. Will reply on Monday. > > OK, I'm in no hurry with this; the built-in webcam in this laptop is not > working for more than one year and can wait even a bit more :-) 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? 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