From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 18:15:48 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 8DA9B106566B for ; Tue, 3 Jan 2012 18:15:48 +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 4AEB18FC16 for ; Tue, 3 Jan 2012 18:15:48 +0000 (UTC) Received: from [93.104.70.38] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ri8tm-0005MV-BW; Tue, 03 Jan 2012 19:15:46 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q03IFi7a003161; Tue, 3 Jan 2012 19:15:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q03IFhSK003160; Tue, 3 Jan 2012 19:15:43 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 3 Jan 2012 19:15:38 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120103181538.GA3129@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <20120103065140.GA7385@tinyCurrent> <201201030913.49508.hselasky@c2i.net> <201201030924.08045.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: <201201030924.08045.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.70.38 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, 03 Jan 2012 18:15:48 -0000 El día Tuesday, January 03, 2012 a las 09:24:08AM +0100, Hans Petter Selasky escribió: > Hi, > > > (u32)(long)arg, when passing to IOCTL functions. > > I meant printing the "cmd" value. "arg" value can be negative if a pointer is > passed along. > > Try to figure out which ioctl is failing. Maybe run webcamd from gdb and add > some code you can break-point on, then single step. Hi, The failing ioctls are (only 2 are sent down from Skype): Creating /dev/video0 mydebug: v4b_open fflags: 00000003 mydebug: linux_open: handle=28c08600 mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_ioctl: handle=28c08600 cmd=0x403c7601 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_close: handle=28c08600 (cmd is printed as 'cmd=0x%08x') what maybe wrong with the cmd's? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 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